Annotate known magic-method return types (#9131)

This commit is contained in:
Nikita Sobolev authored and GitHub committed 2022-11-08 18:28:42 +00:00
1 parent c0e9038f0d
commit 62a6c3d616
87 files changed
+172 -172

No files matched your search

+1 -1
View File
@@ -9,4 +9,4 @@ class Errors:
@property
def deep_errors(self): ...
def for_object(self, key): ...
def __len__(self): ...
def __len__(self) -> int: ...
@@ -17,4 +17,4 @@ class ValidationErrorCollection:
@property
def size(self): ...
def __getitem__(self, index): ...
def __len__(self): ...
def __len__(self) -> int: ...