Lee Briggs
03/25/2022, 9:27 PMKevin Kho
03/25/2022, 11:19 PMClient().create_flow_run()
or you can even use the GraphQL API with native requests
As long as you register already, then you don’t need to send flow and task code. Does that make sense?Lee Briggs
03/26/2022, 4:16 PMKevin Kho
03/26/2022, 4:30 PMtask.run()
. For example:
@task
def abc():
return 1
abc.run()
This calls the Python under the hood. So I suggest you use the create_flow_run
built-in task because the inputs are project name and flow name and it finds the id for you to triggercreate_flow_run.run(project_name=…,flow_name=…)
Lee Briggs
03/26/2022, 4:47 PMKevin Kho
03/26/2022, 5:56 PM