Skip to content

Fix model_validator deprecation warning in SimvueConfiguration #908

Closed

Description

@kzscisoft

Description of Bug

When running the Python API the check_valid_server validator of type mode="after" prints a deprecation warning due to after validators being required to return and act on Self.

Steps To Reproduce

  • Identified during execution of the Simvue CLI tests.

Expected behavior

No deprecation warning displayed.

Actual Behaviour

Warning appears in Pytest output saying this behaviour will be deprecated.

Setup

  • OS: Ubuntu 25.10
  • Python 3.13.4

Activity

  1. added theissue type on Jan 20, 2026
  2. self-assigned this
    on Jan 20, 2026
  3. linked a pull request that will close this issueKzscisoft/config deprecation and test fixes #909on Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions