관리-도구
편집 파일: abstracts.cpython-38.pyc
U )�e�� � @ s� d Z ddlmZmZmZ ddlZddlZddlmZm Z ddl mZ ddlm Z mZmZ ddlmZ dd lmZ ee�G d d� de��Zee�G dd � d e��ZdS )z*Module gathering all abstract base classes� )�ABCMeta�abstractmethod�abstractpropertyN� )�make_abc� BYTE_TYPES)�MySQLConverterBase)� ClientFlag�CharacterSet�DEFAULT_CONFIGURATION)�MySQLOptionsParser)�errorsc @ s� e Zd ZdZdd� Zdd� Zdd� Zedd � �Zed d� �Z edd � �Z edd� �Zedd� �Z e jdd� �Z edd� �Zdd� Zdd� Zdd� Zdd� Zedd� �Zdd � Zd!d"� Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zd�d,d-�Zd�d/d0�Zed1d2� �Zejd3d2� �Zed4d5� �Zejd6d5� �Zed7d8� �Zejd9d8� �Zed:d;� �Z e jd<d;� �Z ed=d>� �Z!ed?d@� �Z"d�dAdB�Z#edCdD� �Z$edEdF� �Z%edGdH� �Z&dIdJ� Z'edKdL� �Z(e(Z)dMdN� Z*d�dQdR�Z+edSdT� �Z,ed�dVdW��Z-edXdY� �Z.ed�dZd[��Z/ed\d]� �Z0ed^d_� �Z1d�d`da�Z2d�dbdc�Z3ddde� Z4ed�dfdg��Z5dhdi� Z6d�djdk�Z7dldm� Z8dndo� Z9dpdq� Z:d�drds�Z;dtdu� Z<dvdw� Z=dxdy� Z>dzd{� Z?d|d}� Z@d�d�d��ZAd�d�� ZBd�d�d��ZCd�d�� ZDd�d�� ZEd�d�� ZFd�d�� ZGd+S )��MySQLConnectionAbstractz7Abstract class for classes connecting to a MySQL serverc K s� t �� | _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _i | _d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _!d| _"d| _#dS ) Z Initialize�! NF� z 127.0.0.1i� r T)$r �get_default� _client_flags�_charset_id� _sql_mode� _time_zone�_autocommit�_server_version� _handshake�_user� _password� _database�_host�_port�_unix_socketZ_client_hostZ_client_port�_sslZ_force_ipv6�_use_unicode� _get_warnings�_raise_on_warningsZ_connection_timeoutZ _buffered�_unread_resultZ_have_next_result�_rawZ_in_transactionZ_prepared_statementsZ_ssl_activeZ_auth_pluginZ_pool_config_version� converter�_converter_class� _compress�_consume_results��self�kwargs� r, �n/opt/hc_python/lib64/python3.8/site-packages/../../../lib/python3.8/site-packages/mysql/connector/abstracts.py�__init__) sD z MySQLConnectionAbstract.__init__c C s | S )z�Return self for weakref.proxy This method is used when the original object is needed when using weakref.proxy. r, �r* r, r, r- � _get_selfS s z!MySQLConnectionAbstract._get_selfc C s� d|k�r�z.t |d t�r(|d g|d<