Skip to content

Feat: Pydantic config integration#72

Merged
taddyb merged 3 commits intoDeepGroundwater:masterfrom
taddyb:pydantic-validation
Jul 27, 2025
Merged

Feat: Pydantic config integration#72
taddyb merged 3 commits intoDeepGroundwater:masterfrom
taddyb:pydantic-validation

Conversation

@taddyb
Copy link
Collaborator

@taddyb taddyb commented Jul 27, 2025

Issue Addressed

Description

Fixes #66

  • Added a pydantic base class / classes to manage training configs
  • changed the training script to take in a config file as it's path
    • You can run training now using python scripts/train.py --config-name example_config.yaml
  • created an example config to remove the user sharing updated configs
  • updated tests and code references

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Code cleanup/refactor
  • Documentation update

Other (please specify):

Checklist

  • Branch is up to date with master
  • Updated tests or added new tests
  • Tests & pre-commit hooks pass
  • Updated documentation (if applicable)
  • Code follows established style and conventions

@taddyb taddyb merged commit db2e10f into DeepGroundwater:master Jul 27, 2025
4 checks passed
@taddyb taddyb deleted the pydantic-validation branch July 27, 2025 17:17
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.

Pydantic config handling to ensure correct types

1 participant