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
The codebase currently uses pydantic v1 (evidenced by pydantic.error_wrappers.ValidationError and .dict() calls). Pydantic v1 is end-of-life. Migrate to pydantic v2.
Summary
The codebase currently uses pydantic v1 (evidenced by
pydantic.error_wrappers.ValidationErrorand.dict()calls). Pydantic v1 is end-of-life. Migrate to pydantic v2.Motivation
@propertyfields causing'property' object is not iterablein.dict())Scope
.dict()→.model_dump().json()→.model_dump_json().parse_obj()→.model_validate()validator→field_validatorpydantic.error_wrappers.ValidationError→pydantic.ValidationErrororm_mode→from_attributes)shard_core/data_model/backend/shard_model.pywhich has@propertyfields that break v1's.dict()🤖 Generated with Claude Code