Hi, is it possible to change the serializer for th...
# ask-community
s
Hi, is it possible to change the serializer for the flow parameters from Pydantic to PickleSerializer?
n
hi @Steffen - can you explain what issue you're having? I'm not sure what you mean by "serializer for the flow parameters"
s
When I want to pass a pandas DataFrame to a flow I'm getting the following error:
PydanticSerializationError: Unable to serialize unknown type: <class 'pandas.core.frame.DataFrame'>
@Nate what I need to add to this: This happens when I use
run_deployment()
and want to pass a
pandas.DataFrame
to the flow. When I try to pass a DataFrame to a subflow I have no Issues. So this probably has something to do with
DeploymentFlowRunCreate()
and the way it stores the parameters compared to
FlowRunCreate()