File: D:/Python311/Lib/site-packages/mysql/connector/__pycache__/abstracts.cpython-311.pyc
�
�nc�� � � � d Z ddlZddlZddlZddlZddlmZmZ ddlm Z mZm
Z
mZ ddlm
Z
ddlmZ ddl
mZ dZ ddlZ eed � � r ej rd
Zn# e$ r Y nw xY wddlmZmZmZmZmZmZmZmZ dd
lm Z ddl!m"Z"m#Z#m$Z$m%Z%m&Z& ddl'm(Z( ej) � � Z*dZ+dZ,dZ-dZ.dZ/e
e0e ee1e2e3e
ef Z4 G d� de� � Z5 G d� de� � Z6dS )z+Module gathering all abstract base classes.� N)�ABC�abstractmethod)�date�datetime�time� timedelta)�Decimal)� signature)�sleepF�HAS_TLSv1_3T� )�
CONN_ATTRS_DN�DEFAULT_CONFIGURATION�DEPRECATED_TLS_VERSIONS�OPENSSL_CS_NAMES�TLS_CIPHER_SUITES�TLS_VERSIONS�CharacterSet�
ClientFlag)�MySQLConverterBase)�Error�InterfaceError�NotSupportedError�OperationalError�ProgrammingError)�read_option_fileszVThe '{list}' list must not contain repeated values, the value '{value}' is duplicated.zdThe given tls_version: '{}' is not recognized as a valid TLS protocol version (should be one of {}).zHThe given tls_version: '{}' are no longer allowed (should be one of {}).zINo supported TLS protocol version found in the 'tls-versions' list '{}'. a Option "krb_service_principal" {error}, must be a string in the form "primary/instance@realm" e.g "ldap/ldapauth@MYSQL.COM" where "@realm" is optional and if it is not given will be assumed to belong to the default realm, as configured in the krb5.conf file.c �V � e Zd ZdZd� Zd� Zd� Zd� Zed� � � Z ed� � � Z
ed� � � Zd � Zd
� Z
d� Zd� Zed
� � � Zed� � � Zed� � � Zed� � � Zeed� � � � � Zej d� � � Zed� � � Zej d� � � Zed� � � Zej d� � � Zd� Zd� Zed� � � Zd� Zd� Zeed� � � � � Zd� Z d� Z!ed� � � Z"e"j d � � � Z"ed!� � � Z#e#j d"� � � Z#ed#� � � Z$d\d%�Z%d]d'�Z&ed(� � � Z'e'j d)� � � Z'ed*� � � Z(e(j d+� � � Z(ed,� � � Z)e)j d-� � � Z)ed.� � � Z*e*j d/� � � Z*ed0� � � Z+ed1� � � Z,d\d2�Z-ed3� � � Z.ed4� � � Z/ed5� � � Z0d6� Z1ed7� � � Z2e2Z3d8� Z4d^d;�Z5ed<� � � Z6ed_d>�� � Z7ed?� � � Z8e d`d@�� � Z9edA� � � Z:edB� � � Z; dadC�Z<d\dD�Z=dE� Z>e dbdF�� � Z?dG� Z@dcdH�ZAdI� ZBdJ� ZCdK� ZDdddL�ZEdM� ZFedN� � � ZGdO� ZHdP� ZIdQ� ZJ dedT�ZKdU� ZLdfdW�ZMdX� ZNdY� ZOdZ� ZPd[� ZQd$S )g�MySQLConnectionAbstractz7Abstract class for classes connecting to a MySQL serverc � � t j � � | _ d| _ d| _ d| _ d| _ d| _ d| _ i | _ d| _
d| _ d| _ d| _
d| _ d| _ d| _ d| _ d| _ d| _ d| _ i | _ t, d | _ d| _ d| _ d| _ d| _ d | _ d| _ d| _ t, d
| _ d| _ d| _! d| _"