HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.60.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 5 05:00:59 EST 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //proc/thread-self/root/var/opt/nydus/ops/mysql/connector/django/__pycache__/schema.cpython-39.pyc
a

�,�hh	�@s0dZddlmZddlmZGdd�de�ZdS)zDatabase schema editor.�)�Any)�DatabaseSchemaEditorc@s0eZdZdZeed�dd�Zeed�dd�ZdS)rz\This class is responsible for emitting schema-changing statements to the
    databases.
    )�value�returncCsP|j��t|t�r |�dd�}|jjj�|�}t|t�rLt|t�rL|��}|S)zQuote value.�%z%%)	�
connectionZensure_connection�
isinstance�str�replace�	converter�escape�bytes�decode)�selfr�quoted�r�P/opt/nydus/tmp/pip-target-wkfpz8uv/lib64/python/mysql/connector/django/schema.py�quote_value,s

z DatabaseSchemaEditor.quote_valuecCs|S)z�Implement the required abstract method.

        MySQL has requires_literal_defaults=False, therefore return the value.
        r)rrrrr�prepare_default6sz$DatabaseSchemaEditor.prepare_defaultN)�__name__�
__module__�__qualname__�__doc__rrrrrrrr's
rN)r�typingrZdjango.db.backends.mysql.schemarZMySQLDatabaseSchemaEditorrrrr�<module>s