https://prefect.io logo
i

itay livni

11/03/2019, 7:26 PM
Basically I find myself establishing Parameters in flows before I write some of the functions
j

Jeremiah

11/03/2019, 7:28 PM
Hi @itay livni, flows with parameters are like Python functions. If you run those flows with unexpected parameters, or don’t supply required parameters, you’re going to get an error. If you want to put the Parameter in your flow but not work with it yet, you could give it a default value
Parameter('x', default=None)
. That way you won’t get an error.
i

itay livni

11/03/2019, 10:02 PM
default none works!
👍 1