관리-도구
편집 파일: naming.cpython-37.pyc
B ��4]� � @ s d Z ddlZddlmZ ddlmZ ddlmZ ddlmZ ddlmZ dd lm Z dd lm Z ddlmZ ddlmZ dd lm Z ddlmZ ddlmZ ddlmZ ddlmZ G dd� de�Zedededede diZdd� Zdd� Ze�e d�e�ed�dd � ��ZdS )!z5Establish constraint and index naming conventions. � N� )�_defer_name)�_defer_none_name)�conv)�CheckConstraint)�Column)� Constraint)�ForeignKeyConstraint)�Index)�PrimaryKeyConstraint)�Table)�UniqueConstraint� )�event)�events)�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 �H/opt/alt/python37/lib64/python3.7/site-packages/sqlalchemy/sql/naming.py�__init__ s zConventionDict.__init__c C s | j jS )N)r r )r r r r �_key_table_name'