Annotate known magic-method return types (#9131)

This commit is contained in:
Nikita Sobolev
2022-11-08 21:28:42 +03:00
committed by GitHub
parent c0e9038f0d
commit 62a6c3d616
87 changed files with 172 additions and 172 deletions
+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: ...