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

Mathieugonzales: replace deprecated pydantic validators #298

Merged
merged 7 commits into from
Oct 15, 2024

Conversation

pyth0n1c
Copy link
Contributor

This PR is a recreation of the following PR by @mathieugonzales: #238

It was recreated as there were a significant number of merge conflicts we needed to address since it has sat unaddressed for some time. That PR will be closed out in favor of this one. The original text of that PR is below:

Solves #232.

NIST and Kill Chain Phases tag deprecated @validator were replaced by @field_validator
All other deprecated @Validators were replaced by @computed_field
Deprecated Config class was replaced by ConfigDict object

…_deprecated_pydantic_validators

Refactoring for formatting and some logical error correction
@pyth0n1c pyth0n1c merged commit c558216 into main Oct 15, 2024
18 checks 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.

4 participants