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

merge lawson/label_predicates into maintenance-v3 #273

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

lalewis1
Copy link
Collaborator

@lalewis1 lalewis1 commented Oct 4, 2024

small fix to allow setting of labelling predicates via environment variable.

Copy link
Collaborator

@recalcitrantsupplant recalcitrantsupplant left a comment

Choose a reason for hiding this comment

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

Looks fine but can you change root_validator to field_validator

https://docs.pydantic.dev/latest/migration/#validator-and-root_validator-are-deprecated

@lalewis1
Copy link
Collaborator Author

lalewis1 commented Oct 4, 2024

thanks good catch

actually, looks like field_validator is only introduced in Pydantic version 2. Prez v3 is still on Pydantic v1

Copy link
Collaborator

@recalcitrantsupplant recalcitrantsupplant left a comment

Choose a reason for hiding this comment

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

good catch on the catch

@lalewis1 lalewis1 merged commit 375af55 into maintenance-v3 Oct 4, 2024
1 check 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