The requirer charm of the openfga integration shows:
lib/charms/openfga_k8s/v1/openfga.py:171
/Users/shudu/Workspaces/canonical/sync/identity-platform-admin-ui-operator/lib/charms/openfga_k8s/v1/openfga.py:171: 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.9/migration/
@validator("token_secret_id", pre=True)
Probably it's time to move forward to Pydantic v2 when possible.
Enhancement Proposal
The requirer charm of the
openfga
integration shows:Probably it's time to move forward to Pydantic v2 when possible.