
    ZeIi                        d dl mZ d dlmZ d dlmZ d dlmZ d dlmZ erd dlmZ  G d de	          Z
 G d	 d
e
          Z G d de
          ZdS )    )annotations)Any)List)Tuple)TYPE_CHECKING)RevisionContextc                      e Zd ZdZdS )CommandErrorz%Base command error for all exceptionsN__name__
__module____qualname____doc__     U/var/www/html/MCyber-Diagnostic/venv/lib/python3.11/site-packages/alembic/util/exc.pyr
   r
      s        ////r   r
   c                      e Zd ZdZdS )DatabaseNotAtHeadzIndicates the database is not at current head revisions.

    Raised by the :func:`.command.current` command when the
    :paramref:`.command.current.check_heads` parameter is used.

    .. versionadded:: 1.17.1

    Nr   r   r   r   r   r      s           r   r   c                  $     e Zd ZdZd fd
Z xZS )AutogenerateDiffsDetectedzmRaised when diffs were detected by the :func:`.command.check`
    command.

    .. versionadded:: 1.9.0

    messagestrrevision_contextr   diffsList[Tuple[Any, ...]]returnNonec                f    t                                          |           || _        || _        d S )N)super__init__r   r   )selfr   r   r   	__class__s       r   r    z"AutogenerateDiffsDetected.__init__#   s0     	!!! 0


r   )r   r   r   r   r   r   r   r   )r   r   r   r   r    __classcell__)r"   s   @r   r   r      sG                  r   r   N)
__future__r   typingr   r   r   r   alembic.autogenerater   	Exceptionr
   r   r   r   r   r   <module>r(      s   " " " " " "                               54444440 0 0 0 09 0 0 0                r   