Ben Welsh
01/26/2022, 12:17 PMAnna Geller
01/26/2022, 12:25 PMBen Welsh
01/26/2022, 1:07 PMextract_flow_from_file
but I'm struggling to figure out how I might override a default parameter before calling it with .run()
. Is there a way to do that?Anna Geller
01/26/2022, 1:18 PMcreate_flow_run
task (or mutation) allow you to pass your custom parameter valuesBen Welsh
01/26/2022, 1:24 PMflow = extract_flow_from_file("flow.py")
assert len(flow.tasks) == 4
flow.validate()
create_flow_run(
flow_id=flow.id,
flow_name=flow.name,
parameters={
"scrapers": ["ia"],
}
)
Anna Geller
01/26/2022, 1:42 PM