12 lines
575 B
Python
12 lines
575 B
Python
# This does not work:
|
|
# Tried to build a partitioned schedule from an asset job, but received an invalid partitions definition. The permitted partitions definitions are:
|
|
# 1. TimeWindowPartitionsDefinition
|
|
# 2. MultiPartitionsDefinition with a single TimeWindowPartitionsDefinition dimension
|
|
# 3. StaticPartitionsDefinition
|
|
# Instead, use a sensor to trigger materialization on a schedule
|
|
# raw_weather_schedule = dg.build_schedule_from_partitioned_job(
|
|
# job=raw_weather_job,
|
|
# # cron_schedule="0 * * * *",
|
|
# default_status=dg.DefaultScheduleStatus.RUNNING,
|
|
# )
|