Josh Lloyd
07/15/2021, 9:08 PMdagster.core.errors.DagsterInvalidInvocationError: Schedule decorated function has context argument, but no context argument was provided when invoking.
Here’s the code. I know that validate_run_config
is currently experimental. So maybe this is just a bug that needs some work.
@schedule(
pipeline_name="collective_pipeline",
cron_schedule="0 7 * * *",
execution_timezone="UTC",
mode='prod'
)
def coll_daily_schedule():
return {}
def test_coll_daily_schedule():
run_config = coll_daily_schedule()
assert validate_run_config(collective_pipeline, run_config)
alex
07/15/2021, 9:10 PMJosh Lloyd
07/15/2021, 9:10 PMchris
07/15/2021, 9:12 PMalex
07/15/2021, 9:14 PMJosh Lloyd
07/15/2021, 9:15 PMalex
07/15/2021, 9:15 PMJosh Lloyd
07/15/2021, 9:16 PMchris
07/15/2021, 9:17 PMJosh Lloyd
07/15/2021, 9:19 PM