|
1 | | -from typing import Any |
2 | | - |
3 | 1 | from django.db.backends.base.schema import BaseDatabaseSchemaEditor |
4 | 2 | from django.db.migrations import AddConstraint, AddIndex, RemoveIndex |
5 | 3 | from django.db.migrations.operations.base import Operation |
6 | 4 |
|
7 | 5 | class CreateExtension(Operation): |
8 | 6 | name: str |
9 | | - hints: dict[str, Any] |
10 | | - def __init__(self, name: str, hints: dict[str, Any] | None = None) -> None: ... |
| 7 | + def __init__(self, name: str) -> None: ... |
11 | 8 | def extension_exists(self, schema_editor: BaseDatabaseSchemaEditor, extension: str) -> bool: ... |
12 | 9 |
|
13 | 10 | class BloomExtension(CreateExtension): |
14 | | - def __init__(self, hints: dict[str, Any] | None = None) -> None: ... |
| 11 | + def __init__(self) -> None: ... |
15 | 12 |
|
16 | 13 | class BtreeGinExtension(CreateExtension): |
17 | | - def __init__(self, hints: dict[str, Any] | None = None) -> None: ... |
| 14 | + def __init__(self) -> None: ... |
18 | 15 |
|
19 | 16 | class BtreeGistExtension(CreateExtension): |
20 | | - def __init__(self, hints: dict[str, Any] | None = None) -> None: ... |
| 17 | + def __init__(self) -> None: ... |
21 | 18 |
|
22 | 19 | class CITextExtension(CreateExtension): |
23 | | - def __init__(self, hints: dict[str, Any] | None = None) -> None: ... |
| 20 | + def __init__(self) -> None: ... |
24 | 21 |
|
25 | 22 | class CryptoExtension(CreateExtension): |
26 | | - def __init__(self, hints: dict[str, Any] | None = None) -> None: ... |
| 23 | + def __init__(self) -> None: ... |
27 | 24 |
|
28 | 25 | class HStoreExtension(CreateExtension): |
29 | | - def __init__(self, hints: dict[str, Any] | None = None) -> None: ... |
| 26 | + def __init__(self) -> None: ... |
30 | 27 |
|
31 | 28 | class TrigramExtension(CreateExtension): |
32 | | - def __init__(self, hints: dict[str, Any] | None = None) -> None: ... |
| 29 | + def __init__(self) -> None: ... |
33 | 30 |
|
34 | 31 | class UnaccentExtension(CreateExtension): |
35 | | - def __init__(self, hints: dict[str, Any] | None = None) -> None: ... |
| 32 | + def __init__(self) -> None: ... |
36 | 33 |
|
37 | 34 | class NotInTransactionMixin: |
38 | 35 | def _ensure_not_in_transaction(self, schema_editor: BaseDatabaseSchemaEditor) -> None: ... |
|
0 commit comments