Skip to content

Commit b048783

Browse files
committed
🚨 ignore @final declaration of pydantic v2.12.0a1+
1 parent 7ca83d4 commit b048783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nb_cli/compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def origin_is_annotated(origin: type[Any] | None) -> bool:
5656
DEFAULT_CONFIG = ConfigDict(extra="allow", arbitrary_types_allowed=True)
5757
"""Default config for validations"""
5858

59-
class FieldInfo(BaseFieldInfo):
59+
class FieldInfo(BaseFieldInfo): # pyright: ignore[reportGeneralTypeIssues]
6060
"""FieldInfo class with extra property for compatibility with pydantic v1"""
6161

6262
# make default can be positional argument

0 commit comments

Comments
 (0)