Skip to content

Commit 7f6da14

Browse files
committed
PYTHON-3679 Ignore bson/son.py:69: error: Value of type variable "Self" of "__new__" of "dict" cannot be "SON[_Key, _Value]" [type-var]
1 parent 4726797 commit 7f6da14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bson/son.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def __init__(
6666
self.update(kwargs)
6767

6868
def __new__(cls: Type["SON[_Key, _Value]"], *args: Any, **kwargs: Any) -> "SON[_Key, _Value]":
69-
instance = super(SON, cls).__new__(cls, *args, **kwargs)
69+
instance = super(SON, cls).__new__(cls, *args, **kwargs) # type: ignore[type-var]
7070
instance.__keys = []
7171
return instance
7272

0 commit comments

Comments
 (0)