Hey guys, I am in the process of migrating from a ...
# ask-community
c
Hey guys, I am in the process of migrating from a dailypartitionedconfig to a dynamicpartitionedconfig to avoid launching backfills for weekends and I'm a little confused by how to use them to partition assets - I have used the dynamic_partitioned_config decorator to create the PartitionedConfig, but I'm unsure how to get from there to the PartitionsDefinition required to supply partitions_def to the asset/job constructors - passing the PartitionedConfig directly to the create_asset_job function gives me the error "can't supply a configmapping or partitionedconfig for 'config' when partitions_def is supplied" even if partitions_def is empty
A clearer explanation of how to access the partition for graph-backed assets that are also partitioned would be helpful in the docs - I don't see any examples using the context.partition_key option for ex.