관리-도구
편집 파일: oracle.cpython-311.pyc
� �܋f� � � � d dl mZ d dlZd dlmZ d dlmZ d dlmZ d dlmZ d dl m Z dd lmZ dd lm Z ddlmZ ddlmZ dd lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ erd dlmZ d dlmZ d dlm Z G d� de� � Z! eed� � d7d#�� � Z" eed� � d8d%�� � Z# eed� � d9d'�� � Z$ eed� � d:d)�� � Z% eed� � d;d+�� � Z& eed� � d<d-�� � Z' eed� � d=d/�� � Z(d>d1�Z)d?d4�Z* eed� � d@d6�� � Z+dS )A� )�annotationsN)�Any)�Optional)� TYPE_CHECKING)�compiles)�sqltypes� )� AddColumn)�alter_table)� ColumnComment)� ColumnDefault)� ColumnName)�ColumnNullable)� ColumnType��format_column_name)�format_server_default)�format_table_name)�format_type)�IdentityColumnDefault)�RenameTable)�DefaultImpl)�OracleDDLCompiler)�CursorResult)�Columnc �| � � e Zd ZdZdZdZdZej ddhh d�h d�fz Zd Z d� fd�Z d� fd�Zd� Zdd�Z dd�Z� xZS )� OracleImpl�oracleF�/� �VARCHAR�VARCHAR2> �BIGINT�NUMBER�DECIMAL�INTEGER�NUMERIC�SMALLINT> �FLOAT�DOUBLE�DOUBLE_PRECISION� �return�Nonec � �� t � � j |i |�� | j � d| j � � | _ d S )N�oracle_batch_separator)�super�__init__�context_opts�get�batch_separator)�self�arg�kw� __class__s ��I/opt/cloudlinux/venv/lib64/python3.11/site-packages/alembic/ddl/oracle.pyr2 zOracleImpl.__init__, sH �� ������#�$��$�$�$�#�0�4�4�$�d�&:� � ����� � constructr �Optional[CursorResult]c � �� t � � j |g|�R i |��}| j r!| j r| � | j � � |S )N)r1 �_exec�as_sqlr5 � static_output)r6 r<