Jacob Marcil
03/23/2023, 9:30 PMasset_partition_key_range
we end up with PartitionKeyRange(start='2020-12-18|Something_Static', end='2023-03-22|Something_else_static')
Since it’s a list of static elements, there’s no way to all the static
elements of that run right?
Precision I’m trying to run multiple partitions in a Single Run
claire
03/23/2023, 11:12 PMkey.keys_by_dimension[static_dimension_name] for key in context.asset_partition_keys_for_output
to get just the static partition keysJacob Marcil
03/24/2023, 1:49 PMSingle Run
with multiple partitions.
Do you have any docs you can send me or a draft version of code.
Like do I need to use the Ouput
object and specify which dict is linked to which partition?claire
03/24/2023, 4:09 PM@asset(partitions_def=...)
def my_asset():
return 1
and you select a range of partitions to execute on, dagster will automatically yield a materialization per partition for the same output