File: //proc/self/root/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/path_registry.pyc
�
��4]c @ s d Z d d l m Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z e j
e � Z d
� Z
d Z d Z d
e f d � � YZ d e f d � � YZ e � e _ d e f d � � YZ d e f d � � YZ d e e f d � � YZ d S( s@ Path tracking utilities, representing mapper graph traversals.
i����( t chainNi ( t class_mapperi ( t exc( t
inspection( t utilc C s
t j | � S( N( t PathRegistryt deserialize( t path( ( sO /opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/path_registry.pyt _unreduce_path s t *t _sa_defaultR c B s� e Z d Z e Z e Z d � Z d � Z d � Z d d � Z
d � Z e d � � Z
d � Z d � Z d � Z d
� Z d � Z e d � � Z e d
� � Z e d � � Z d � Z d � Z d � Z RS( s� Represent query load paths and registry functions.
Basically represents structures like:
(<User mapper>, "orders", <Order mapper>, "items", <Item mapper>)
These structures are generated by things like
query options (joinedload(), subqueryload(), etc.) and are
used to compose keys stored in the query._attributes dictionary
for various options.
They are then re-composed at query compile/result row time as
the query is formed and as rows are fetched, where they again
serve to compose keys to look up options in the context.attributes
dictionary, which is copied from query._attributes.
The path structure has a limited amount of caching, where each
"root" ultimately pulls from a fixed registry associated with
the first mapper, that also contains elements for each of its
property keys. However paths longer than two elements, which
are the exception rather than the rule, are generated on an
as-needed basis.
c C s | d k o | j | j k S( N( t NoneR ( t selft other( ( sO /opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/path_registry.pyt __eq__<