Ë
    Š)f
  ã                  ó¨   — d dl mZ d dlZd dlZd dlmZ d dlmZ ej                  rddlmZ ddlm	Z	  G d„ d	ej                  «      Z G d
„ de«      Zy)é    )ÚannotationsN)ÚAny)ÚClassVaré   )ÚDBAPIConnection)ÚDialectc                  ó¾   — e Zd ZU dZdZdZded<   ej                  	 	 	 	 	 	 d
d„«       Z	ej                  	 	 	 	 	 	 	 	 dd„«       Z
ej                  	 	 	 	 	 	 dd„«       Zy	)ÚConnectionCharacteristica÷  An abstract base for an object that can set, get and reset a
    per-connection characteristic, typically one that gets reset when the
    connection is returned to the connection pool.

    transaction isolation is the canonical example, and the
    ``IsolationLevelCharacteristic`` implementation provides this for the
    ``DefaultDialect``.

    The ``ConnectionCharacteristic`` class should call upon the ``Dialect`` for
    the implementation of each method.   The object exists strictly to serve as
    a dialect visitor that can be placed into the
    ``DefaultDialect.connection_characteristics`` dictionary where it will take
    effect for calls to :meth:`_engine.Connection.execution_options` and
    related APIs.

    .. versionadded:: 1.4

    © FúClassVar[bool]Útransactionalc                 ó   — y)z@Reset the characteristic on the connection to its default value.Nr   ©ÚselfÚdialectÚ
dbapi_conns      ú^/var/www/html/flask-app/venv/lib/python3.12/site-packages/sqlalchemy/engine/characteristics.pyÚreset_characteristicz-ConnectionCharacteristic.reset_characteristic+   ó   � ó    c                 ó   — y)z6set characteristic on the connection to a given value.Nr   ©r   r   r   Úvalues       r   Úset_characteristicz+ConnectionCharacteristic.set_characteristic1   r   r   c                 ó   — y)zXGiven a DBAPI connection, get the current value of the
        characteristic.

        Nr   r   s      r   Úget_characteristicz+ConnectionCharacteristic.get_characteristic7   r   r   N©r   r   r   r   ÚreturnÚNone©r   r   r   r   r   r   r   r   ©r   r   r   r   r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__r   Ú__annotations__ÚabcÚabstractmethodr   r   r   r   r   r   r
   r
      s¿   … ñð& €Ià$)€M�>Ó)à×ÑðOØðOØ,;ðOà	òOó ðOð
 	×ÑðEØðEØ,;ðEØDGðEà	òEó ðEð
 	×ÑðØðØ,;ðà	òó ñr   r
   c                  ó\   — e Zd ZU dZded<   	 	 	 	 	 	 dd„Z	 	 	 	 	 	 	 	 d	d„Z	 	 	 	 	 	 d
d„Zy)ÚIsolationLevelCharacteristicTr   r   c                ó&   — |j                  |«       y ©N)Úreset_isolation_levelr   s      r   r   z1IsolationLevelCharacteristic.reset_characteristicD   s   € ð 	×%Ñ% jÕ1r   c                ó(   — |j                  ||«       y r-   )Ú_assert_and_set_isolation_levelr   s       r   r   z/IsolationLevelCharacteristic.set_characteristicI   s   € ð 	×/Ñ/°
¸EÕBr   c                ó$   — |j                  |«      S r-   )Úget_isolation_levelr   s      r   r   z/IsolationLevelCharacteristic.get_characteristicN   s   € ð ×*Ñ*¨:Ó6Ð6r   Nr   r    r!   )r"   r#   r$   r   r'   r   r   r   r   r   r   r+   r+   A   sp   … Ø$(€M�>Ó(ð2Øð2Ø,;ð2à	ó2ð
CØðCØ,;ðCØDGðCà	óCð
7Øð7Ø,;ð7à	ô7r   r+   )Ú
__future__r   r(   Útypingr   r   ÚTYPE_CHECKINGÚ
interfacesr   r   ÚABCr
   r+   r   r   r   ú<module>r8      sC   ðõ #ã 
Û Ý Ý à	×ÒÝ+Ý#ô+˜sŸw™wô +ô\7Ð#;õ 7r   