Fix and allow classes with missing metaclasses (#9136)

This commit is contained in:
Nikita Sobolev
2022-11-08 21:13:59 +03:00
committed by GitHub
parent b13f8e37a3
commit c0e9038f0d
12 changed files with 1134 additions and 2 deletions
+1 -1
View File
@@ -1546,7 +1546,7 @@ class _BoundModelsContext(_callable_context_manager):
def __enter__(self): ...
def __exit__(self, exc_type, exc_val, exc_tb) -> None: ...
class Model:
class Model(metaclass=ModelBase):
__data__: Incomplete
__rel__: Incomplete
def __init__(self, *args, **kwargs) -> None: ...