Eric Larson
06/16/2022, 5:36 PMbuild_assets_job
vs define_assets_job
?sandy
06/16/2022, 6:00 PMdefine_asset_job
. build_assets_job
is an earlier API that we still use internally.sandy
06/16/2022, 6:00 PMEric Larson
06/16/2022, 6:05 PMunresolvedAssetDefinition
and in this post from yesterday it was mentioned build_asset_definition
would give you resolved asset def https://dagster.slack.com/archives/C01U954MEER/p1655352716872389?thread_ts=1655238813.234129&cid=C01U954MEEREric Larson
06/16/2022, 6:07 PMAttributeError: 'UnresolvedAssetJobDefinition' object has no attribute 'run_request_for_partition'
What is best way to yield run request for static partitions in a schedule?sandy
06/16/2022, 6:37 PMdefine_asset_job
has a run_request_for_partition
method.
In the mean time, the following should work as a workaround:
return RunRequest(run_key=..., tags={"dagster/partition": <your partition key>, "dagster/partition_set": "<your job name>_partition_set"})
Eric Larson
06/16/2022, 7:31 PM