Nadav Itach
02/12/2024, 10:07 AMcreate_flow_run_from_deployment
and pass the following:
response = await prefect_client.create_flow_run_from_deployment(
deployment_id=UUID(config.tableau_refresh_flow_deployment_id),
parameters={"WORKBOOK_ID": "9237"}
)
however, when the flow is running I received the follwoing exception:
Validation of flow parameters failed with error:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/prefect/engine.py", line 457, in retrieve_flow_then_begin_flow_run
parameters = flow.validate_parameters(flow_run.parameters)
File "/usr/local/lib/python3.10/site-packages/prefect/flows.py", line 493, in validate_parameters
args, kwargs = parameters_to_args_kwargs(self.fn, parameters)
File "/usr/local/lib/python3.10/site-packages/prefect/utilities/callables.py", line 174, in parameters_to_args_kwargs
raise SignatureMismatchError.from_bad_params(
prefect.exceptions.SignatureMismatchError: Function expects parameters [] but was provided with parameters ['WORKBOOK_ID']
Did anyone face that issue as well?Klaas
03/22/2024, 8:18 AM