Skip to content

deprecated use of model_validator(mode="after") in MappableConcept #618

Closed as not planned

Description

@jsstevenson
.venv/lib/python3.12/site-packages/variation/schemas/normalize_response_schema.py:52
  /Users/jss009/code/metakb/server/.venv/lib/python3.12/site-packages/variation/schemas/normalize_response_schema.py:52: PydanticDeprecatedSince212: Using `@model_validator` with mode='after' on a classmethod is deprecated. Instead, use an instance method. See the documentation at https://docs.pydantic.dev/2.12/concepts/validators/#model-after-validator. Deprecated in Pydantic V2.12 to be removed in V3.0.
    @model_validator(mode="after")

@model_validator(mode="after")

Activity

  1. self-assigned this
    on Mar 3, 2026
  2. added 2 commits that reference this issue on Mar 24, 2026
    de8cdd1
    2cd581e
  3. korikuzma commented on Apr 2, 2026

    @korikuzma
    Contributor

    I just ran tests using main (b573565) and I do not see this morning. I think this was added in the wrong repo (variation normalizer issue cancervariants/variation-normalization#653)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions