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

Add warning filter for pydantic warning emitted by HF import #375

Merged
merged 2 commits into from
Nov 17, 2023

Conversation

rmitsch
Copy link
Collaborator

@rmitsch rmitsch commented Nov 17, 2023

Description

Add warning filter for pydantic warning emitted by HF import. See pydantic.warnings.PydanticDeprecatedSince20: Pydantic V1 style @validator validators are deprecated..

Corresponding documentation PR

-

Types of change

Bug fix.

Checklist

  • I confirm that I have the right to submit this contribution under the project's MIT license.
  • I ran all tests in tests and usage_examples/tests, and all new and existing tests passed. This includes
    • all external tests (i. e. pytest ran with --external)
    • all tests requiring a GPU (i. e. pytest ran with --gpu)
  • My changes don't require a change to the documentation, or if they do, I've added all required information.

@rmitsch rmitsch added bug Something isn't working Test external Run external tests labels Nov 17, 2023
@rmitsch rmitsch self-assigned this Nov 17, 2023
@rmitsch rmitsch merged commit a0e1080 into main Nov 17, 2023
19 checks passed
@rmitsch rmitsch deleted the fix/hf-pydantic-warning branch November 17, 2023 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Test external Run external tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant