U ÂÏ aQã@s8ddlZddlmZGdd„deƒZGdd„deƒZdS)éNé)ÚABCc@sBeZdZdZdZdZejdd„ƒZejdd„ƒZ ejdd „ƒZ d S) Ú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 ©FcCsdS)z@Reset the characteristic on the connection to its default value.Nr©ÚselfÚdialectÚ dbapi_connrrúbC:\Users\vtejo\AppData\Local\Temp\pip-unpacked-wheel-nyjtotrf\sqlalchemy\engine\characteristics.pyÚreset_characteristicsz-ConnectionCharacteristic.reset_characteristiccCsdS)z6set characteristic on the connection to a given value.Nr©rrr Úvaluerrr Úset_characteristic"sz+ConnectionCharacteristic.set_characteristiccCsdS)zXGiven a DBAPI connection, get the current value of the characteristic. Nrrrrr Úget_characteristic&sz+ConnectionCharacteristic.get_characteristicN) Ú__name__Ú __module__Ú __qualname__Ú__doc__Ú __slots__Ú transactionalÚabcÚabstractmethodr rrrrrr rs  rc@s(eZdZdZdd„Zdd„Zdd„ZdS) ÚIsolationLevelCharacteristicTcCs| |¡dS©N)Zreset_isolation_levelrrrr r 1sz1IsolationLevelCharacteristic.reset_characteristiccCs| ||¡dSr)Zset_isolation_levelr rrr r4sz/IsolationLevelCharacteristic.set_characteristiccCs | |¡Sr)Zget_isolation_levelrrrr r7sz/IsolationLevelCharacteristic.get_characteristicN)rrrrr rrrrrr r.sr)rÚutilrrrrrrr Ús (