Skip to content

[SDG] Add Pydantic Support #930

@IanHoang

Description

@IanHoang

Is your feature request related to a problem? Please describe

Currently, SDG before OSB 2.0 release, has minimum ways of ensuring that the yaml provided adheres to a schema that SDG expects.

Minor defects in sdg-config.yml that the user provides can cause issues for developers and make it difficult to debug.

Describe the solution you'd like

We should incorporate a well-backed library like Pydantic that can ensure strong data validation while preserving the current architecture. This should be a simple swap in and replace.

By doing this, we'll make SDG more robust, have better error handling, and better extensibility for future config changes.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions