
    5h]                    j   % S r SSKJr  SSKrSSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SS	KJ	r	  SS
KJ
r
  SSKJr  SSKJr  \R                  (       a  SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  \R                  (       a  S\S'   OSr " S S5      r " S S\\5      r " S S\5      r " S S\5      r " S S\5      r " S S \5      r  " S! S"\5      r! " S# S$\5      r" " S% S&\5      r# " S' S(\5      r$ " S) S*\5      r% " S+ S,\%5      r& " S- S.\5      r' " S/ S0\5      r( " S1 S2\(5      r) " S3 S4\5      r* " S5 S6\5      r+ " S7 S8\+5      r, " S9 S:\+5      r- " S; S<\+5      r. " S= S>\+5      r/ " S? S@\+\05      r1 " SA SB\+5      r2 " SC SD\+5      r3 " SE SF\+5      r4 " SG SH\+5      r5 " SI SJ\+5      r6 " SK SL\45      r7 " SM SN\45      r8 " SO SP\+5      r9 " SQ SR\+5      r: " SS ST\+5      r; " SU SV5      r< " SW SX\5      r= " SY SZ\=5      r> " S[ S\\>5      r? " S] S^\>5      r@ " S_ S`\@5      rA " Sa Sb\@5      rB " Sc Sd\@5      rC " Se Sf\@5      rD " Sg Sh\@5      rE " Si Sj\@5      rF " Sk Sl\G5      rH " Sm Sn\\I5      rJ " So Sp\J5      rK " Sq Sr\K5      rL " Ss St\K5      rM " Su Sv\N5      rO " Sw Sx\\P5      rQg)yzExceptions used with SQLAlchemy.

The base exception class is :exc:`.SQLAlchemyError`.  Exceptions which are
raised as a result of DBAPI exceptions are all subclasses of
:exc:`.DBAPIError`.

    )annotationsN)Any)List)Optional)overload)Tuple)Type)Union   )compat)	preloaded)_AnyExecuteParams)Dialect)Compiled)TypeCompiler)ClauseElementstr_version_tokenc                  ^   ^  \ rS rSr% SrSrS\S'   SU 4S jjrSrSS jr	SU 4S	 jjr
S
rU =r$ )HasDescriptionCode+   zDhelper which adds 'code' as an attribute and '_code_str' as a methodNOptional[str]codec                \   > UR                  SS 5      nUb  X0l        [        TU ]  " U0 UD6  g )Nr   )popr   super__init__)selfargkwr   	__class__s       Y/var/www/html/cementerio_25MayoBackend/env/lib/python3.13/site-packages/sqlalchemy/exc.pyr   HasDescriptionCode.__init__0   s0    vvfd#I#$$    errorc                n    U R                   (       d  gSU R                   S[         SU R                    S3$ )N z(Background on this z at: https://sqlalche.me/e//))r   _what_are_wer   r   s    r"   	_code_strHasDescriptionCode._code_str8   s>    yy 't'8'8&9 :))7(8$))AGr$   c                t   > [         TU ]  5       nU R                  (       a  U< SU R                  5       < 3nU$ N )r   __str__r   r,   )r   messager!   s     r"   r1   HasDescriptionCode.__str__A   s,    '/#99!($..*:;Gr$   r   )r   r   r    r   returnr   )__name__
__module____qualname____firstlineno____doc__r   __annotations__r   r*   r,   r1   __static_attributes____classcell__r!   s   @r"   r   r   +   s+    ND-% L r$   r   c                  6    \ rS rSrSrSS jrSS jrSS jrSrg)	SQLAlchemyErrorH   zGeneric error class.c                    [        U R                  5      S:X  aJ  U R                  S   n[        U[        5      (       a  [        R
                  " US5      nU$ [        U5      nU$ [        U R                  5      $ )Nr   r   zutf-8)lenargs
isinstancebytesr   decode_backslashreplacer   )r   arg_texttexts      r"   _messageSQLAlchemyError._messageK   sg     tyy>Qyy|H(E**55hH K 8}K
 tyy>!r$   c                v    U R                  5       nU R                  (       a  U< SU R                  5       < 3nU$ r/   )rK   r   r,   )r   r2   s     r"   _sql_messageSQLAlchemyError._sql_messagej   s*    --/99!($..*:;Gr$   c                "    U R                  5       $ N)rN   r+   s    r"   r1   SQLAlchemyError.__str__r   s      ""r$    Nr5   )	r7   r8   r9   r:   r;   rK   rN   r1   r=   rS   r$   r"   rA   rA   H   s    ">#r$   rA   c                      \ rS rSrSrSrg)ArgumentErrorv   zRaised when an invalid or conflicting function argument is supplied.

This error generally corresponds to construction time state errors.

rS   Nr7   r8   r9   r:   r;   r=   rS   r$   r"   rU   rU   v       r$   rU   c                      \ rS rSrSrSrg)DuplicateColumnError~   za Column is being added to a Table that would replace another
Column, without appropriate parameters to allow this in place.

.. versionadded:: 2.0.0b4

rS   NrW   rS   r$   r"   rZ   rZ   ~       r$   rZ   c                  :   ^  \ rS rSrSrSU 4S jjrSS jrSrU =r$ )ObjectNotExecutableError   zNRaised when an object is passed to .execute() that can't be
executed as SQL.

c                6   > [         TU ]  SU-  5        Xl        g )NzNot an executable object: %r)r   r   target)r   ra   r!   s     r"   r   !ObjectNotExecutableError.__init__   s    7&@Ar$   c                4    U R                   U R                  44$ rQ   )r!   ra   r+   s    r"   
__reduce__#ObjectNotExecutableError.__reduce__   s    ~~~--r$   )ra   )ra   r   r6   zUnion[str, Tuple[Any, ...]])	r7   r8   r9   r:   r;   r   rd   r=   r>   r?   s   @r"   r^   r^      s    
. .r$   r^   c                      \ rS rSrSrSrg)NoSuchModuleError   zlRaised when a dynamically-loaded module (usually a database dialect)
of a particular name cannot be located.rS   NrW   rS   r$   r"   rh   rh      s    /r$   rh   c                      \ rS rSrSrSrg)NoForeignKeysError   zQRaised when no foreign keys can be located between two selectables
during a join.rS   NrW   rS   r$   r"   rk   rk      s    r$   rk   c                      \ rS rSrSrSrg)AmbiguousForeignKeysError   zdRaised when more than one foreign key matching can be located
between two selectables during a join.rS   NrW   rS   r$   r"   rn   rn      s    .r$   rn   c                      \ rS rSrSrSrg)ConstraintColumnNotFoundError   zraised when a constraint refers to a string column name that
is not present in the table being constrained.

.. versionadded:: 2.0

rS   NrW   rS   r$   r"   rq   rq      r\   r$   rq   c                  F    \ rS rSrSr  S         SS jjrS	S jrSrg)
CircularDependencyError   a  Raised by topological sorts when a circular dependency is detected.

There are two scenarios where this error occurs:

* In a Session flush operation, if two objects are mutually dependent
  on each other, they can not be inserted or deleted via INSERT or
  DELETE statements alone; an UPDATE will be needed to post-associate
  or pre-deassociate one of the foreign key constrained values.
  The ``post_update`` flag described at :ref:`post_update` can resolve
  this cycle.
* In a :attr:`_schema.MetaData.sorted_tables` operation, two
  :class:`_schema.ForeignKey`
  or :class:`_schema.ForeignKeyConstraint` objects mutually refer to each
  other.  Apply the ``use_alter=True`` flag to one or both,
  see :ref:`use_alter`.

Nc                    Uc  USSR                  S U 5       5      -  -  nOUn[        R                  XUS9  X l        X0l        g )Nz (%s)z, c              3  6   #    U H  n[        U5      v   M     g 7frQ   )repr).0ss     r"   	<genexpr>3CircularDependencyError.__init__.<locals>.<genexpr>   s     *CFq477Fs   r4   )joinrA   r   cyclesedges)r   r2   r~   r   msgr   s         r"   r    CircularDependencyError.__init__   sI     ;w*CF*C!CCCGG  T :
r$   c                    U R                   S U R                  U R                  U R                  S   4U R                  b  SU R                  04$ 0 4$ )Nr   r   )r!   r~   r   rE   r   r+   s    r"   rd   "CircularDependencyError.__reduce__   sT    NN4;;

DIIaL9#'99#8VTYY
 	
 ?A
 	
r$   )r~   r   )NN)
r2   r   r~   r   r   r   r   r   r   r   rf   r7   r8   r9   r:   r;   r   rd   r=   rS   r$   r"   rt   rt      sI    . ""  	
   
r$   rt   c                      \ rS rSrSrSrg)CompileError   z2Raised when an error occurs during SQL compilationrS   NrW   rS   r$   r"   r   r      s    <r$   r   c                  N   ^  \ rS rSrSrSr S     SU 4S jjjrS	S jrSrU =r	$ )
UnsupportedCompilationError   zRaised when an operation is not supported by the given compiler.

.. seealso::

    :ref:`faq_sql_expression_string`

    :ref:`error_l7de`
l7dec                v   > [         TU ]  SU< SU< U(       a  SU-  OS< 35        Xl        X l        X0l        g )Nz	Compiler z can't render element of type z: %sr'   )r   r   compilerelement_typer2   )r   r   r   r2   r!   s       r"   r   $UnsupportedCompilationError.__init__   s=     	7v'7'JL	
 !(r$   c                `    U R                   U R                  U R                  U R                  44$ rQ   )r!   r   r   r2   r+   s    r"   rd   &UnsupportedCompilationError.__reduce__   s&    ~~t/@/@$,,OOOr$   )r   r   r2   rQ   )r   zUnion[Compiled, TypeCompiler]r   zType[ClauseElement]r2   r   rf   )
r7   r8   r9   r:   r;   r   r   rd   r=   r>   r?   s   @r"   r   r      sF     D "&	/ * 	 P Pr$   r   c                      \ rS rSrSrSrg)IdentifierError   z;Raised when a schema name is beyond the max character limitrS   NrW   rS   r$   r"   r   r      s    Er$   r   c                  (    \ rS rSr% SrSrS\S'   Srg)DisconnectionError   a  A disconnect is detected on a raw DB-API connection.

This error is raised and consumed internally by a connection pool.  It can
be raised by the :meth:`_events.PoolEvents.checkout`
event so that the host pool
forces a retry; the exception will be caught three times in a row before
the pool gives up and raises :class:`~sqlalchemy.exc.InvalidRequestError`
regarding the connection attempt.

Fboolinvalidate_poolrS   Nr7   r8   r9   r:   r;   r   r<   r=   rS   r$   r"   r   r      s    	 "OT!r$   r   c                  (    \ rS rSr% SrSrS\S'   Srg)InvalidatePoolErrori  a  Raised when the connection pool should invalidate all stale connections.

A subclass of :class:`_exc.DisconnectionError` that indicates that the
disconnect situation encountered on the connection probably means the
entire pool should be invalidated, as the database has been restarted.

This exception will be handled otherwise the same way as
:class:`_exc.DisconnectionError`, allowing three attempts to reconnect
before giving up.

.. versionadded:: 1.2

Tr   r   rS   Nr   rS   r$   r"   r   r     s     !OT r$   r   c                      \ rS rSrSrSrg)TimeoutErrori  z@Raised when a connection pool times out on getting a connection.rS   NrW   rS   r$   r"   r   r     s    Jr$   r   c                      \ rS rSrSrSrg)InvalidRequestErrori#  znSQLAlchemy was asked to do something it can't do.

This error generally corresponds to runtime state errors.

rS   NrW   rS   r$   r"   r   r   #  rX   r$   r   c                      \ rS rSrSrSrg)IllegalStateChangeErrori+  zfAn object that tracks state encountered an illegal state change
of some kind.

.. versionadded:: 2.0

rS   NrW   rS   r$   r"   r   r   +  r\   r$   r   c                      \ rS rSrSrSrg)NoInspectionAvailablei4  z]A subject passed to :func:`sqlalchemy.inspection.inspect` produced
no context for inspection.rS   NrW   rS   r$   r"   r   r   4  s    "r$   r   c                      \ rS rSrSrSrg)PendingRollbackErrori9  z`A transaction has failed and needs to be rolled back before
continuing.

.. versionadded:: 1.4

rS   NrW   rS   r$   r"   r   r   9  r\   r$   r   c                      \ rS rSrSrSrg)ResourceClosedErroriB  z_An operation was requested from a connection, cursor, or other
object that's in a closed state.rS   NrW   rS   r$   r"   r   r   B  s    (r$   r   c                      \ rS rSrSrSrg)NoSuchColumnErroriG  z1A nonexistent column is requested from a ``Row``.rS   NrW   rS   r$   r"   r   r   G  s    ;r$   r   c                      \ rS rSrSrSrg)NoResultFoundiK  zA database result was required but none was found.


.. versionchanged:: 1.4  This exception is now part of the
   ``sqlalchemy.exc`` module in Core, moved from the ORM.  The symbol
   remains importable from ``sqlalchemy.orm.exc``.


rS   NrW   rS   r$   r"   r   r   K  s    r$   r   c                      \ rS rSrSrSrg)MultipleResultsFoundiW  zA single database result was required but more than one were found.

.. versionchanged:: 1.4  This exception is now part of the
   ``sqlalchemy.exc`` module in Core, moved from the ORM.  The symbol
   remains importable from ``sqlalchemy.orm.exc``.


rS   NrW   rS   r$   r"   r   r   W  s    r$   r   c                  $    \ rS rSr% SrS\S'   Srg)NoReferenceErrorib  zDRaised by ``ForeignKey`` to indicate a reference cannot be resolved.r   
table_namerS   N)r7   r8   r9   r:   r;   r<   r=   rS   r$   r"   r   r   b  s
    NOr$   r   c                      \ rS rSrSrSrSrg)AwaitRequiredih  zbError raised by the async greenlet spawn if no async operation
was awaited when it required one.

xd1rrS   Nr7   r8   r9   r:   r;   r   r=   rS   r$   r"   r   r   h      
 Dr$   r   c                      \ rS rSrSrSrSrg)MissingGreenletiq  zcError raised by the async greenlet await\_ if called while not inside
the greenlet spawn context.

xd2srS   Nr   rS   r$   r"   r   r   q  r   r$   r   c                  ,    \ rS rSrSrSS jrSS jrSrg)	NoReferencedTableErroriz  zIRaised by ``ForeignKey`` when the referred ``Table`` cannot be
located.

c                :    [         R                  X5        X l        g rQ   )r   r   r   )r   r2   tnames      r"   r   NoReferencedTableError.__init__  s    !!$0r$   c                P    U R                   U R                  S   U R                  44$ Nr   )r!   rE   r   r+   s    r"   rd   !NoReferencedTableError.__reduce__  s"    ~~		!doo>>>r$   )r   N)r2   r   r   r   rf   r   rS   r$   r"   r   r   z  s    
 ?r$   r   c                  ,    \ rS rSrSrSS jrSS jrSrg)	NoReferencedColumnErrori  zJRaised by ``ForeignKey`` when the referred ``Column`` cannot be
located.

c                F    [         R                  X5        X l        X0l        g rQ   )r   r   r   column_name)r   r2   r   cnames       r"   r    NoReferencedColumnError.__init__  s    !!$0 r$   c                f    U R                   U R                  S   U R                  U R                  44$ r   )r!   rE   r   r   r+   s    r"   rd   "NoReferencedColumnError.__reduce__  s/    NNYYq\4??D,<,<=
 	
r$   )r   r   N)r2   r   r   r   r   r   rf   r   rS   r$   r"   r   r     s    
!

r$   r   c                      \ rS rSrSrSrg)NoSuchTableErrori  z7Table does not exist or is not visible to a connection.rS   NrW   rS   r$   r"   r   r     s    Ar$   r   c                      \ rS rSrSrSrg)UnreflectableTableErrori  zMTable exists but can't be reflected for some reason.

.. versionadded:: 1.2

rS   NrW   rS   r$   r"   r   r     rX   r$   r   c                      \ rS rSrSrSrg)UnboundExecutionErrori  zASQL was attempted without a database connection to execute it on.rS   NrW   rS   r$   r"   r   r         Kr$   r   c                      \ rS rSrSrSrg)DontWrapMixini  a
  A mixin class which, when applied to a user-defined Exception class,
will not be wrapped inside of :exc:`.StatementError` if the error is
emitted within the process of executing a statement.

E.g.::

    from sqlalchemy.exc import DontWrapMixin


    class MyCustomException(Exception, DontWrapMixin):
        pass


    class MySpecialType(TypeDecorator):
        impl = String

        def process_bind_param(self, value, dialect):
            if value == "invalid":
                raise MyCustomException("invalid!")

rS   NrW   rS   r$   r"   r   r     s    r$   r   c                      \ rS rSr% SrSrS\S'    SrS\S'    SrS\S	'    Sr	S
\S'    Sr
S\S'      S             SS jjrSS jrSS jr\R                  " S5      SS j5       rSrg)StatementErrori  aZ  An error occurred during execution of a SQL statement.

:class:`StatementError` wraps the exception raised
during execution, and features :attr:`.statement`
and :attr:`.params` attributes which supply context regarding
the specifics of the statement which had an issue.

The wrapped exception object is available in
the :attr:`.orig` attribute.

Nr   	statementOptional[_AnyExecuteParams]paramsOptional[BaseException]origOptional[bool]ismultiFr   connection_invalidatedc                v    [         R                  XUS9  X l        X0l        X@l        Xpl        XPl        / U l        g )Nr4   )rA   r   r   r   r   r   hide_parametersdetail)r   r2   r   r   r   r   r   r   s           r"   r   StatementError.__init__  s8     	  T :"	.!#r$   c                :    U R                   R                  U5        g rQ   )r   append)r   r   s     r"   
add_detailStatementError.add_detail  s    3r$   c           	         U R                   U R                  S   U R                  U R                  U R                  U R
                  U R                  R                  S5      U R                  4SU R                  04$ )Nr   r   r   )
r!   rE   r   r   r   r   __dict__getr   r   r+   s    r"   rd   StatementError.__reduce__  sh    NN		!		$$!!&) t{{#
 	
r$   zsqlalchemy.sql.utilc                <   [         R                  nU R                  5       /nU R                  (       a  SU R                  -  nUR	                  U5        U R
                  (       a\  U R                  (       a  UR	                  S5        O9UR                  U R
                  SU R                  S9nUR	                  SU-  5        U R                  5       nU(       a  UR	                  U5        SR                  U R                   Vs/ sH  nSU-  PM
     snU-   5      $ s  snf )Nz	[SQL: %s]z3[SQL parameters hidden due to hide_parameters=True]
   )r   z[parameters: %r]
z(%s))
_preloadedsql_utilrK   r   r   r   r   _repr_paramsr   r,   r}   r   )r   utildetailsstmt_detailparams_reprcode_strdets          r"   rN   StatementError._sql_message  s    ""==?#>>%6KNN;'{{''NNM #'"3"3R #4 #K NN#5#CD>>#NN8$yy$++>+3&3,+>HII>s   D)r   r   r   r   r   r   )FNN)r2   r   r   r   r   r   r   r   r   r   r   r   r   r   )r   r   r6   Nonerf   r5   )r7   r8   r9   r:   r;   r   r<   r   r   r   r   r   r   rd   r   preload_modulerN   r=   rS   r$   r"   r   r     s    
  $I}#N*.F'.E$(D
!( #G^"G#(D( !&""&$$ !$ ,	$
 &$ $ $  $$ 
 45J 6Jr$   r   c                  |   \ rS rSrSrSr\\    S                 SS jj5       5       r\\    S                 SS jj5       5       r\\    S                 SS jj5       5       r\    S                 SS jj5       rSS	 jr	    S             SS
 jjr
Srg)
DBAPIErrori  a  Raised when the execution of a database operation fails.

Wraps exceptions raised by the DB-API underlying the
database operation.  Driver-specific implementations of the standard
DB-API exception types are wrapped by matching sub-types of SQLAlchemy's
:class:`DBAPIError` when possible.  DB-API's ``Error`` type maps to
:class:`DBAPIError` in SQLAlchemy, otherwise the names are identical.  Note
that there is no guarantee that different DB-API implementations will
raise the same exception type for any given error condition.

:class:`DBAPIError` features :attr:`~.StatementError.statement`
and :attr:`~.StatementError.params` attributes which supply context
regarding the specifics of the statement which had an issue, for the
typical case when the error was raised within the context of
emitting a SQL statement.

The wrapped exception object is available in the
:attr:`~.StatementError.orig` attribute. Its type and properties are
DB-API implementation specific.

dbapiNc	                    g rQ   rS   	clsr   r   r   dbapi_base_errr   r   dialectr   s	            r"   instanceDBAPIError.instance4  s     r$   c	                    g rQ   rS   r   s	            r"   r   r  B       r$   c	                    g rQ   rS   r   s	            r"   r   r  P  r  r$   c	           
     H   [        U[        5      (       a  [        U[        5      (       a  [        U[        5      (       a  U$ UGbH  [        U[        5      (       aa  U(       aZ  [        SUR                  R                  < SUR                  R                  < SUR                  S   < 3UUUUUR                  US9$ [        X45      (       dI  U(       aB  [        SUR                  R                  < SUR                  R                  < SU< 3UUUUUS9$ [        5       n	UR                  R                   HU  n
U
R                  nU(       a  UR                  R                  X5      nX;   d  M8  [        X   [         5      (       d  MQ  X   n   O   U " UUUUUU R                  US9$ )N(.) r   )r   r   r   )r   r   )r   r   r   r   )rF   BaseException	Exceptionr   rA   r   r!   r8   r7   rE   r   globals__mro__dbapi_exception_translation_mapr   
issubclassr   )r   r   r   r   r   r   r   r   r   globsuper_names               r"   r   r  ^  sq    t]++JtY4O4Om,,K $00Y% 11//		!	 $3#   55)% 11//	 $3#  9D..00"BBFFD <Jtz:$F$F*C 1 #9+
 	
r$   c           	         U R                   U R                  U R                  U R                  U R                  U R
                  U R                  R                  S5      U R                  4SU R                  04$ )Nr   r   )
r!   r   r   r   r   r   r   r   r   r   r+   s    r"   rd   DBAPIError.__reduce__  sf    NN		$$++!!&) t{{#
 	
r$   c                    [        U5      n[        R                  U SUR                  R
                  < SUR                  R                  < SU< 3UUUUUUS9  XPl        g ! [         a  n	S[        U	5      -   n S n	A	NrS n	A	ff = f)Nz.Error in str() of DB-API-generated exception: r  r  r  )r   r   )r   r
  r   r   r!   r8   r7   r   )
r   r   r   r   r   r   r   r   rJ   es
             r"   r   DBAPIError.__init__  s    	Mt9D 	~~(($..*A*A4I 	  
	
 '=#  	MCc!fLD	Ms   A" "
B,A??B)r   )FFNN)r   r   r   r   r   r
  r   Type[Exception]r   r   r   r   r   Optional[Dialect]r   r   r6   r   )r   r   r   r   r   r   r   r  r   r   r   r   r   r  r   r   r6   r   )r   r   r   r   r   r	  r   r  r   r   r   r   r   r  r   r   r6   r	  )r   r   r   r   r   #Union[BaseException, DontWrapMixin]r   r  r   r   r   r   r   r  r   r   r6   r  rf   )r   r   r   r   r   r	  r   r   r   r   r   r   r   r   )r7   r8   r9   r:   r;   r   r   classmethodr   rd   r   r=   rS   r$   r"   r   r     sy   , D !&',%)"&
 
 ,
 	

 (
 
 !%
 #
  
 

  
  !&',%)"&
 
 ,
 	

 (
 
 !%
 #
  
 

  
  !&',%)"&
 
 ,
 	

 (
 
 !%
 #
  
 

  
  !&',%)"&F
 F
 ,F
 2	F

 (F
 F
 !%F
 #F
  F
 
-F
 F
P
( !&',""&= = ,= 	=
 = !%= =  = =r$   r   c                      \ rS rSrSrSrSrg)InterfaceErrori  zWraps a DB-API InterfaceError.rvf5rS   Nr   rS   r$   r"   r  r    
    (Dr$   r  c                      \ rS rSrSrSrSrg)DatabaseErrori  zWraps a DB-API DatabaseError.4xp6rS   Nr   rS   r$   r"   r   r     
    'Dr$   r   c                      \ rS rSrSrSrSrg)	DataErrori  zWraps a DB-API DataError.9h9hrS   Nr   rS   r$   r"   r$  r$    s
    #Dr$   r$  c                      \ rS rSrSrSrSrg)OperationalErrori  z Wraps a DB-API OperationalError.e3q8rS   Nr   rS   r$   r"   r'  r'    
    *Dr$   r'  c                      \ rS rSrSrSrSrg)IntegrityErrori  zWraps a DB-API IntegrityError.gkpjrS   Nr   rS   r$   r"   r+  r+    r  r$   r+  c                      \ rS rSrSrSrSrg)InternalErrori  zWraps a DB-API InternalError.2j85rS   Nr   rS   r$   r"   r.  r.    r"  r$   r.  c                      \ rS rSrSrSrSrg)ProgrammingErrori  z Wraps a DB-API ProgrammingError.f405rS   Nr   rS   r$   r"   r1  r1    r)  r$   r1  c                      \ rS rSrSrSrSrg)NotSupportedErrori  z!Wraps a DB-API NotSupportedError.tw8grS   Nr   rS   r$   r"   r4  r4    s
    +Dr$   r4  c                      \ rS rSrSrSrg)SATestSuiteWarningi  zwarning for a condition detected during tests that is non-fatal

Currently outside of SAWarning so that we can work around tools like
Alembic doing the wrong thing with warnings.

rS   NrW   rS   r$   r"   r7  r7    r\   r$   r7  c                  (    \ rS rSr% SrSrS\S'   Srg)SADeprecationWarningi  z$Issued for usage of deprecated APIs.Nr   deprecated_sincerS   r7   r8   r9   r:   r;   r:  r<   r=   rS   r$   r"   r9  r9    s    .&*m*Ir$   r9  c                  B   ^  \ rS rSr% SrSrS\S'    SU 4S jjrSrU =r	$ )	Base20DeprecationWarningi  zIssued for usage of APIs specifically deprecated or legacy in
SQLAlchemy 2.0.

.. seealso::

    :ref:`error_b8d9`.

    :ref:`deprecation_20_mode`

z1.4r   r:  c                &   > [         TU ]  5       S-   $ )Nz> (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9))r   r1   )r   r!   s    r"   r1    Base20DeprecationWarning.__str__$  s    GONO	
r$   rS   r5   )
r7   r8   r9   r:   r;   r:  r<   r1   r=   r>   r?   s   @r"   r=  r=    s"    	 ',m+I
 
r$   r=  c                      \ rS rSrSrSrg)LegacyAPIWarningi+  zEindicates an API that is in 'legacy' status, a long term deprecation.rS   NrW   rS   r$   r"   rA  rA  +  s    Or$   rA  c                      \ rS rSrSrSrg)MovedIn20Warningi/  zASubtype of RemovedIn20Warning to indicate an API that moved only.rS   NrW   rS   r$   r"   rC  rC  /  r   r$   rC  c                  (    \ rS rSr% SrSrS\S'   Srg)SAPendingDeprecationWarningi3  zuA similar warning as :class:`_exc.SADeprecationWarning`, this warning
is not used in modern versions of SQLAlchemy.

Nr   r:  rS   r;  rS   r$   r"   rE  rE  3  s    
 '+m*Ir$   rE  c                      \ rS rSrSrSrSrg)	SAWarningi=  zIssued at runtime.warningrS   N)r7   r8   r9   r:   r;   r*   r=   rS   r$   r"   rG  rG  =  s
    Lr$   rG  )Rr;   
__future__r   typingr   r   r   r   r   r	   r
   r   r   r   r   TYPE_CHECKINGengine.interfacesr   r   sql.compilerr   r   sql.elementsr   r<   r   r   r
  rA   rU   rZ   r^   rh   rk   rn   rq   rt   r   r   r   r   r   r   r   r   r   r   r   KeyErrorr   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r   r$  r'  r+  r.  r1  r4  Warningr7  DeprecationWarningr9  r=  rA  rC  PendingDeprecationWarningrE  RuntimeWarningrG  rS   r$   r"   <module>rT     s   #          )	4*&*+	 N :+#() +#\O = .} ./ /
 
. .
M (
o (
V=? =P, P<Fo F" "!, !$K? K/ 1 "/ "
. (- (
<+X <	' 	. * ' ) ?- ?
. 
$B* B1 L/ L 0VJ_ VJrt= t=nZ J  } ] M }   J-/A J
3 
,P/ PL/ LJ"; J"N r$   