Alec Koumjian
02/21/2023, 4:10 PMrun_config
. Those parameters would include things like the user account the job is for and basic inputs.
I'd like to store the result of those jobs in files in cloud bucket storage (same as we do with our assets). I'm wondering if the jobs themselves should be yielding AssetMaterializations with dynamic asset keys, or if we should not use assets and handle the I/O directly.
It would also be nice to use the input parameters such as requesting user account id against concurrency limits. I think this can be done by adding tags at runtime, does that sound right?AssetKey
when using the @asset
/ Output
constructs or would this have to be done with an @op
and an explicit AssetMaterialization
?claire
02/22/2023, 10:49 PM@op
and yielding an AssetMaterialization
object. @asset
objects are meant to deterministically output a materialization for the given asset, so using the `@op`/`AssetMaterialization` approach is likely much more straightforward.
If you wanted to dynamically specify an asset key to materialize with an @asset
, you'd have to dynamically generate an @asset
and provide a name for the asset upon job run.Alec Koumjian
02/23/2023, 5:13 PMrun_id
which I believe is somehow default behavior with `@op`s?claire
02/23/2023, 5:32 PM