ok
Direktori : /opt/cloudlinux/venv/lib/python3.11/site-packages/sqlalchemy/pool/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/sqlalchemy/pool/__pycache__/base.cpython-311.pyc |
� �܋f�� � �f � d Z ddlmZ ddlZddlZddlmZ ddlmZ ddlmZ ddlm Z dd lm Z dd l mZ e j d� � Z e j d� � Z e j d � � Z G d� de� � Z G d� de j � � Z G d� de� � Z dd�Z e� � Z G d� de� � ZdS )z'Base constructs for connection pools. � )�dequeN� )�event)�exc)� interfaces)�log)�util)� threading�reset_rollback�reset_commit� reset_nonec �* � e Zd ZdZd� Zd� Zd� Zd� ZdS )�_ConnDialectz�partial implementation of :class:`.Dialect` which provides DBAPI connection methods. When a :class:`_pool.Pool` is combined with an :class:`_engine.Engine`, the :class:`_engine.Engine` replaces this with its own :class:`.Dialect`. c �. � |� � � d S �N)�rollback��self�dbapi_connections �K/opt/cloudlinux/venv/lib64/python3.11/site-packages/sqlalchemy/pool/base.py�do_rollbackz_ConnDialect.do_rollback) s � ��!�!�#�#�#�#�#� c �. � |� � � d S r )�commitr s r � do_commitz_ConnDialect.do_commit, s � ����!�!�!�!�!r c �. � |� � � d S r )�closer s r �do_closez_ConnDialect.do_close/ s � ���� � � � � r c � � t d� � �)NzJThe ping feature requires that a dialect is passed to the connection pool.��NotImplementedErrorr s r �do_pingz_ConnDialect.do_ping2 s � �!� -� � � r N)�__name__� __module__�__qualname__�__doc__r r r r"