All __nonzero__ are methods that return bool (#9139)

This commit is contained in:
Nikita Sobolev authored and GitHub committed 2022-11-09 14:53:42 +00:00
1 parent cb5ed3c5fb
commit 04ae11cdd0
11 files changed
+14 -14

No files matched your search

+1 -1
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):