Repository URL to install this package:
| 
          
        
        Version: 
           
    
          3.4.51  ▾
        
   | 
| 
    
    contego
  
    /
        
    home
  
        /
        
    tvault
  
        /
        
    .virtenv
  
        /
        
    lib
  
        /
        
    python2.7
  
        /
        
    site-packages
  
        /
        
    sqlalchemy
  
        /
        
    orm
  
        /
        events.pyc
   | 
|---|
ó
EYc           @   s»  d  Z  d d l m Z m Z m Z d d l m Z d d l Z d d l Z d d l m	 Z	 d d l m
 Z
 m Z d d	 l m
 Z
 m Z d d
 l m Z d d l m Z d d l m Z d d
 l m Z d e j f d     YZ d e f d     YZ d e j f d     YZ d e j f d     YZ d e f d     YZ d e j f d     YZ d e f d     YZ  d e j f d     YZ! d e j f d     YZ" d  e j f d!     YZ# d S("   s   ORM event interfaces.
i   (   t   eventt   exct   utili   (   t   _mapper_or_noneiÿÿÿÿN(   t
   interfaces(   t	   mapperlibt   instrumentation(   t   Sessiont   sessionmaker(   t   scoped_session(   t   QueryableAttribute(   t   Query(   t   inspect_getargspect   InstrumentationEventsc           B   sh   e  Z d  Z d Z e j Z e d    Z e e	 d   Z
 e d    Z d   Z d   Z
 d   Z RS(   sq  Events related to class instrumentation events.
    The listeners here support being established against
    any new style class, that is any object that is a subclass
    of 'type'.  Events will then be fired off for events
    against that class.  If the "propagate=True" flag is passed
    to event.listen(), the event will fire off for subclasses
    of that class as well.
    The Python ``type`` builtin is also accepted as a target,
    which when used has the effect of events being emitted
    for all classes.
    Note the "propagate" flag here is defaulted to ``True``,
    unlike the other class level events where it defaults
    to ``False``.  This means that new subclasses will also
    be the subject of these events, when a listener
    is established on a superclass.
    .. versionchanged:: 0.8 - events here will emit based
       on comparing the incoming class to the type of class
       passed to :func:`.event.listen`.  Previously, the
       event would fire for any class unconditionally regardless
       of what class was sent for listening, despite
       documentation which stated the contrary.
    t
   SomeBaseClassc         C   s!   t  | t  r t |  Sd  Sd  S(   N(   t
   isinstancet   typet   _InstrumentationEventsHoldt   None(   t   clst   target(    (    sJ   /home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/events.pyt   _accept_with7   s    
c            s   | j  | j | j         f d      f d   } t j  j |   | j t j  j	   j
 |   d  S(   Nc            sO      }  r+ t  |  |  r+   |  |  S rK |  | k rK   |  |  Sd  S(   N(   t
   issubclass(   t
   target_clst   argt
   listen_cls(   t   fnt	   propagateR   (    sJ   /home/tvault/.virtenv/lib/python2.7/site-packages/sqlalchemy/orm/events.pyt   listenD   s
    	
c            s>