관리-도구
편집 파일: bulk_persistence.cpython-38.pyc
U -?�f� � @ s� d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z dd lm Z dd lmZ ddlmZ dd l mZ ddl mZ ddl mZ ddl mZ ddl mZ ddl mZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl mZ ddl mZ ddlmZ ddlmZ ddl!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* dd$l(m+Z+ dd%l,m-Z- dd&l,m.Z. dd'l,m/Z/ dd(lm0Z0 dd)l1m2Z2 e �rndd*l3m4Z4 dd+l3m5Z5 dd,l3m6Z6 dd-l7m8Z8 dd.l9m:Z: dd/l9m;Z; dd0l9m<Z< dd1l9m=Z= dd2l>m?Z? dd3lm@Z@ dd4lmAZA dd5lBmCZC ed6eDd7�ZEe d8d8d9�d:d;d<d=d=d=d>d?d@dA� dBdC��ZFe d8d8d9�d:d;d<d=d=d=dDd?dEdA� dFdC��ZFdGdGd9�d:d;d<d=d=d=dDd?dHdA� dIdC�ZFe d8dJdK�dLd;d<d=d=d>d=d@dM�dNdO��ZGe d8dJdK�dLd;d<d=d=dPd=dQdM�dRdO��ZGdGdJdK�dLd;d<d=d=dPd=dSdM�dTdO�ZGdUdV� ZHG dWdX� dXe�ZIG dYdZ� dZeI�ZJe*�Kd[d\�G d]d^� d^eIe.��ZLe*�Kd[d_�G d`da� daeJe/��ZMe*�Kd[db�G dcdd� ddeJe-��ZNdGS )ezoadditional ORM persistence classes related to "bulk" operations, specifically outside of the flush() process. � )�annotations)�Any)�cast)�Dict)�Iterable)�Optional)�overload)� TYPE_CHECKING)�TypeVar)�Union� )� attributes)�context)� evaluator)�exc)�loading)�persistence)�NO_VALUE)�AbstractORMCompileState)� FromStatement)�ORMFromStatementCompileState)�QueryContext� )�util)�Dialect)�result)� coercions)�dml)� expression)�roles)�select)�sqltypes)�_entity_namespace_key)�CompileState)�Options)�DeleteDMLState)�InsertDMLState)�UpdateDMLState)� EMPTY_DICT)�Literal)�DMLStrategyArgument)�OrmExecuteOptionsParameter)�SynchronizeSessionArgument)�Mapper)�_BindArguments)�ORMExecuteState)�Session)�SessionTransaction)� InstanceState)� Connection)�cursor)�_CoreAnyExecuteParams�_O)�bound.)�use_orm_insert_stmt�execution_optionsz Mapper[_O]z<Union[Iterable[InstanceState[_O]], Iterable[Dict[str, Any]]]r1 �boolz Literal[None]z$Optional[OrmExecuteOptionsParameter]�None) �mapper�mappings�session_transaction�isstates�return_defaults�render_nullsr8 r9 �returnc C s d S �N� �r<