관리-도구
편집 파일: naming.cpython-38.pyc
U -?�f� � @ s" d Z ddlmZ ddlZddlmZ ddlmZ ddlm Z ddl mZ dd l mZ dd l m Z ddl mZ ddl mZ dd l mZ ddl mZ ddl mZ ddlmZ ddlmZ G dd� d�ZededededediZdd� Zdd� Ze�ed�dd � �Ze�e d!�e�ed!�d"d#� ��ZdS )$z5Establish constraint and index naming conventions. � )�annotationsN� )�events)� _NONE_NAME)�conv)�CheckConstraint)�Column)� Constraint)�ForeignKeyConstraint)�Index)�PrimaryKeyConstraint)�Table)�UniqueConstraint� )�event)�excc @ s\ e Zd Zdd� Zdd� Zdd� Zdd� Zd d � Zdd� Zd d� Z dd� Z dd� Zdd� ZdS )�ConventionDictc C s* || _ t|t�| _|| _|| _|j| _d S �N)�const� isinstancer �_is_fk�table� convention�name�_const_name)�selfr r r � r �E/opt/hc_python/lib64/python3.8/site-packages/sqlalchemy/sql/naming.py�__init__"