Fabrice Toussaint
04/23/2021, 11:45 AMZanie
Zanie
Fabrice Toussaint
04/23/2021, 2:51 PMZanie
Zanie
Fabrice Toussaint
04/28/2021, 8:11 AMZanie
- idempotency_key (str, optional): a unique idempotency key for scheduling the
flow run. Duplicate flow runs with the same idempotency key will only create
a single flow run. This is useful for ensuring that only one run is created
if this task is retried. If not provided, defaults to the active `task_run_id`.
Zanie
Fabrice Toussaint
04/28/2021, 2:01 PMwith Flow as flow:
StartFlowRun().run(flow_name='flowname', project_name='projcctname',
parameters={})
StartFlowRun().run(flow_name='flowname', project_name='projcctname',
parameters={})
with this schedule
schedule = Schedule(clocks=[clocks.CronClock('0 */2 * * *')])
Zanie
.run()
directlyZanie
start_my_flow = StartFlowRun(flow_name='flowname', project_name='project')
with Flow(...) as flow:
start_my_flow(parameters={...})
Fabrice Toussaint
04/28/2021, 2:05 PMFabrice Toussaint
04/28/2021, 2:05 PM.run()
Fabrice Toussaint
04/28/2021, 2:11 PM.run()
or should it automatically execute the flow with your example?Zanie
run
method.Zanie
Zanie
run
method is executed at flow runtimeZanie
Fabrice Toussaint
04/28/2021, 2:15 PMZanie