Skip to content

Modernize remaining pydantic v1 syntax to v2#145

Merged
jmchilton merged 1 commit intogalaxyproject:mainfrom
mvdbeek:modernize_pydantic_v1_syntax
Apr 13, 2026
Merged

Modernize remaining pydantic v1 syntax to v2#145
jmchilton merged 1 commit intogalaxyproject:mainfrom
mvdbeek:modernize_pydantic_v1_syntax

Conversation

@mvdbeek
Copy link
Copy Markdown
Member

@mvdbeek mvdbeek commented Apr 12, 2026

Summary

  • Replace class Config: use_enum_values = True with model_config = ConfigDict(use_enum_values=True) in CelerySettings
  • Replace .dict() with .model_dump() in test_config_manager.py

Test plan

  • Existing test suite passes

Replace `class Config` with `model_config = ConfigDict(...)` in
CelerySettings and `.dict()` with `.model_dump()` in tests.
@jmchilton jmchilton merged commit 37f980b into galaxyproject:main Apr 13, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants