Hacked By AnonymousFox
�
�܋fB� � � � d dl mZ d dlmZ d dlmZ d dlZd dlZd dlmZ d dlm Z d dlm
Z
d dlmZ d d lmZ d d
lm
Z
d dlmZ d dlmZ d d
lmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dl!m"Z" ddl#m$Z$ ddl#m%Z% ddl%m&Z& dd l'm(Z( erNd d!lm)Z) d d"lm*Z* d d#l+m,Z, d d$l+m-Z- d d%l.m/Z/ d d&l0m1Z1 d'd(l2m3Z3 dd)l4m5Z5 dd*l6m7Z7 dd+l6m8Z8 dd,l9m:Z: dd-l9m;Z; dd.l9m<Z< ej= e>� � Z? G d/� d0� � Z@ G d1� d2� � ZA G d3� d4� � ZB G d5� d6� � ZC G d7� d8� � ZD G d9� d:eD� � ZE G d;� d<eD� � ZFdS )=� )�annotations)�contextmanager)�nullcontextN)�Any)�Callable)�cast)�
Collection)�ContextManager)�Dict)�Iterable)�Iterator)�List)�Optional)�Set)�Tuple)�
TYPE_CHECKING)�Union)�Column)�literal_column)�MetaData)�PrimaryKeyConstraint)�String)�Table)�Engine)�url)�MockEngineStrategy� )�ddl)�util)�sqla_compat)� EncodedIO)�Dialect)�URL)�
Connection)�Transaction)�MockConnection)�
ClauseElement� )�EnvironmentContext)�Config)�Script)�ScriptDirectory)�_RevisionOrBase)�Revision)�RevisionMapc �N � e Zd Zdd�Zedd�� � Zdd�Zdd �Zdd
�Zdd�Z dS )�_ProxyTransaction�migration_context�MigrationContext�return�Nonec � � || _ d S �N)r2 )�selfr2 s �P/opt/cloudlinux/venv/lib64/python3.11/site-packages/alembic/runtime/migration.py�__init__z_ProxyTransaction.__init__9 s � �!2����� �Optional[Transaction]c � � | j j S r7 )r2 �_transaction�r8 s r9 �_proxied_transactionz&_ProxyTransaction._proxied_transaction<