AlkantarClanX12
Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/sqlalchemy/orm/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/sqlalchemy/orm/__pycache__/exc.cpython-311.pyc |
� �܋f� � � � d Z ddlmZ ddlmZ eefZ G d� dej � � Z e Z G d� dej � � Z G d� d ej � � Z G d � dej � � Z G d� d ej � � Z G d� de � � Z G d� de � � Z G d� dej � � Z G d� dej � � Z G d� dej � � Z G d� dej � � Z G d� dej � � Zd� Z ej d� � d� � � ZdS ) zSQLAlchemy ORM exceptions.� )�exc)�utilc � � e Zd ZdZdS )�StaleDataErroraa An operation encountered database state that is unaccounted for. Conditions which cause this to happen include: * A flush may have attempted to update or delete rows and an unexpected number of rows were matched during the UPDATE or DELETE statement. Note that when version_id_col is used, rows in UPDATE or DELETE statements are also matched against the current known version identifier. * A mapped object with version_id_col was refreshed, and the version number coming back from the database does not match that of the object itself. * A object is detached from its parent object, however the object was previously attached to a different parent identity which was garbage collected, and a decision cannot be made if the new parent was really the most recent "parent". N��__name__� __module__�__qualname__�__doc__� � �I/opt/cloudlinux/venv/lib64/python3.11/site-packages/sqlalchemy/orm/exc.pyr r s � � � � � �� � � r r c � � e Zd ZdZdS )� FlushErrorz0A invalid condition was detected during flush().Nr r r r r r - s � � � � � �:�:�:�:r r c � � e Zd ZdZdS )� UnmappedErrorz?Base for exceptions that involve expected mappings not present.Nr r r r r r 1 s � � � � � �I�I�I�Ir r c � � e Zd ZdZdS )�ObjectDereferencedErrorzPAn operation cannot complete due to an object being garbage collected. Nr r r r r r 5 s � � � � � �� � � r r c � � e Zd ZdZdZdS )�DetachedInstanceErrorzSAn attempt to access unloaded attributes on a mapped instance that is detached.�bhk3N)r r r r �coder r r r r <