from __future__ import annotations
from typing import Any
from typing import List
from typing import Tuple
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from alembic.autogenerate import RevisionContext
class CommandError(Exception):
pass
class AutogenerateDiffsDetected(CommandError):
def __init__(
self,
message: str,
revision_context: RevisionContext,
diffs: List[Tuple[Any, ...]],
) -> None:
super().__init__(message)
self.revision_context = revision_context
self.diffs = diffs
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| __init__.py | File | 1.43 KB | 0644 |
|
| compat.py | File | 2.57 KB | 0644 |
|
| editor.py | File | 2.49 KB | 0644 |
|
| exc.py | File | 564 B | 0644 |
|
| langhelpers.py | File | 9.79 KB | 0644 |
|
| messaging.py | File | 3.09 KB | 0644 |
|
| pyfiles.py | File | 3.41 KB | 0644 |
|
| sqla_compat.py | File | 14.44 KB | 0644 |
|