crossid / accessbot

Streamline resource access grants with AI-Powered chatbot
https://www.crossid.io
Other
2 stars 0 forks source link

Get rid of deprecated Pydantic @validator #121

Closed asaf closed 5 months ago

asaf commented 5 months ago
app/models.py:183
  /Users/asaf/data/dev/crossid/accessbot-saas/opensource/app/models.py:183: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.7/migration/
    @validator("path")