-
-
Notifications
You must be signed in to change notification settings - Fork 507
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug report
What's wrong
Overriding a DatabaseSchemaEditor
and calling super().table_sql(...)
gives the following error
error: "table_sql" undefined in superclass
How is that should be
table_sql
is a method of BaseDatabaseSchemaEditor
defined here
The annotation should be
def table_sql(self, model: Type[Model]) -> Tuple[str, List[Any]]]: ...
System information
- OS: MacOS
python
version: 3.9django
version: 3.1mypy
version: 0.790django-stubs
version: 1.7.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working