Open robfreedy opened 3 months ago
@robfreedy I was not able to reproduce on 2.x
or on main
. I also took a peek at the open API schemas (which is where the difference must be) and I get the exact same schema for both flows. Is there something else that might be changing between these two flows that might affect this difference? Could you re-test on the latest 2.x release?
I am having the exact same issue on 3.0.10 and 3.0.11.
Bug summary
When running a deployed flow that has a Pydantic based model as a parameter, the UI input looks different when the class is defined inside the same file as the flow vs. when the class is defined outside the file that the flow is defined in and imported.
MRE:
Class defined in the same file:
Class defined in a different file
Version info (
prefect version
output)Additional context
No response