https://prefect.io logo
Title
s

Steph Clacksman

07/22/2022, 4:30 PM
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

Kevin Kho

07/22/2022, 5:41 PM
You have a code snippet I can try?
a

Anna Geller

07/22/2022, 5:41 PM
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

Steph Clacksman

07/22/2022, 6:54 PM
Fixed on v2.0b11, thanks 🙂
🙌 2