PHP 8.2.30
Preview: exc.py Size: 564 B
/opt/hc_python/lib/python3.12/site-packages/alembic/util/exc.py

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

Directory Contents

Dirs: 1 × Files: 8

Name Size Perms Modified Actions
- drwxr-xr-x 2025-04-04 08:02:08
Edit Download
2.57 KB lrw-r--r-- 2025-04-04 08:02:08
Edit Download
2.49 KB lrw-r--r-- 2025-04-04 08:02:08
Edit Download
564 B lrw-r--r-- 2025-04-04 08:02:08
Edit Download
9.79 KB lrw-r--r-- 2025-04-04 08:02:08
Edit Download
3.09 KB lrw-r--r-- 2025-04-04 08:02:08
Edit Download
3.41 KB lrw-r--r-- 2025-04-04 08:02:08
Edit Download
14.44 KB lrw-r--r-- 2025-04-04 08:02:08
Edit Download
1.43 KB lrw-r--r-- 2025-04-04 08:02:08
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).