o
    vo™iá  ã                   @  s€   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„ de	ƒZ
G d	d
„ d
e
ƒZG d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__© r   r   úD/home/ubuntu/.local/lib/python3.10/site-packages/alembic/util/exc.pyr	      ó    r	   c                   @  r   )ÚDatabaseNotAtHeadzÙIndicates 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      r   r   c                      s"   e Zd ZdZd‡ fd
d„Z‡  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                   s   t ƒ  |¡ || _|| _d S )N)ÚsuperÚ__init__r   r   )Úselfr   r   r   ©Ú	__class__r   r   r   #   s   
z"AutogenerateDiffsDetected.__init__)r   r   r   r   r   r   r   r   )r   r   r   r   r   Ú__classcell__r   r   r   r   r      s    r   N)Ú
__future__r   Útypingr   r   r   r   Úalembic.autogenerater   Ú	Exceptionr	   r   r   r   r   r   r   Ú<module>   s    