Maxime Lavoie
03/31/2020, 5:54 PMwith Flow("My Flow") as flow:
my_param = Parameter("my_param", default='a default value')
...
flow.run()
# flow.run(parameters={"my_param": "overwritten value"})
When I run this, I get
raise ValueError(
ValueError: Flow.run received the following unexpected parameters: my_param
What am I missing?Kyle Moon-Wright
03/31/2020, 6:16 PMflow.add_task()
or the flow.set_dependencies(task=task_name)
method. More information can be found here:
https://docs.prefect.io/core/advanced_tutorials/task-guide.html#adding-tasks-to-flowsMaxime Lavoie
03/31/2020, 6:35 PMjosh
04/02/2020, 1:25 PMMarvin
04/02/2020, 1:25 PM