Александр Назаренко
04/01/2023, 3:36 PMfrom dagster import asset, op, job, get_dagster_logger
from datetime import datetime
@asset
def date():
return str(datetime.now())
@op
def print_asset(date):
get_dagster_logger().info(f'{date}')
@job
def job_test_asset():
print_asset(date.to_source_asset())
3 materialized the asset through the web interface
4 I tried to output the contents in the logs, to which I received an error, the file was not found
5 I started these processes again, climbed inside the container via docker exec bash, looked at the file system and saw that the result of materialization was saved in the local container
I read a little about io_manager and didn't really understand how to configure saving and reading data
Thanks!