?????????? ????????? - ??????????????? - /home/agenciai/.local/lib/python3.9/site-packages/sqlalchemy/dialects/mysql/__pycache__/mysqlconnector.cpython-39.pyc
???????
a ��Jh� � @ s� d Z ddlZddlmZ ddlmZ ddlmZ ddlmZ ddlmZ dd lmZ dd l m Z ddlmZ G d d� de�Z G dd� de�ZG dd� d�ZG dd� dee�ZG dd� dee�ZG dd� de�ZG dd� de�ZG dd� de e�ZeZeZdS )a, .. dialect:: mysql+mysqlconnector :name: MySQL Connector/Python :dbapi: myconnpy :connectstring: mysql+mysqlconnector://<user>:<password>@<host>[:<port>]/<dbname> :url: https://pypi.org/project/mysql-connector-python/ Driver Status ------------- MySQL Connector/Python is supported as of SQLAlchemy 2.0.39 to the degree which the driver is functional. There are still ongoing issues with features such as server side cursors which remain disabled until upstream issues are repaired. .. warning:: The MySQL Connector/Python driver published by Oracle is subject to frequent, major regressions of essential functionality such as being able to correctly persist simple binary strings which indicate it is not well tested. The SQLAlchemy project is not able to maintain this dialect fully as regressions in the driver prevent it from being included in continuous integration. .. versionchanged:: 2.0.39 The MySQL Connector/Python dialect has been updated to support the latest version of this DBAPI. Previously, MySQL Connector/Python was not fully supported. However, support remains limited due to ongoing regressions introduced in this driver. Connecting to MariaDB with MySQL Connector/Python -------------------------------------------------- MySQL Connector/Python may attempt to pass an incompatible collation to the database when connecting to MariaDB. Experimentation has shown that using ``?charset=utf8mb4&collation=utfmb4_general_ci`` or similar MariaDB-compatible charset/collation will allow connectivity. � N� )�BIT)�MariaDBIdentifierPreparer)� MySQLCompiler)�MySQLDialect)�MySQLExecutionContext)�MySQLIdentifierPreparer)�MariaDBDialect� )�utilc @ s e Zd Zdd� Zdd� ZdS )�$MySQLExecutionContext_mysqlconnectorc C s | j jdd�S )NF��buffered�Z_dbapi_connection�cursor��self� r �]/home/agenciai/.local/lib/python3.9/site-packages/sqlalchemy/dialects/mysql/mysqlconnector.py�create_server_side_cursor? s z>MySQLExecutionContext_mysqlconnector.create_server_side_cursorc C s | j jdd�S )NTr r r r r r �create_default_cursorB s z:MySQLExecutionContext_mysqlconnector.create_default_cursorN)�__name__� __module__�__qualname__r r r r r r r >