관리-도구
편집 파일: naming.cpython-311.pyc
� �܋f� � � � d Z ddlZddlmZ ddlmZ ddlmZ ddlmZ ddlmZ dd lm Z dd lm Z ddlmZ ddlmZ dd lm Z ddlmZ ddlmZ ddlmZ G d� de� � Ze dedede de diZd� Zd� Z ej ed� � d� � � Z ej ed� � ej e d� � d� � � � � ZdS )z5Establish constraint and index naming conventions. � N� )� _NONE_NAME)�conv)�CheckConstraint)�Column)� Constraint)�ForeignKeyConstraint)�Index)�PrimaryKeyConstraint)�Table)�UniqueConstraint� )�event)�events)�excc �J � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z d � Zd � ZdS )�ConventionDictc �| � || _ t |t � � | _ || _ || _ |j | _ d S �N)�const� isinstancer �_is_fk�table� convention�name�_const_name)�selfr r r s �L/opt/cloudlinux/venv/lib64/python3.11/site-packages/sqlalchemy/sql/naming.py�__init__zConventionDict.__init__ s9 � ��� � ��(<�=�=����� �$��� �:����� c � � | j j S r )r r �r s r �_key_table_namezConventionDict._key_table_name&