Daniel Mosesson
12/05/2022, 6:57 PMop
to the io_manager
? What if it needs to be dynamic, e.g. if the op knows what the name of the output should be (setting metadata on the Output
does not seem to work)
• What is the best way to have an io_manager
that only really works for assets? (thanks to @owen for the idea of the custom decorator)
• What are all of the possible sources of the "name" of the thing:
◦ context.asset_key
?
◦ context.step_key
?
◦ various names
?
• detecting partition type (currently I use instanceof(context.asset_partitions_def
a bunch, maybe there is a better way)
• better understanding how context.asset_partitions_time_window
• How does all of this work in the context of:
◦ Backfills
◦ @multiasset
◦ SourceAsset
◦ DynamicOutput
• Other things to be aware of that may contain sharp edges for those who are writing io_manager
s
Currently what I do is look at the dagster
test suite, which is pretty awesome, but sometimes doesn't give the comprehensive overview that I sometimes lack. Does something like this already exist/can it?chris
12/09/2022, 6:40 PMjamie
12/09/2022, 7:03 PM