Skip to content

deprecation warnings @model_validator #200

@thorinaboenke

Description

@thorinaboenke

.venv/lib/python3.12/site-packages/attackmate/schemas/vnc.py:26
/home/boenket/Documents/projects/attackmate-api-server/.venv/lib/python3.12/site-packages/attackmate/schemas/vnc.py:26: 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')

.venv/lib/python3.12/site-packages/attackmate/schemas/bettercap.py:28
/home/boenket/Documents/projects/attackmate-api-server/.venv/lib/python3.12/site-packages/attackmate/schemas/bettercap.py:28: 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')

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