Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
exc.cpython-313.pyc338 linesDownload Raw Back to __pycache__
1�

2��j�`��j�%SrSSKJr SSKrSSKJr SSKJr SSKJr SSKJr SSKJr SS	KJ	r	 SS3KJ4r5 SSKJr SS
KJ
r \R(aSSKJr SSKJr SSKJr SSKJr SSKJr \R(aS\S'OSr"SS5r"SS\\5r"SS\5r"SS\5r"SS\5r"SS \5r "S!S"\5r!"S#S$\5r""S%S&\5r#"S'S(\5r$"S)S*\5r%"S+S,\%5r&"S-S.\5r'"S/S0\5r("S1S2\(5r)"S3S4\5r*"S5S6\5r+"S7S8\+5r,"S9S:\+5r-"S;S<\+5r."S=S>\+5r/"S?S@\+\05r1"SASB\+5r2"SCSD\+5r3"SESF\+5r4"SGSH\+5r5"SISJ\+5r6"SKSL\45r7"SMSN\45r8"SOSP\+5r9"SQSR\+5r:"SSST\+5r;"SUSV5r<"SWSX\5r="SYSZ\=5r>"S[S\\>5r?"S]S^\>5r@"S_S`\@5rA"SaSb\@5rB"ScSd\@5rC"SeSf\@5rD"SgSh\@5rE"SiSj\@5rF"SkSl\G5rH"SmSn\\I5rJ"SoSp\J5rK"SqSr\K5rL"SsSt\K5rM"SuSv\N5rO"SwSx\\P5rQg)yz�Exceptions used with SQLAlchemy.6 7The base exception class is :exc:`.SQLAlchemyError`.  Exceptions which are8raised as a result of DBAPI exceptions are all subclasses of9:exc:`.DBAPIError`.10 11�)�annotationsN)�Any)�List)�Optional)�overload)�Tuple)�Type)�Union�)�compat)�	preloaded)�_AnyExecuteParams)�Dialect)�Compiled)�TypeCompiler)�
ClauseElement�str�_version_tokenc�^^�\rSrSr%SrSrS\S'SU4SjjrSrSSjr	SU4S	jjr12S13rU=r$)
�HasDescriptionCode�+zDhelper which adds 'code' as an attribute and '_code_str' as a methodN�
Optional[str]�codec�\>�URSS5nUbX0l[TU]"U0UD6 g)Nr)�popr�super�__init__)�self�arg�kwr�	__class__s    ��TD:\code\apps\devtools\python\user_packages\Python313\site-packages\sqlalchemy/exc.pyr�HasDescriptionCode.__init__0s0����v�v�f�d�#�����I�
���#�$��$��errorc�n�UR(dgSURS[SURS3$)N�z(Background on this z at: https://sqlalche.me/e/�/�))r�_what_are_wer�rs r"�	_code_str�HasDescriptionCode._code_str8s>���y�y��'�t�'8�'8�&9�:)�)7�(8��$�)�)��A�G�
r$c�t>�[TU]5nUR(aU<SUR5<3nU$�N� )r�__str__rr,)r�messager!s  �r"r1�HasDescriptionCode.__str__As,����'�/�#���9�9�!(�$�.�.�*:�;�G��r$�r)rrr r��returnr)
�__name__�14__module__�__qualname__�__firstlineno__�__doc__r�__annotations__rr*r,r1�__static_attributes__�
__classcell__�r!s@r"rr+s+���N��D�-��%��L���r$rc�6�\rSrSrSrSSjrSSjrSSjrSrg)	�SQLAlchemyError�HzGeneric error class.c���[UR5S:XaJURSn[U[5(a[R15"US5nU$[
U5nU$[
UR5$)Nrrzutf-8)�len�args�16isinstance�bytesr�decode_backslashreplacer)r�arg_text�texts   r"�_message�SQLAlchemyError._messageKsg���t�y�y�>�Q���y�y��|�H��(�E�*�*��5�5�h��H���K��8�}���K�17�t�y�y�>�!r$c�v�UR5nUR(aU<SUR5<3nU$r/)rKrr,)rr2s  r"�_sql_message�SQLAlchemyError._sql_messagejs*���-�-�/���9�9�!(�$�.�.�*:�;�G��r$c�"�UR5$�N)rNr+s r"r1�SQLAlchemyError.__str__rs��� � �"�"r$�Nr5)	r7r8r9r:r;rKrNr1r=rSr$r"rArAHs���"�>�#r$rAc��\rSrSrSrSrg)�
ArgumentError�vz�Raised when an invalid or conflicting function argument is supplied.18 19This error generally corresponds to construction time state errors.20 21rSN�r7r8r9r:r;r=rSr$r"rUrUv���r$rUc��\rSrSrSrSrg)�DuplicateColumnError�~z�a Column is being added to a Table that would replace another22Column, without appropriate parameters to allow this in place.23 24.. versionadded:: 2.0.0b425 26rSNrWrSr$r"rZrZ~���r$rZc�:^�\rSrSrSrSU4SjjrSSjrSrU=r$)�ObjectNotExecutableError�zNRaised when an object is passed to .execute() that can't be27executed as SQL.28 29c�6>�[TU]SU-5 Xlg)NzNot an executable object: %r)rr�target)rrar!s  �r"r�!ObjectNotExecutableError.__init__�s���
���7�&�@�A��r$c�4�URUR44$rQ)r!rar+s r"�30__reduce__�#ObjectNotExecutableError.__reduce__�s���~�~����~�-�-r$)ra)rar�r6zUnion[str, Tuple[Any, ...]])	r7r8r9r:r;rrdr=r>r?s@r"r^r^�s����31�.�.r$r^c��\rSrSrSrSrg)�NoSuchModuleError�zlRaised when a dynamically-loaded module (usually a database dialect)32of a particular name cannot be located.rSNrWrSr$r"rhrh�s��/r$rhc��\rSrSrSrSrg)�NoForeignKeysError�zQRaised when no foreign keys can be located between two selectables33during a join.rSNrWrSr$r"rkrk�s��r$rkc��\rSrSrSrSrg)�AmbiguousForeignKeysError�zdRaised when more than one foreign key matching can be located34between two selectables during a join.rSNrWrSr$r"rnrn�s��.r$rnc��\rSrSrSrSrg)�ConstraintColumnNotFoundError�z�raised when a constraint refers to a string column name that35is not present in the table being constrained.36 37.. versionadded:: 2.038 39rSNrWrSr$r"rqrq�r\r$rqc�F�\rSrSrSrSSSjjrS	SjrSrg)40�CircularDependencyError�a�Raised by topological sorts when a circular dependency is detected.41 42There are two scenarios where this error occurs:43 44* In a Session flush operation, if two objects are mutually dependent45  on each other, they can not be inserted or deleted via INSERT or46  DELETE statements alone; an UPDATE will be needed to post-associate47  or pre-deassociate one of the foreign key constrained values.48  The ``post_update`` flag described at :ref:`post_update` can resolve49  this cycle.50* In a :attr:`_schema.MetaData.sorted_tables` operation, two51  :class:`_schema.ForeignKey`52  or :class:`_schema.ForeignKeyConstraint` objects mutually refer to each53  other.  Apply the ``use_alter=True`` flag to one or both,54  see :ref:`use_alter`.55 56Nc��UcUSSRSU55--
nOUn[RXUS9 X lX0lg)Nz (%s)z, c3�8# �UHn[U5v� M g7frQ)�repr)�.0�ss  r"�	<genexpr>�3CircularDependencyError.__init__.<locals>.<genexpr>�s���*C�F�q�4��7�7�F�s�r4)�joinrAr�cycles�edges)rr2r~r�msgrs      r"r� CircularDependencyError.__init__�sI���;��w����*C�F�*C�!C�C�C�G��G�� � ��T� �:����57r$c��URSURURURS4URbSUR04$04$)Nrr)r!r~rrErr+s r"rd�"CircularDependencyError.__reduce__�sT���N�N�
�4�;�;��58�59�D�I�I�a�L�9�#'�9�9�#8�V�T�Y�Y��60�	61�?A�62�	63r$)r~r)NN)64r2rr~rrrr�rrrrf�r7r8r9r:r;rrdr=rSr$r"rtrt�sI���."�"�
������	�65���
� 66r$rtc��\rSrSrSrSrg)�CompileError��z2Raised when an error occurs during SQL compilationrSNrWrSr$r"r�r��s��<r$r�c�N^�\rSrSrSrSrSSU4SjjjrS	SjrSrU=r	$)67�UnsupportedCompilationError��z�Raised when an operation is not supported by the given compiler.68 69.. seealso::70 71    :ref:`faq_sql_expression_string`72 73    :ref:`error_l7de`74�l7dec�v>�[TU]SU<SU<U(aSU-OS<35 XlX lX0lg)Nz	Compiler z can't render element of type z: %sr')rr�compiler�element_typer2)rr�r�r2r!s    �r"r�$UnsupportedCompilationError.__init__�s=���	�����7�v��'7��'J�
L�	75�!�
�(���r$c�`�URURURUR44$rQ)r!r�r�r2r+s r"rd�&UnsupportedCompilationError.__reduce__�s&���~�~��
�
�t�/@�/@�$�,�,�O�O�Or$)r�r�r2rQ)r�zUnion[Compiled, TypeCompiler]r�zType[ClauseElement]r2rrf)76r7r8r9r:r;rrrdr=r>r?s@r"r�r��sF�����D�"&�	�/��*���	��P�Pr$r�c��\rSrSrSrSrg)�IdentifierError��z;Raised when a schema name is beyond the max character limitrSNrWrSr$r"r�r��s��Er$r�c�(�\rSrSr%SrSrS\S'Srg)�DisconnectionError��a�A disconnect is detected on a raw DB-API connection.77 78This error is raised and consumed internally by a connection pool.  It can79be raised by the :meth:`_events.PoolEvents.checkout`80event so that the host pool81forces a retry; the exception will be caught three times in a row before82the pool gives up and raises :class:`~sqlalchemy.exc.InvalidRequestError`83regarding the connection attempt.84 85F�bool�invalidate_poolrSN�r7r8r9r:r;r�r<r=rSr$r"r�r��s��	�"�O�T�!r$r�c�(�\rSrSr%SrSrS\S'Srg)�InvalidatePoolErrori
a�Raised when the connection pool should invalidate all stale connections.86 87A subclass of :class:`_exc.DisconnectionError` that indicates that the88disconnect situation encountered on the connection probably means the89entire pool should be invalidated, as the database has been restarted.90 91This exception will be handled otherwise the same way as92:class:`_exc.DisconnectionError`, allowing three attempts to reconnect93before giving up.94 95.. versionadded:: 1.296 97Tr�r�rSNr�rSr$r"r�r�
s���!�O�T� r$r�c��\rSrSrSrSrg)�TimeoutErroriz@Raised when a connection pool times out on getting a connection.rSNrWrSr$r"r�r�s��Jr$r�c��\rSrSrSrSrg)�InvalidRequestErrori#znSQLAlchemy was asked to do something it can't do.98 99This error generally corresponds to runtime state errors.100 101rSNrWrSr$r"r�r�#rXr$r�c��\rSrSrSrSrg)�IllegalStateChangeErrori+zfAn object that tracks state encountered an illegal state change102of some kind.103 104.. versionadded:: 2.0105 106rSNrWrSr$r"r�r�+r\r$r�c��\rSrSrSrSrg)�NoInspectionAvailablei4z]A subject passed to :func:`sqlalchemy.inspection.inspect` produced107no context for inspection.rSNrWrSr$r"r�r�4s��"r$r�c��\rSrSrSrSrg)�PendingRollbackErrori9z`A transaction has failed and needs to be rolled back before108continuing.109 110.. versionadded:: 1.4111 112rSNrWrSr$r"r�r�9r\r$r�c��\rSrSrSrSrg)�ResourceClosedErroriBz_An operation was requested from a connection, cursor, or other113object that's in a closed state.rSNrWrSr$r"r�r�Bs��(r$r�c��\rSrSrSrSrg)�NoSuchColumnErroriGz1A nonexistent column is requested from a ``Row``.rSNrWrSr$r"r�r�Gs��;r$r�c��\rSrSrSrSrg)�
NoResultFoundiKz�A database result was required but none was found.114 115 116.. versionchanged:: 1.4  This exception is now part of the117   ``sqlalchemy.exc`` module in Core, moved from the ORM.  The symbol118   remains importable from ``sqlalchemy.orm.exc``.119 120 121rSNrWrSr$r"r�r�Ks��r$r�c��\rSrSrSrSrg)�MultipleResultsFoundiWz�A single database result was required but more than one were found.122 123.. versionchanged:: 1.4  This exception is now part of the124   ``sqlalchemy.exc`` module in Core, moved from the ORM.  The symbol125   remains importable from ``sqlalchemy.orm.exc``.126 127 128rSNrWrSr$r"r�r�Ws��r$r�c�$�\rSrSr%SrS\S'Srg)�NoReferenceErroribzDRaised by ``ForeignKey`` to indicate a reference cannot be resolved.r�129table_namerSN)r7r8r9r:r;r<r=rSr$r"r�r�bs130��N��Or$r�c��\rSrSrSrSrSrg)�
AwaitRequiredihzbError raised by the async greenlet spawn if no async operation131was awaited when it required one.132 133�xd1rrSN�r7r8r9r:r;rr=rSr$r"r�r�h����134�Dr$r�c��\rSrSrSrSrSrg)�MissingGreenletiqzcError raised by the async greenlet await\_ if called while not inside135the greenlet spawn context.136 137�xd2srSNr�rSr$r"r�r�qr�r$r�c�,�\rSrSrSrSSjrSSjrSrg)	�NoReferencedTableErrorizzIRaised by ``ForeignKey`` when the referred ``Table`` cannot be138located.139 140c�:�[RX5 X lgrQ)r�rr�)rr2�tnames   r"r�NoReferencedTableError.__init__�s���!�!�$�0��r$c�P�URURSUR44$�Nr)r!rEr�r+s r"rd�!NoReferencedTableError.__reduce__�s"���~�~��	�	�!��d�o�o�>�>�>r$)r�N)r2rr�rrfr�rSr$r"r�r�zs���141 �?r$r�c�,�\rSrSrSrSSjrSSjrSrg)	�NoReferencedColumnErrori�zJRaised by ``ForeignKey`` when the referred ``Column`` cannot be142located.143 144c�F�[RX5 X lX0lgrQ)r�rr��column_name)rr2r��cnames    r"r� NoReferencedColumnError.__init__�s���!�!�$�0��� �r$c�f�URURSURUR44$r�)r!rEr�r�r+s r"rd�"NoReferencedColumnError.__reduce__�s/���N�N�
�Y�Y�q�\�4�?�?�D�,<�,<�=�145�	146r$)r�r�N)r2rr�rr�rrfr�rSr$r"r�r��s���147!�148149r$r�c��\rSrSrSrSrg)�NoSuchTableErrori�z7Table does not exist or is not visible to a connection.rSNrWrSr$r"r�r��s��Ar$r�c��\rSrSrSrSrg)�UnreflectableTableErrori�zMTable exists but can't be reflected for some reason.150 151.. versionadded:: 1.2152 153rSNrWrSr$r"r�r��rXr$r�c��\rSrSrSrSrg)�UnboundExecutionErrori�zASQL was attempted without a database connection to execute it on.rSNrWrSr$r"r�r�����Kr$r�c��\rSrSrSrSrg)�
DontWrapMixini�a154A mixin class which, when applied to a user-defined Exception class,155will not be wrapped inside of :exc:`.StatementError` if the error is156emitted within the process of executing a statement.157 158E.g.::159 160    from sqlalchemy.exc import DontWrapMixin161 162 163    class MyCustomException(Exception, DontWrapMixin):164        pass165 166 167    class MySpecialType(TypeDecorator):168        impl = String169 170        def process_bind_param(self, value, dialect):171            if value == "invalid":172                raise MyCustomException("invalid!")173 174rSNrWrSr$r"r�r��s��r$r�c���\rSrSr%SrSrS\S'SrS\S'SrS\S	'Sr	S175\S'Sr176S
\S'SSSjjrSSjrSSjr
\R"S5SSj5rSrg)�StatementErrori�aZAn error occurred during execution of a SQL statement.177 178:class:`StatementError` wraps the exception raised179during execution, and features :attr:`.statement`180and :attr:`.params` attributes which supply context regarding181the specifics of the statement which had an issue.182 183The wrapped exception object is available in184the :attr:`.orig` attribute.185 186Nr�	statement�Optional[_AnyExecuteParams]�params�Optional[BaseException]�orig�Optional[bool]�ismultiFr��connection_invalidatedc�v�[RXUS9 X lX0lX@lXplXPl/Ulg)Nr4)rArr�r�r�r��hide_parameters�detail)rr2r�r�r�r�rr�s        r"r�StatementError.__init__�s8��	� � ��T� �:�"�����	���.��!#��r$c�:�URRU5 grQ)r��append)rr�s  r"�187add_detail�StatementError.add_detail�s�������3�r$c	���URURSURURURUR188URRS5UR4SUR04$)Nrrr�)189r!rEr�r�r�r��__dict__�getr�r�r+s r"rd�StatementError.__reduce__�sh���N�N��	�	�!���������	�	��$�$��
�
�!�!�&�)����
��t�{�{�#�190�	191r$zsqlalchemy.sql.utilc�>�[RnUR5/nUR(a�SUR-nUR	U5 UR192(a\UR(aUR	S5 O9URUR193SURS9nUR	SU-5 UR5nU(aUR	U5 SRURVs/sHnSU-PM194 snU-5$s snf)Nz	[SQL: %s]z3[SQL parameters hidden due to hide_parameters=True]�195)r�z[parameters: %r]�196z(%s))�197_preloaded�sql_utilrKr�r�r�r��_repr_paramsr�r,r}r�)r�util�details�stmt_detail�params_repr�code_str�dets       r"rN�StatementError._sql_messages����"�"���=�=�?�#���>�>�%����6�K��N�N�;�'��{�{��'�'��N�N�M��#'�"3�"3����R����#4�#�K��N�N�#5��#C�D��>�>�#����N�N�8�$��y�y�$�+�+�>�+�3�&�3�,�+�>��H�I�I��>s�D)r�r�r�r�r�r�)FNN)r2rr�rr�r�r�r�r�r�rrr�r�)r�rr6�Nonerfr5)r7r8r9r:r;r�r<r�r�r�r�rr�rdr��preload_modulerNr=rSr$r"r�r��s���198� $�I�}�#�N�*.�F�'�.�E�$(�D�199!�(��#�G�^�"�G�#(��D�(�!&�"�"&�$��$�!�$�,�	$�200&�$��
$��$� �$�$ �
201����4�5�J�6�Jr$r�c�|�\rSrSrSrSr\\SS
Sjj55r\\SSSjj55r\\SSSjj55r\SSSjj5rSS	jr	SSS202jjr203Srg)�204DBAPIErroria�Raised when the execution of a database operation fails.205 206Wraps exceptions raised by the DB-API underlying the207database operation.  Driver-specific implementations of the standard208DB-API exception types are wrapped by matching sub-types of SQLAlchemy's209:class:`DBAPIError` when possible.  DB-API's ``Error`` type maps to210:class:`DBAPIError` in SQLAlchemy, otherwise the names are identical.  Note211that there is no guarantee that different DB-API implementations will212raise the same exception type for any given error condition.213 214:class:`DBAPIError` features :attr:`~.StatementError.statement`215and :attr:`~.StatementError.params` attributes which supply context216regarding the specifics of the statement which had an issue, for the217typical case when the error was raised within the context of218emitting a SQL statement.219 220The wrapped exception object is available in the221:attr:`~.StatementError.orig` attribute. Its type and properties are222DB-API implementation specific.223 224�dbapiNc	��grQrS�	�clsr�r�r��dbapi_base_errr�r��dialectr�s	         r"�instance�DBAPIError.instance4s��r$c	��grQrSr�s	         r"rrB���r$c	��grQrSr�s	         r"rrPrr$c	225�H�[U[5(a[U[5(a[U[5(aU$UGbH[U[5(aaU(aZ[SURR<SURR<SURS<3UUUUURUS9$[X45(dIU(aB[SURR<SURR<SU<3UUUUUS9$[5n	URRHUn226U227RnU(aURRX�5nX�;dM8[X�[ 5(dMQX�n O U"UUUUUURUS9$)N�(�.�) r)r�rr�)r�r�)r�r�rr�)rF�
BaseException�	Exceptionr�rAr�r!r8r7rEr�globals�__mro__�dbapi_exception_translation_mapr��228issubclassr�)r�r�r�r�r�r�r�r�r��glob�super_�names            r"rr^sq��
�t�]�+�+�J�t�Y�4O�4O�
��m�
,�
,��K����$��0�0�Y�%����1�1����/�/��	�	�!��	����$3����#�
�
� ��5�5�)�%����1�1����/�/��	����$3�#����9�D��.�.�0�0�������"�B�B�F�F���D��<�J�t�z�:�$F�$F��*�C��1�����#9�+�����229�	230r$c	���URURURURURUR231URRS5UR4SUR04$)Nrr�)232r!r�r�r�r�r�r�r�r�r�r+s r"rd�DBAPIError.__reduce__�sf���N�N��������	�	��$�$��+�+��
�
�!�!�&�)����
��t�{�{�#�233�	234r$c��[U5n[RUSURR235<SURR<SU<3UUUUUUS9 XPlg![an	S[U	5-nSn	A	NrSn	A	ff=f)Nz.Error in str() of DB-API-generated exception: rrr)rr�)rr236r�rr!r8r7r�)237rr�r�r�r�r�rr�rJ�es238          r"r�DBAPIError.__init__�s���	M��t�9�D�	�����~�~�(�(�$�.�.�*A�*A�4�
I�������	 �239	240�'=�#���	M�C�c�!�f�L�D��	M�s�A"�"241B�,A?�?B)r�)FFNN)r�rr�r�r�r242r��Type[Exception]r�r�r�r�r��Optional[Dialect]r�r�r6r�)r�rr�r�r�r�r�rr�r�r�r�r�rr�r�r6r�)r�rr�r�r�r	r�rr�r�r�r�r�rr�r�r6r	)r�rr�r�r��#Union[BaseException, DontWrapMixin]r�rr�r�r�r�r�rr�r�r6rrf)r�rr�r�r�r	r�r�r�r�rrr�r�)r7r8r9r:r;rr�classmethodrrdrr=rSr$r"r�r�sy���,�D�
��!&�',�%)�"&�243� �244�,�245��	246�247(�248��
249�!%�250�#�251� �252�253�254���255���!&�',�%)�"&�256� �257�,�258��	259�260(�261��
262�!%�263�#�264� �265�266�267���268���!&�',�%)�"&�269� �270�,�271��	272�273(�274��
275�!%�276�#�277� �278�279�280���281��!&�',�%)�"&�F282� �F283�,�F284�2�	F285�286(�F287��
F288�!%�F289�#�F290� �F291�292-�F293��F294�P
295�(!&�',�"�"&�=� �=�,�=��	=�296�=�!%�
=��=� �=�=r$r�c��\rSrSrSrSrSrg)�InterfaceErrori�zWraps a DB-API InterfaceError.�rvf5rSNr�rSr$r"rr��297��(��Dr$rc��\rSrSrSrSrSrg)�
DatabaseErrori�zWraps a DB-API DatabaseError.�4xp6rSNr�rSr$r"r r ��298��'��Dr$r c��\rSrSrSrSrSrg)�	DataErrori�zWraps a DB-API DataError.�9h9hrSNr�rSr$r"r$r$�s299��#��Dr$r$c��\rSrSrSrSrSrg)�OperationalErrori�z Wraps a DB-API OperationalError.�e3q8rSNr�rSr$r"r'r'��300��*��Dr$r'c��\rSrSrSrSrSrg)�IntegrityErrori�zWraps a DB-API IntegrityError.�gkpjrSNr�rSr$r"r+r+�rr$r+c��\rSrSrSrSrSrg)�
InternalErrori�zWraps a DB-API InternalError.�2j85rSNr�rSr$r"r.r.�r"r$r.c��\rSrSrSrSrSrg)�ProgrammingErrori�z Wraps a DB-API ProgrammingError.�f405rSNr�rSr$r"r1r1�r)r$r1c��\rSrSrSrSrSrg)�NotSupportedErrori�z!Wraps a DB-API NotSupportedError.�tw8grSNr�rSr$r"r4r4�s301��+��Dr$r4c��\rSrSrSrSrg)�SATestSuiteWarningiz�warning for a condition detected during tests that is non-fatal302 303Currently outside of SAWarning so that we can work around tools like304Alembic doing the wrong thing with warnings.305 306rSNrWrSr$r"r7r7r\r$r7c�(�\rSrSr%SrSrS\S'Srg)�SADeprecationWarningiz$Issued for usage of deprecated APIs.Nr�deprecated_sincerS�r7r8r9r:r;r:r<r=rSr$r"r9r9s��.�&*��m�*�Ir$r9c�B^�\rSrSr%SrSrS\S'SU4SjjrSrU=r	$)	�Base20DeprecationWarningiz�Issued for usage of APIs specifically deprecated or legacy in307SQLAlchemy 2.0.308 309.. seealso::310 311    :ref:`error_b8d9`.312 313    :ref:`deprecation_20_mode`314 315z1.4rr:c�&>�[TU]5S-$)Nz> (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9))rr1)rr!s �r"r1� Base20DeprecationWarning.__str__$s����G�O��N�
O�	316r$rSr5)317r7r8r9r:r;r:r<r1r=r>r?s@r"r=r=s"���	�',��m�+�I�318�319r$r=c��\rSrSrSrSrg)�LegacyAPIWarningi+zEindicates an API that is in 'legacy' status, a long term deprecation.rSNrWrSr$r"rArA+s��Or$rAc��\rSrSrSrSrg)�MovedIn20Warningi/zASubtype of RemovedIn20Warning to indicate an API that moved only.rSNrWrSr$r"rCrC/r�r$rCc�(�\rSrSr%SrSrS\S'Srg)�SAPendingDeprecationWarningi3zuA similar warning as :class:`_exc.SADeprecationWarning`, this warning320is not used in modern versions of SQLAlchemy.321 322Nrr:rSr;rSr$r"rErE3s���323'+��m�*�Ir$rEc��\rSrSrSrSrSrg)�	SAWarningi=zIssued at runtime.�warningrSN)r7r8r9r:r;r*r=rSr$r"rGrG=s324����Lr$rG)Rr;�325__future__r�typingrrrrrr	r326r�rr
r��
TYPE_CHECKING�engine.interfacesrr�sql.compilerrr�sql.elementsrr<rrr327rArUrZr^rhrkrnrqrtr�r�r�r�r�r�r�r�r�r�r��KeyErrorr�r�r�r�r�r�r�r�r�r�r�r�r�r�rr r$r'r+r.r1r4�Warningr7�DeprecationWarningr9r=rArC�PendingDeprecationWarningrE�RuntimeWarningrGrSr$r"�<module>rTs����#�
���������)�	���4�*�&�*�+�	������N���:+#�(�)�+#�\�O���=��.�}�.�/�
�/�328���329.�
�.�330�M��(331�o�(332�V=�?�=�P�,�P�<F�o�F�"��"�!�,�!�$K�?�K��/���1��"�/�"�333�.��(�-�(�334<�+�X�<�	�'�	��.���*���'���)��?�-�?�335�.�336�$B�*�B��1��L�/�L���0VJ�_�VJ�rt=��t=�n�Z���J���
���}���]���M���}���
�����J�-�/A�J�337�3�338�,P�/�P�L�/�L�J�";�J��"�N�r$
codekingpro/portable-devtools · Team Ai