https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /lib64/python2.7/site-packages/sqlalchemy/dialects/mysql/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/python2.7/site-packages/sqlalchemy/dialects/mysql/pymysql.pyc
�
���\c@sVdZddlmZddlmZddlmZdefd��YZeZdS(	s

.. dialect:: mysql+pymysql
    :name: PyMySQL
    :dbapi: pymysql
    :connectstring: mysql+pymysql://<username>:<password>@<host>/<dbname>[?<options>]
    :url: https://pymysql.readthedocs.io/

Unicode
-------

Please see :ref:`mysql_unicode` for current recommendations on unicode
handling.

MySQL-Python Compatibility
--------------------------

The pymysql DBAPI is a pure Python port of the MySQL-python (MySQLdb) driver,
and targets 100% compatibility.   Most behavioral notes for MySQL-python apply
to the pymysql driver as well.

i(tMySQLDialect_mysqldbi(tlanghelpers(tpy3ktMySQLDialect_pymysqlcBsheZdZdZeZeZed�Z	e
jd��Ze
d��Zd�Zerfd�ZnRS(tpymysqlcKs#tt|�j|�||_dS(N(tsuperRt__init__tserver_side_cursors(tselfRtkwargs((sG/usr/lib64/python2.7/site-packages/sqlalchemy/dialects/mysql/pymysql.pyR/scCsBy#td�j}|j|_tSWnttfk
r=tSXdS(Nspymysql.cursors(t
__import__tcursorstSSCursort	_sscursortTruetImportErrortAttributeErrortFalse(RR((sG/usr/lib64/python2.7/site-packages/sqlalchemy/dialects/mysql/pymysql.pytsupports_server_side_cursors3scCs
td�S(NR(R
(tcls((sG/usr/lib64/python2.7/site-packages/sqlalchemy/dialects/mysql/pymysql.pytdbapi<scCsOtt|�j|||�r"tSt||jj�rGdt|�kStSdS(NsAlready closed(	RRt
is_disconnectRt
isinstanceRtErrortstrR(Rtet
connectiontcursor((sG/usr/lib64/python2.7/site-packages/sqlalchemy/dialects/mysql/pymysql.pyR@scCs1t|jdt�r&|jd}n|jdS(Ni(Rtargst	Exception(Rt	exception((sG/usr/lib64/python2.7/site-packages/sqlalchemy/dialects/mysql/pymysql.pyt_extract_error_codeLsN(t__name__t
__module__tdrivertNonetdescription_encodingRtsupports_unicode_statementstsupports_unicode_bindsRRRtmemoized_propertyRtclassmethodRRRR(((sG/usr/lib64/python2.7/site-packages/sqlalchemy/dialects/mysql/pymysql.pyR$s		
N(t__doc__tmysqldbRtutilRRRtdialect(((sG/usr/lib64/python2.7/site-packages/sqlalchemy/dialects/mysql/pymysql.pyt<module>s
.

https://t.me/AnonymousX5 - 2025