%PDF- %PDF-
Direktori : /proc/227033/root/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/ |
Current File : //proc/227033/root/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/dependency.pyo |
� ��4]c @ sC d Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ i e e 6e e 6e e 6Z d S( s Relationship dependencies. i ( t attributes( t exc( t sync( t unitofwork( t util( t MANYTOMANY( t MANYTOONE( t ONETOMANYi ( t sqlt DependencyProcessorc B s� e Z d � Z e d � � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z e d � Z d � Z d � Z RS( c C s� | | _ | j | _ | j | _ | j | _ | j | _ | j | _ | j | _ | j | _ | j | _ | j | _ | j r� t j | _ n t j | _ | j r� t j | _ n t j | _ | j | _ | j j s� t j d | j � � n d S( Ns| Can't build a DependencyProcessor for relationship %s. No target attributes to populate between parent and child are present( t propt cascadet mappert parentt secondaryt directiont post_updatet passive_deletest passive_updatest enable_typechecksR t PASSIVE_NO_INITIALIZEt _passive_delete_flagt PASSIVE_OFFt _passive_update_flagt keyt synchronize_pairst sa_exct ArgumentError( t selfR ( ( sL /opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/dependency.pyt __init__ s* c C s t | j | � S( N( t _direction_to_processorR ( t clsR ( ( sL /opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/dependency.pyt from_relationship6 s c C s | j j j | j � j | � S( s� return True if the given object instance has a parent, according to the ``InstrumentedAttribute`` handled by this ``DependencyProcessor``. ( R t class_managert get_implR t hasparent( R t state( ( sL /opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/dependency.pyR# : s c C s | j | t � d S( s� establish actions and dependencies related to a flush. These actions will operate on all relevant states in the aggregate. N( t register_preprocessort True( R t uow( ( sL /opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/dependency.pyt per_property_preprocessorsB s c C s� t j | | t t � } t j | | t t � } t j | | j j � } t j | | j j � } t j | | j j � } t j | | j j � } | j | | | | | | | � d S( N( R t ProcessAllt FalseR&