Patrick Tan
08/09/2022, 1:13 PMTaylor Curran
08/09/2022, 1:22 PMdeployment.yaml
file.
Or you can use prefect.client create_flow_run_from_deployment() if you are comfortable using our API.
Or you can override default argument values before a flow runs easily from right in the UI by clicking on the three dots to edit a deployment.Patrick Tan
08/09/2022, 1:27 PMTaylor Curran
08/09/2022, 1:29 PMPatrick Tan
08/09/2022, 1:31 PMTaylor Curran
08/09/2022, 1:33 PMKhuyen Tran
08/09/2022, 2:35 PMdeployment.yaml
by adding a default arguments to your flow:
@flow
def my_flow(a=1, b=2):
...
Tony Piazza
10/03/2022, 10:47 PMNAME=foobar
STYLE=frumpy
and also as JSON:
{
'NAME' : 'foobar',
'STYLE' : 'frumpy'
}
neither of these appear to work. What am I missing?pydantic.error_wrappers.ValidationError: 1 validation error for Process
env
value is not a valid dict (type=type_error.dict)
Khuyen Tran
10/04/2022, 2:31 PM