Skip to content

[hydra] Replace Marshmallow with Pydantic #150

@bolinocroustibat

Description

@bolinocroustibat

Replace Marshmallow with Pydantic

Why this change:
• Broad adoption (notably in FastAPI), excellent documentation, and active maintenance.
• Better performance in many use cases (see discussion: HN – Why Pydantic is replacing Marshmallow).
• Pydantic relies on native Python type hints, making code more concise and readable, and compatible with tpe checkers/IDE
• Cleaner object-oriented approach, with models closer to enriched dataclasses.

PR: #149

Metadata

Metadata

Labels

code qualityIndique qu'il s'agit d'une amélioration de la qualité du code (au sens très large)

Type

No type

Projects

Status

👀 Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions