You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flyte currently has issues with handling Pydantic models, particularly with type conversions. Boolean values within Pydantic models may be cast to scalar values due to serialization issues. This is a known problem and has been discussed in the community.
Would you like more detail on potential workarounds or ongoing efforts to address this issue?
Describe the bug
Describe the bug
Trying to pass a pydantic model between task but its converting bool variables to int. Is there a way to make flyte work with pydantic models?
Expected behavior
For bool types to stay as bool types
Additional context to reproduce
I have this main.py file containing my workflow:
When I run this with the command
I get the error:
The bool property in the Config object is converted to a scalar.
Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: