https://dagster.io/ logo
#ask-community
Title
# ask-community
d

Deividas Jodogalvis

06/26/2023, 4:41 PM
Hi, I am struggling to understand how do I pass
run_config
for
build_schedule_from_partitioned_job
?
🤖 1
my partition definition for the asset and schedule:
Copy code
MultiPartitionsDefinition(
    {
        "date": DailyPartitionsDefinition(
            start_date="2023-06-25", timezone="UTC", fmt="%Y-%m-%d"
        ),
        "type": StaticPartitionsDefinition(["a", "b", "c"]),
    }
)
s

sean

06/26/2023, 5:12 PM
Hi Deividas, a run config can’t be associated with a schedule, but to be either associated with the job as a whole or provided on a per-run basis. The recommended way to provide a per-run run config to the runs launched by a schedule on a partitioned job is to create the job using a
PartitionedConfig
object. See here: https://docs.dagster.io/concepts/partitions-schedules-sensors/partitions#date-partitioned-job
d

Deividas Jodogalvis

06/26/2023, 6:38 PM
Thanks, got my way around with
PartitionedConfig
😅
5 Views