Flow with keys
as argument makes all run failed
#15610
Labels
upstream dependency
An upstream issue caused by a bug in one of our dependencies
Bug summary
When you try to launch a deployed flow with one of its argument being
keys
, the flow fail with a log in the worker only being :The reason is that in
src/prefect/flows.py
, functionvalidate_parameters
,dict(<a_pydantic_base_model>)
is used instead of a<a_pydantic_base_model>.model_dump()
:Here is a reproducible test of pydantic :
Please see if there is other misuses of
pydantic
in the code :)Version info (
prefect version
output)Additional context
No response
The text was updated successfully, but these errors were encountered: