OwlCyberSecurity - MANAGER
Edit File: exc.cpython-311.pyc
� ������h�E�����������������������8����d�Z�ddlmZ�ddlmZ�dZ�G�d��de������������Z�G�d��de������������Z�G�d ��d e������������Z�G�d��de������������Z �G�d ��de������������Z �G�d��de������������Z�G�d��de������������Z�G�d��de������������Z �G�d��de ������������Z�G�d��de������������Z�G�d��de������������Z�G�d��de������������Z�G�d��de������������Z�G�d��d e������������Z�G�d!��d"e������������Z�G�d#��d$e������������Z�G�d%��d&ee������������Z�G�d'��d(e������������Z�G�d)��d*e������������Z�G�d+��d,e������������Z�G�d-��d.e������������Z�G�d/��d0e������������Z�G�d1��d2e������������Z�G�d3��d4e������������ZdZ �G�d5��d6e������������Z!�G�d7��d8e!������������Z"�G�d9��d:e"������������Z#�G�d;��d<e"������������Z$�G�d=��d>e$������������Z%�G�d?��d@e$������������Z&�G�dA��dBe$������������Z'�G�dC��dDe$������������Z(�G�dE��dFe$������������Z)�G�dG��dHe$������������Z*�G�dI��dJe+������������Z,�G�dK��dLe-������������Z.�G�dM��dNe/������������Z0dS�)Oz�Exceptions 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`. ����)� _preloaded)�compatNc��������������������R�������e�Zd�ZdZdZ��fd�Zd��Zej��������fd�Z d��Z d��Zd��Z��xZ S�) �SQLAlchemyErrorzGeneric error class.Nc������������������������|����������������������dd�������������}|�||�_���������t����������t����������|�������������j��������|i�|���d�S�)N�code)�popr����superr����__init__)�self�arg�kwr���� __class__s��� ��E/opt/cloudlinux/venv/lib64/python3.11/site-packages/sqlalchemy/exc.pyr���zSQLAlchemyError.__init__���sK��������v�v�f�d�#�#�����D�I�-��o�t�$�$�-�s�9�b�9�9�9�9�9�����c������������������:�����|�j���������sdS�dt�����������d|�j����������d�S�)N��z3(Background on this error at: http://sqlalche.me/e/�/�))r����_version_token�r���s��� r���� _code_strzSQLAlchemyError._code_str!���s2�������y�� ��2� ��#�N�N��I�I�I� � r���c������������������@����t����������|�j��������������������dk����rs|�j��������d���������}|r0t����������|t����������j��������������������rt����������j��������|d������������}n2t����������j��������s|st����������|������������}nt����������j��������|������������}|S�t����������|�j��������������������S�)Nr��������zutf-8) �len�args� isinstancer����binary_types�decode_backslashreplace�py3k�str� text_type)r���� as_unicode�texts��� r����_messagezSQLAlchemyError._message.���s������� ��t�y�>�>�Q����9�Q�<�D��� .�j��v�/B�C�C�� .��5�d�G�D�D������� .�J�� .��4�y�y����'��-�-���K� ��t�y�>�>�!r���c������������������p�����|�����������������������|������������}|�j��������r|�d|��������������������������������������}|S�)N� )r%���r���r���)r���r#����messages��� r����_sql_messagezSQLAlchemyError._sql_messageR���s=�������-�-� �+�+���9�� <�!(���$�.�.�*:�*:�*:�;�G��r���c������������������@�����|�����������������������t����������j��������������������S��N)r)���r���r ���r���s��� r����__str__zSQLAlchemyError.__str__Z���s������� � ���-�-�-r���c������������������.�����|�����������������������d�������������S�)NT�r#���)r)���r���s��� r����__unicode__zSQLAlchemyError.__unicode__]���s������� � �D� �1�1�1r���)�__name__� __module__�__qualname__�__doc__r���r���r���r���r ���r%���r)���r,���r/���� __classcell__�r���s���@r���r���r������s�������������������D�:��:��:��:��:�������#)�+��""��""��""��""�H�����.��.��.�2��2��2��2��2��2��2r���r���c�������������������������e�Zd�ZdZdS�)� ArgumentErrorz�Raised when an invalid or conflicting function argument is supplied. This error generally corresponds to construction time state errors. N�r0���r1���r2���r3�����r���r���r7���r7���a������������������������r���r7���c��������������������"�������e�Zd�ZdZ��fd�Z��xZS�)�ObjectNotExecutableErrorzqRaised when an object is passed to .execute() that can't be executed as SQL. .. versionadded:: 1.1 c������������������^������t����������t����������|����������������������������������d|z���������������d�S�)NzNot an executable object: %r)r ���r<���r���)r����targetr���s��� �r���r���z!ObjectNotExecutableError.__init__q���s8������� �&��-�-�6�6�*�V�3� �� �� �� �� r���)r0���r1���r2���r3���r���r4���r5���s���@r���r<���r<���i���sB������������������ �� �� �� �� �� �� �� �� r���r<���c�������������������������e�Zd�ZdZdS�)�NoSuchModuleErrorzpRaised when a dynamically-loaded module (usually a database dialect) of a particular name cannot be located.Nr8���r9���r���r���r@���r@���w���s��������������/��/��/��/r���r@���c�������������������������e�Zd�ZdZdS�)�NoForeignKeysErrorzURaised when no foreign keys can be located between two selectables during a join.Nr8���r9���r���r���rB���rB���|���s��������������������r���rB���c�������������������������e�Zd�ZdZdS�)�AmbiguousForeignKeysErrorzhRaised when more than one foreign key matching can be located between two selectables during a join.Nr8���r9���r���r���rD���rD�������s��������������.��.��.��.r���rD���c�������������������� �����e�Zd�ZdZdd�Zd��ZdS�)�CircularDependencyErrora ��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�����������������������|�&|dd����������������������d��|D���������������������������z��z ��}n|}t�������������������������������|�||��������������||�_��������||�_��������d�S�)Nz (%s)z, c��������������3����4���K����|�]}t����������|������������V����d�S�r+���)�repr)�.0�ss��� r���� <genexpr>z3CircularDependencyError.__init__.<locals>.<genexpr>����s(����������*C�*C�q�4��7�7�*C�*C�*C�*C�*C�*Cr����r���)�joinr���r����cycles�edges)r���r(���rO���rP����msgr���s��� r���r���z CircularDependencyError.__init__����se�������;��w����*C�*C�F�*C�*C�*C�!C�!C�C�C�G�G��G�� � ��w�T� �:�:�:������ � � r���c������������������F�����|�j���������d�|�j��������|�j��������|�j��������d���������ffS��Nr���)r���rO���rP���r���r���s��� r���� __reduce__z"CircularDependencyError.__reduce__����s"�������~��d�k�4�:�t�y��|�L�L�Lr���)NN�r0���r1���r2���r3���r���rT���r9���r���r���rF���rF�������sF�����������������$�������M��M��M��M��Mr���rF���c�������������������������e�Zd�ZdZdS�)�CompileErrorz2Raised when an error occurs during SQL compilationNr8���r9���r���r���rW���rW�������s��������������<�<�<�<r���rW���c��������������������(�������e�Zd�ZdZdZd��fd� Z��xZS�)�UnsupportedCompilationErrorz�Raised when an operation is not supported by the given compiler. .. seealso:: :ref:`faq_sql_expression_string` :ref:`error_l7de` �l7deNc������������������v������t����������t����������|����������������������������������d|�d|�|rd|z��nd���������������d�S�)Nz Compiler z can't render element of type z: %sr���)r ���rY���r���)r����compiler�element_typer(���r���s��� �r���r���z$UnsupportedCompilationError.__init__����sX������� �)�4�0�0�9�9�9��x�x���7�'J�v��'7�'7��'J� L� �� �� �� �� r���r+���)r0���r1���r2���r3���r���r���r4���r5���s���@r���rY���rY�������sN��������������������D� �� �� �� �� �� �� �� �� �� r���rY���c�������������������������e�Zd�ZdZdS�)�IdentifierErrorz;Raised when a schema name is beyond the max character limitNr8���r9���r���r���r_���r_�������s��������������E�E�E�Er���r_���c�������������������������e�Zd�ZdZdZdS�)�DisconnectionErrora���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. FN�r0���r1���r2���r3����invalidate_poolr9���r���r���ra���ra�������s�������������� �� ���O�O�Or���ra���c�������������������������e�Zd�ZdZdZdS�)�InvalidatePoolErrora���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 TNrb���r9���r���r���re���re�������s�������������������O�O�Or���re���c�������������������������e�Zd�ZdZdS�)�TimeoutErrorz@Raised when a connection pool times out on getting a connection.Nr8���r9���r���r���rg���rg�������s��������������J�J�J�Jr���rg���c�������������������������e�Zd�ZdZdS�)�InvalidRequestErrorzvSQLAlchemy was asked to do something it can't do. This error generally corresponds to runtime state errors. Nr8���r9���r���r���ri���ri�������r:���r���ri���c�������������������������e�Zd�ZdZdS�)�NoInspectionAvailablezaA subject passed to :func:`sqlalchemy.inspection.inspect` produced no context for inspection.Nr8���r9���r���r���rk���rk�������s��������������"��"��"��"r���rk���c�������������������������e�Zd�ZdZdS�)�ResourceClosedErrorzcAn operation was requested from a connection, cursor, or other object that's in a closed state.Nr8���r9���r���r���rm���rm�������s��������������(��(��(��(r���rm���c�������������������������e�Zd�ZdZdS�)�NoSuchColumnErrorz6A nonexistent column is requested from a ``RowProxy``.Nr8���r9���r���r���ro���ro�������s��������������@�@�@�@r���ro���c�������������������������e�Zd�ZdZdS�)�NoReferenceErrorzDRaised by ``ForeignKey`` to indicate a reference cannot be resolved.Nr8���r9���r���r���rq���rq�������s��������������N�N�N�Nr���rq���c�������������������������e�Zd�ZdZd��Zd��ZdS�)�NoReferencedTableErrorzQRaised by ``ForeignKey`` when the referred ``Table`` cannot be located. c������������������J�����t��������������������������������|�|�������������||�_��������d�S�r+���)rq���r���� table_name)r���r(����tnames��� r���r���zNoReferencedTableError.__init__��s#�������!�!�$��0�0�0�����r���c������������������8�����|�j���������|�j��������d���������|�j��������ffS�rS���)r���r���ru���r���s��� r���rT���z!NoReferencedTableError.__reduce__ ��s�������~�� �!��d�o�>�>�>r���NrU���r9���r���r���rs���rs������s<����������������� �� �� �?��?��?��?��?r���rs���c�������������������������e�Zd�ZdZd��Zd��ZdS�)�NoReferencedColumnErrorzRRaised by ``ForeignKey`` when the referred ``Column`` cannot be located. c������������������X�����t��������������������������������|�|�������������||�_��������||�_��������d�S�r+���)rq���r���ru����column_name)r���r(���rv����cnames��� r���r���z NoReferencedColumnError.__init__��s-�������!�!�$��0�0�0���� ����r���c������������������D�����|�j���������|�j��������d���������|�j��������|�j��������ffS�rS���)r���r���ru���r{���r���s��� r���rT���z"NoReferencedColumnError.__reduce__��s&�������N� �Y�q�\�4�?�D�,<�=� �� r���NrU���r9���r���r���ry���ry�����s<����������������� !��!��!� �� �� �� �� r���ry���c�������������������������e�Zd�ZdZdS�)�NoSuchTableErrorz7Table does not exist or is not visible to a connection.Nr8���r9���r���r���r���r��� ��s��������������A�A�A�Ar���r���c�������������������������e�Zd�ZdZdS�)�UnreflectableTableErrorzUTable exists but can't be reflected for some reason. .. versionadded:: 1.2 Nr8���r9���r���r���r����r����$��r:���r���r����c�������������������������e�Zd�ZdZdS�)�UnboundExecutionErrorzASQL was attempted without a database connection to execute it on.Nr8���r9���r���r���r����r����,��s��������������K�K�K�Kr���r����c�������������������������e�Zd�ZdZdS�)� DontWrapMixina8��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!") Nr8���r9���r���r���r����r����0��s��������������������r���r����c��������������������t�����e�Zd�ZdZdZ �dZ �dZ �dZ � � �d d�Zd��Z d��Z �ej��������d������������d����������������Z dS�) �StatementErrorav��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. NFc�����������������������t��������������������������������|�||��������������||�_��������||�_��������||�_��������||�_��������||�_��������g�|�_��������d�S�)NrM���)r���r���� statement�params�orig�ismulti�hide_parameters�detail)r���r(���r����r����r����r����r���r����s��� r���r���zStatementError.__init__b��sN������� � � ��w�T� �:�:�:�"�������� ����.�������r���c������������������:�����|�j������������������������������|�������������d�S�r+���)r�����append)r���rQ���s��� r���� add_detailzStatementError.add_detailt��s����������3�����r���c������������������h�����|�j���������|�j��������d���������|�j��������|�j��������|�j��������|�j��������|�j��������ffS�rS���)r���r���r����r����r����r����r����r���s��� r���rT���zStatementError.__reduce__w��s9�������N�� �!������� ��$��� � �� r���zsqlalchemy.sql.utilc������������������2����|�����������������������|�������������g}|�j��������r�|s)t����������j��������sdt����������j��������|�j��������������������z��}n d|�j��������z��}|���������������������|�������������|�j��������rW|�j��������r|���������������������d�������������n:|���������������������|�j��������d|�j ���������������������}|���������������������d|z���������������|�� ����������������������������������}|r|���������������������|�������������d���������������������d��|�j��������D���������������|z���������������S�) Nr.���z [SQL: %s]z3[SQL parameters hidden due to hide_parameters=True]� ���)r����z[parameters: %r]� c�����������������������g�|�]}d�|z����S�)z(%s)r9���)rJ����dets��� r���� <listcomp>z/StatementError._sql_message.<locals>.<listcomp>���s������>�>�>�3�&�3�,�>�>�>r���) r%���r����r���r ����safe_bytestringr����r����r�����_repr_paramsr����r���rN���r����)r����utilr#����details�stmt_detail�params_repr�code_strs��� r���r)���zStatementError._sql_message���s=�������=�=�J�=�7�7�8���>�� E��� ;�f�k�� ;�)�F�,B��N�-��-������*�D�N�:���N�N�;�'�'�'��{�� E��'��E��N�N�M���������#'�"3�"3���R����#4��#��#�K���N�N�#5��#C�D�D�D��>�>�#�#���� %��N�N�8�$�$�$��y�y�>�>�$�+�>�>�>��H�I�I�Ir���)FNN)r0���r1���r2���r3���r����r����r����r����r���r����rT���r����dependenciesr)���r9���r���r���r����r����J��s��������������� �� ���I�N� �F�E��D�%��G��� ���������$ �� �� � �� �� ���Z��2�3�3�J��J��4�3�J��J��Jr���r����c��������������������L�����e�Zd�ZdZdZe � � � �dd���������������Zd��Z � � � �dd�ZdS�) � DBAPIErrora ��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. �dbapiFNc ����������� ������������t����������|t����������������������rt����������|t����������������������rt����������|t����������������������r|S�|��t����������|t����������������������rE|rCt����������d|j��������j���������d|j��������j���������d|j ��������d�����������|||||j ��������|�������������S�t����������||������������s4|r2t����������d|j��������j���������d|j��������j���������d|��|||||�������������S�t������������������������} |j��������j��������D�]O} | j��������}|r|j �����������������������������||������������}|| v�r%t����������| |���������t ����������������������r | |���������}��n�P�|�||||||�j ��������|�������������S�)N�(�.�) r���)r����r���r����)r����r����)�connection_invalidatedr����r���r����)r���� BaseException� Exceptionr����r���r����r���r1���r0���r���r����globals�__mro__�dbapi_exception_translation_map�get� issubclassr����)�clsr����r����r�����dbapi_base_errr����r�����dialectr�����glob�super_�names��� r����instancezDBAPIError.instance���s������� �t�]�+�+� �4>�t�Y�4O�4O� � ��m� ,� ,� ���K�����$��0�0�� �Y�� �%�~����1�1�1���/�/�/�� �!��� �����$3���#� �� �� �� �� ��n�5�5�� �)�� �%�~����1�1�1���/�/�/��� �����$3�#����������9�9�D��.�0�� �� ��������"�B�F�F��d����D���4�<�<�J�t�D�z�:�$F�$F�<��t�*�C��E���s����#9�+���� �� �� �� r���c������������������\�����|�j���������|�j��������|�j��������|�j��������|�j��������|�j��������|�j��������ffS�r+���)r���r����r����r����r����r����r����r���s��� r���rT���zDBAPIError.__reduce__��s6�������N������ ��$��+��� � �� r���c����������� ����������� �t����������|������������}n)#�t����������$�r} dt����������| ������������z���}Y�d�} ~ nd�} ~ ww�xY�wt�������������������������������|�d|j��������j���������d|j��������j���������d|��||||||��������������||�_��������d�S�)Nz.Error in str() of DB-API-generated exception: r����r����r����)r���r����)r!���r����r����r���r���r1���r0���r����) r���r����r����r����r����r����r���r����r$����es ��� r���r���zDBAPIError.__init__��s������� M��t�9�9�D�D���� M�� M�� M�C�c�!�f�f�L�D�D�D�D�D�D����� M��������D��~�(�(�(�$�.�*A�*A�*A�4�4� I�������� �� �� �� ��'=��#�#�#s������ 8�3�8)FFNN) r0���r1���r2���r3���r����classmethodr����rT���r���r9���r���r���r����r�������s������������������,��D����$���F ��F ��F ���[�F �P �� �� �$��$� ��=��=��=��=��=��=r���r����c�������������������������e�Zd�ZdZdZdS�)�InterfaceErrorzWraps a DB-API InterfaceError.�rvf5N�r0���r1���r2���r3���r���r9���r���r���r����r����+�����������������(�(��D�D�Dr���r����c�������������������������e�Zd�ZdZdZdS�)� DatabaseErrorzWraps a DB-API DatabaseError.�4xp6Nr����r9���r���r���r����r����1�����������������'�'��D�D�Dr���r����c�������������������������e�Zd�ZdZdZdS�)� DataErrorzWraps a DB-API DataError.�9h9hNr����r9���r���r���r����r����7��s��������������#�#��D�D�Dr���r����c�������������������������e�Zd�ZdZdZdS�)�OperationalErrorz Wraps a DB-API OperationalError.�e3q8Nr����r9���r���r���r����r����=�����������������*�*��D�D�Dr���r����c�������������������������e�Zd�ZdZdZdS�)�IntegrityErrorzWraps a DB-API IntegrityError.�gkpjNr����r9���r���r���r����r����C��r����r���r����c�������������������������e�Zd�ZdZdZdS�)� InternalErrorzWraps a DB-API InternalError.�2j85Nr����r9���r���r���r����r����I��r����r���r����c�������������������������e�Zd�ZdZdZdS�)�ProgrammingErrorz Wraps a DB-API ProgrammingError.�f405Nr����r9���r���r���r����r����O��r����r���r����c�������������������������e�Zd�ZdZdZdS�)�NotSupportedErrorz!Wraps a DB-API NotSupportedError.�tw8gNr����r9���r���r���r����r����U��s��������������+�+��D�D�Dr���r����c�������������������������e�Zd�ZdZdS�)�SADeprecationWarning�*Issued once per usage of a deprecated API.Nr8���r9���r���r���r����r����^�����������������4�4�4�4r���r����c�������������������������e�Zd�ZdZdS�)�SAPendingDeprecationWarningr����Nr8���r9���r���r���r����r����b��r����r���r����c�������������������������e�Zd�ZdZdS�)� SAWarningzIssued at runtime.Nr8���r9���r���r���r����r����f��s�����������������r���r����)1r3���r����r���r���r���r����r���r7���r<���r@���rB���rD���rF���rW���rY���r_���ra���re���rg���ri���rk���rm����KeyErrorro���rq���rs���ry���r���r����r�����objectr�����UnmappedColumnErrorr����r����r����r����r����r����r����r����r����r�����DeprecationWarningr�����PendingDeprecationWarningr�����RuntimeWarningr����r9���r���r����<module>r�������s����������������������������������H2��H2��H2��H2��H2�i��H2��H2��H2�V���������O������� �� �� �� �� �}�� �� �� �/��/��/��/��/� ��/��/��/� ���������������� .��.��.��.��.� ��.��.��.� M��M��M��M��M�o��M��M��M�@=��=��=��=��=�?��=��=��=� �� �� �� �� �,�� �� �� �&F��F��F��F��F�o��F��F��F��������������������������,�������$K��K��K��K��K�?��K��K��K����������/�������"��"��"��"��"�/��"��"��"� (��(��(��(��(�-��(��(��(� A��A��A��A��A��"5��A��A��A�O��O��O��O��O�*��O��O��O�?��?��?��?��?�-��?��?��?� �� �� �� �� �.�� �� �� �$B��B��B��B��B�*��B��B��B����������1�������L��L��L��L��L�/��L��L��L����������F�������.����SJ��SJ��SJ��SJ��SJ�_��SJ��SJ��SJ�lH=��H=��H=��H=��H=���H=��H=��H=�V���������Z����������������J���������������� ����������������}����������������]����������������M����������������}���������������� �������5��5��5��5��5�-��5��5��5�5��5��5��5��5�";��5��5��5��������������������r���