Are there any limits on what types can be paramete...
# prefect-community
s
Are there any limits on what types can be parameters for a flow (or subflow)? I am trying to pass a pandas dataframe from one flow to another, and I get a pydantic error
RuntimeError: no validator found for <class 'pandas.core.frame.DataFrame'>
, so I tried to use
validate_parameters=False
in the flow annotation, but it made no difference. What am I doing wrong?
1
k
You have a code snippet I can try?
a
Can you try upgrading to the latest 2.0 version? we had an issue with this but it got fixed just yesterday https://github.com/PrefectHQ/prefect/issues/5663
(also released just yesterday)
s
Fixed on v2.0b11, thanks 🙂
🙌 2