mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-11-16 08:53:18 +08:00
enable some test folders, bunch of fixes
This commit is contained in:
1 parent
d43cb1fcd7
commit
191496ed72
25 files changed
+208
-173
No files matched your search
@@ -1,4 +1,4 @@
|
||||
from typing import Any, Optional, Set, Tuple, Type, List
|
||||
from typing import Any, Optional, Set, Tuple, Type, List, Union
|
||||
|
||||
from django.db.migrations.migration import Migration
|
||||
from django.db.migrations.operations.base import Operation
|
||||
@@ -24,7 +24,7 @@ class OperationWriter:
|
||||
class MigrationWriter:
|
||||
migration: Migration = ...
|
||||
needs_manual_porting: bool = ...
|
||||
def __init__(self, migration: Migration) -> None: ...
|
||||
def __init__(self, migration: Union[type, Migration]) -> None: ...
|
||||
def as_string(self) -> str: ...
|
||||
@property
|
||||
def basedir(self) -> str: ...
|
||||
|
||||
Reference in new issue
Block a user