https://prefect.io logo
a

Alvis Tang

02/04/2021, 7:34 PM
I just a maybe silly question. How can I run a flow with
run_agent
with parameters?
z

Zanie

02/04/2021, 8:16 PM
Hi!
run_agent
just spins up an agent that matches your flow's labels. You'd set the parameters for your flow in the UI (or via a StartFlowRun mutation) when you run it.
a

Alvis Tang

02/04/2021, 8:18 PM
oh right~
Does it also implies I can't trigger a flow run via something like Github Actions?
z

Zanie

02/04/2021, 9:58 PM
You can, the StartFlowRun mutation allows you to pass parameters.