File: //usr/local/lib/python3.10/dist-packages/sqlalchemy/sql/__pycache__/ddl.cpython-310.pyc
o
���gI� � @ s� d Z ddlmZ ddlZddlZddlmZ ddlmZ ddlmZ ddlmZ ddlm Z dd lm
Z dd
lmZ ddl
mZ dd
lmZ ddlmZ ddlmZ ddlmZ ddl
mZ ddl
mZ ddlmZ ddlmZ ddlmZ ejr�ddlmZ ddlmZ ddlmZ ddl m!Z! ddl m"Z" ddl m#Z# dd l m
Z
ddl m$Z$ ddl%m&Z& ddl'm(Z( dd l)m*Z* dd!l)m+Z+ dd"l)m,Z, dd#l)m-Z- G d$d%� d%e�Z.G d&d'� d'e�Z/G d(d)� d)ej0�Z1G d*d+� d+ej2ee.�Z3e3Z4 G d,d-� d-e3�Z5G d.d/� d/e3�Z6G d0d1� d1e6�Z7G d2d3� d3e6�Z8G d4d5� d5e7�Z9G d6d7� d7e8�Z:G d8d9� d9e7�Z;G d:d;� d;e8�Z<G d<d=� d=e.�Z=G d>d?� d?e.�Z>G d@dA� dAe8�Z?G dBdC� dCe7�Z@G dDdE� dEe8�ZAG dFdG� dGe7�ZBG dHdI� dIe8�ZCG dJdK� dKe7�ZDG dLdM� dMe8�ZEG dNdO� dOe6�ZFG dPdQ� dQe6�ZGG dRdS� dSe6�ZHG dTdU� dUe6�ZIG dVdW� dWe6�ZJG dXdY� dYe6�ZKG dZd[� d[e�ZLG d\d]� d]eL�ZMG d^d_� d_eL�ZNG d`da� daeM�ZOG dbdc� dceN�ZP dqdrdldm�ZQ ndsdodp�ZRdS )tzq
Provides the hierarchy of DDL-defining schema items as well as routines
to invoke them for a create/drop call.
� )�annotationsN)�Any)�Callable)�Iterable)�List)�Optional)�Sequence)�Tuple� )�roles)�_generative)�
Executable)�
SchemaVisitor)�
ClauseElement� )�exc)�util)�topological)�Protocol)�Self)�Compiled)�DDLCompiler)�
BindParameter)�
Constraint)�ForeignKeyConstraint)�
SchemaItem)�Table)�TableClause)�
Connection)�
CacheStats)�CompiledCacheType)�Dialect)�SchemaTranslateMapTypec @ s0 e Zd ZdZdZ dd� Zddd�ddd�ZdS )�BaseDDLElementz�The root of DDL constructs, including those that are sub-elements
within the "create table" and other processes.
.. versionadded:: 2.0
Fc K s |j || fi |��S )zNReturn a compiler appropriate for this ClauseElement, given a
Dialect.)�ddl_compiler)�self�dialect�kw� r( �=/usr/local/lib/python3.10/dist-packages/sqlalchemy/sql/ddl.py� _compilerA s zBaseDDLElement._compilerN)�for_executemany�schema_translate_mapr&