All __nonzero__ are methods that return bool (#9139)

This commit is contained in:
Nikita Sobolev
2022-11-09 17:53:42 +03:00
committed by GitHub
parent cb5ed3c5fb
commit 04ae11cdd0
11 changed files with 14 additions and 14 deletions

View File

@@ -1534,7 +1534,7 @@ class ModelBase(type):
def __contains__(self, key): ...
def __len__(self) -> int: ...
def __bool__(self) -> bool: ...
__nonzero__: Incomplete
def __nonzero__(self) -> bool: ...
def __sql__(self, ctx): ...
class _BoundModelsContext(_callable_context_manager):