Download python_embeded/Lib/site-packages/alembic/util/exc.py from hxrron/VTONmodels: direct link, hf CLI and curl.
- Browser
- Download file 564 Bytes
-
https://huggingface.co/hxrron/VTONmodels/resolve/main/python_embeded/Lib/site-packages/alembic/util/exc.py
- Command line
-
hf download hf://hxrron/VTONmodels/python_embeded/Lib/site-packages/alembic/util/exc.py
-
curl -L -o exc.py https://huggingface.co/hxrron/VTONmodels/resolve/main/python_embeded/Lib/site-packages/alembic/util/exc.py
564 Bytes
| 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 | |