Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup: remove superfluous validator #120

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DropD
Copy link
Collaborator

@DropD DropD commented Feb 5, 2025

There's a model validator left over from when ConfigBaseDataSpecs.type used to be a string. Since it has been turned into an enum, pydantic already does the right thing automatically. There are unit tests that check invalid values for ".type" can not be passed, and they still pass after removing the old validator.

@DropD DropD requested a review from leclairm February 5, 2025 15:28
Copy link
Contributor

@leclairm leclairm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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