
    D6i                        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y)    )annotations)Any)List)Tuple)TYPE_CHECKING)RevisionContextc                      e Zd ZdZy)CommandErrorz%Base command error for all exceptionsN__name__
__module____qualname____doc__     S/home/azureuser/techstart-app/venv/lib/python3.12/site-packages/alembic/util/exc.pyr
   r
      s    /r   r
   c                      e Zd ZdZy)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                  4     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

    c                @    t         |   |       || _        || _        y )N)super__init__revision_contextdiffs)selfmessager   r   	__class__s       r   r   z"AutogenerateDiffsDetected.__init__#   s!     	! 0
r   )r   strr   r   r   zList[Tuple[Any, ...]]returnNone)r   r   r   r   r   __classcell__)r   s   @r   r   r      s8     * %	
 
 r   r   N)
__future__r   typingr   r   r   r   alembic.autogenerater   	Exceptionr
   r   r   r   r   r   <module>r'      s>    "     409 0  r   