towards batch download
This commit is contained in:
11
apps/weather/src/schedules.py
Normal file
11
apps/weather/src/schedules.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# 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,
|
||||
# )
|
||||
Reference in New Issue
Block a user