Nathan Gould
09/17/2022, 8:04 PMStephen Bailey
09/19/2022, 10:58 AMnon_argument_deps
to pass in lineage information, or you can simply save dicts to s3 (or something) and pass in like below.
@asset
def my_dowstream_asset(context, last_run_info: dict):
previous_run_at = last_run_info['created_at']
....
i haven't implemented any custom io managers currently, but we are moving towards a heavily assetified world, because the benefits of having that lineage map are high, as are using asset selection for job.
I bring this up because of your comment on I need to preserve historical observations rather than overwrite them
. If you thought of your asset output as a table of metadata about previous runs, perhaps you could keep a running state and load/unload that efficiently.Nathan Gould
09/19/2022, 3:32 PM