mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-05-17 05:49:45 +08:00
move generated stubs to separate directory, too messty
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
from typing import Any, Optional
|
||||
|
||||
from django.db.backends.sqlite3.schema import DatabaseSchemaEditor
|
||||
from django.db.migrations.operations.base import Operation
|
||||
from django.db.migrations.state import ProjectState
|
||||
|
||||
|
||||
class CreateExtension(Operation):
|
||||
reversible: bool = ...
|
||||
name: Any = ...
|
||||
def __init__(self, name: str) -> None: ...
|
||||
def state_forwards(self, app_label: str, state: ProjectState) -> None: ...
|
||||
def database_forwards(
|
||||
self,
|
||||
app_label: str,
|
||||
schema_editor: DatabaseSchemaEditor,
|
||||
from_state: ProjectState,
|
||||
to_state: ProjectState,
|
||||
) -> None: ...
|
||||
def database_backwards(
|
||||
self, app_label: Any, schema_editor: Any, from_state: Any, to_state: Any
|
||||
) -> None: ...
|
||||
def describe(self): ...
|
||||
|
||||
class BtreeGinExtension(CreateExtension):
|
||||
name: str = ...
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
class BtreeGistExtension(CreateExtension):
|
||||
name: str = ...
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
class CITextExtension(CreateExtension):
|
||||
name: str = ...
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
class CryptoExtension(CreateExtension):
|
||||
name: str = ...
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
class HStoreExtension(CreateExtension):
|
||||
name: str = ...
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
class TrigramExtension(CreateExtension):
|
||||
name: str = ...
|
||||
def __init__(self) -> None: ...
|
||||
|
||||
class UnaccentExtension(CreateExtension):
|
||||
name: str = ...
|
||||
def __init__(self) -> None: ...
|
||||
Reference in New Issue
Block a user