Skip to content

Commit

Permalink
Fix pydantic v2 private fields some more
Browse files Browse the repository at this point in the history
  • Loading branch information
provinzkraut committed Sep 14, 2024
1 parent fd878fd commit a7c5574
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/unit/test_contrib/test_pydantic/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,6 @@ class Config:
underscore_fields_are_private = True

_field: str = pydantic_v2.PrivateAttr()
# include an invalid annotation here to ensure we never touch those fields
_underscore_field: "foo" # type: ignore[name-defined] # noqa: F821
bar: str


Expand Down

0 comments on commit a7c5574

Please sign in to comment.