/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm
NameSizeModeActions
attributes.py671370644editdlrm
attributes.pyc621290644editdlrm
attributes.pyo618510644editdlrm
base.py148640644editdlrm
base.pyc155580644editdlrm
base.pyo155580644editdlrm
collections.py526140644editdlrm
collections.pyc634480644editdlrm
collections.pyo632260644editdlrm
dependency.py465560644editdlrm
dependency.pyc296240644editdlrm
dependency.pyo295330644editdlrm
deprecated_interfaces.py207510644editdlrm
deprecated_interfaces.pyc227760644editdlrm
deprecated_interfaces.pyo227760644editdlrm
descriptor_props.py282010644editdlrm
descriptor_props.pyc322160644editdlrm
descriptor_props.pyo322160644editdlrm
dynamic.py146660644editdlrm
dynamic.pyc153390644editdlrm
dynamic.pyo153390644editdlrm
evaluator.py54410644editdlrm
evaluator.pyc78190644editdlrm
evaluator.pyo78190644editdlrm
events.py944090644editdlrm
events.pyc1036650644editdlrm
events.pyo1036650644editdlrm
exc.py66100644editdlrm
exc.pyc88380644editdlrm
exc.pyo88380644editdlrm
identity.py102990644editdlrm
identity.pyc151090644editdlrm
identity.pyo151090644editdlrm
instrumentation.py181310644editdlrm
instrumentation.pyc216330644editdlrm
instrumentation.pyo215440644editdlrm
interfaces.py257660644editdlrm
interfaces.pyc302340644editdlrm
interfaces.pyo302340644editdlrm
loading.py322360644editdlrm
loading.pyc205740644editdlrm
loading.pyo205490644editdlrm
mapper.py1283440644editdlrm
mapper.pyc1004120644editdlrm
mapper.pyo1001980644editdlrm
path_registry.py92620644editdlrm
path_registry.pyc132560644editdlrm
path_registry.pyo132560644editdlrm
persistence.py656520644editdlrm
persistence.pyc467860644editdlrm
persistence.pyo467860644editdlrm
properties.py110430644editdlrm
properties.pyc121110644editdlrm
properties.pyo121110644editdlrm
query.py1725900644editdlrm
query.pyc1550140644editdlrm
query.pyo1549360644editdlrm
relationships.py1244420644editdlrm
relationships.pyc1053180644editdlrm
relationships.pyo1052930644editdlrm
scoping.py63930644editdlrm
scoping.pyc76800644editdlrm
scoping.pyo76800644editdlrm
session.py1287540644editdlrm
session.pyc1201170644editdlrm
session.pyo1199380644editdlrm
state.py310440644editdlrm
state.pyc322940644editdlrm
state.pyo322380644editdlrm
strategies.py846020644editdlrm
strategies.pyc630190644editdlrm
strategies.pyo626680644editdlrm
strategy_options.py555050644editdlrm
strategy_options.pyc527300644editdlrm
strategy_options.pyo525960644editdlrm
sync.py55360644editdlrm
sync.pyc46280644editdlrm
sync.pyo46280644editdlrm
unitofwork.py247350644editdlrm
unitofwork.pyc245650644editdlrm
unitofwork.pyo244890644editdlrm
util.py448590644editdlrm
util.pyc443630644editdlrm
util.pyo442110644editdlrm
__init__.py95420644editdlrm
__init__.pyc107590644editdlrm
__init__.pyo107590644editdlrm
Edit: /opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/__init__.pyo (10759B)
ó ÃÌ4]c@s¯dZddlmZddlmZddlmZddlmZddlmZddlm Z ddl m Z dd l m Z dd l m Z dd lmZdd lmZdd lmZddlmZddlmZddlmZddlmZddlmZddlmZddlmZddlmZddlmZddlmZddlmZddlm Z ddlm!Z!ddlm"Z"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#lm,Z,dd$l-m.Z.dd%l-m/Z/dd&l-m0Z0dd'l-m1Z1dd(l-m2Z2dd)l-m3Z3dd*l-m4Z4dd+l-m5Z5d,d-lm6Z7d,d.lm-Z8d,d/l9m:Z:dEd0„Z<e:e!d1ƒZ=d2„Z>d3„Z?e:ed4ƒZ@e:e d5ƒZAd6„ZBd7„ZCd8„ZDe:ed9ƒZe:e d:ƒZEe:e d;ƒZFe8jGd<d=d>ƒd?„ƒZHd@„ZIejJjKZJejJjLZMejNjKZNejOjKZOejPjKZPejQjKZQejRjKZRejSjKZSejTjKZTejUjLZUejVjKZVejWjLZWejXjKZXejYjLZYejZjKZZej[jKZ[ej\jKZ\ej]jKZ]ej^jKZ^dA„Z_dB„Z`e:edCƒZadD„ZbebecƒƒdES(Fs± Functional constructs for ORM configuration. See the SQLAlchemy object relational tutorial and mapper configuration documentation for an overview of how this module is used. i(texc(tmapper(tstrategy_options(tAttributeExtension(tMapperExtension(tSessionExtension(tComparableProperty(tCompositeProperty(tSynonymProperty(t EXT_CONTINUE(tEXT_SKIP(tEXT_STOP(tPropComparator(t_mapper_registry(t class_mapper(tconfigure_mappers(tMapper(t reconstructor(t validates(tColumnProperty(t AliasOption(tBundle(tQuery(tforeign(tRelationshipProperty(tremote(tscoped_session(tclose_all_sessions(tmake_transient(tmake_transient_to_detached(tobject_session(tSession(t sessionmaker(tLoad(taliased(tjoin(t object_mapper(t outerjoin(tpolymorphic_union(t was_deleted(t with_parent(twith_polymorphici(tsql(tutil(tpublic_factorycKs@|jdtƒ|jdtƒ|jdtƒtd||S(sñCreate a new :class:`.Session` with no automation enabled by default. This function is used primarily for testing. The usual route to :class:`.Session` creation is via its constructor or the :func:`.sessionmaker` function. :param bind: optional, a single Connectable to use for all database access in the created :class:`~sqlalchemy.orm.session.Session`. :param \*\*kwargs: optional, passed through to the :class:`.Session` constructor. :returns: an :class:`~sqlalchemy.orm.session.Session` instance The defaults of create_session() are the opposite of that of :func:`sessionmaker`; ``autoflush`` and ``expire_on_commit`` are False, ``autocommit`` is True. In this sense the session acts more like the "classic" SQLAlchemy 0.3 session with these. Usage:: >>> from sqlalchemy.orm import create_session >>> session = create_session() It is recommended to use :func:`sessionmaker` instead of create_session(). t autoflusht autocommittexpire_on_committbind(t setdefaulttFalsetTrueR(R0tkwargs((sJ/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/__init__.pytcreate_session?ss.orm.relationshipcOs t||ŽS(s#A synonym for :func:`relationship`.(t relationship(targtkw((sJ/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/__init__.pytrelationgscKsd|dtrPy tjƒ\}}|jƒWqtk rLqXqWWdtjjƒXdS(sRemove all mappers from all classes. This function removes all instrumentation from classes and disposes of their associated mappers. Once called, the classes are unmapped and can be later re-mapped with new mappers. :func:`.clear_mappers` is *not* for normal use, as there is literally no valid usage for it outside of very specific testing scenarios. Normally, mappers are permanent structural components of user-defined classes, and are never discarded independently of their class. If a mapped class itself is garbage collected, its mapper is automatically disposed of as well. As such, :func:`.clear_mappers` is only for usage in test suites that re-use the same classes with different mappings, which is itself an extremely rare use case - the only such use case is in fact SQLAlchemy's own test suite, and possibly the test suites of other ORM extension libraries which intend to test various combinations of mapper construction upon a fixed set of classes. N(t mapperlibt_CONFIGURE_MUTEXtacquireR tpopitemtdisposetKeyErrortrelease(Rtb((sJ/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/__init__.pyt clear_mappersÐs    cOs t||ŽS(s#A synonym for :func:`joinedload()`.(t joinedload(targsR4((sJ/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/__init__.pyt eagerloadscOs t||ŽS(s&A synonym for :func:`joinedload_all()`(tjoinedload_all(RSR4((sJ/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/__init__.pyt eagerload_all ss.orm.contains_aliascs’ddlm}ddlm}ddlm}ddlm}ddl‰t‡fd†|jƒDƒƒat j j d ƒt j j d ƒdS( Ni(R+i(R:(tevents(tloadingiÿÿÿÿc3s9|]/\}}|jdƒp*ˆj|ƒs|VqdS(t_N(t startswithtismodule(t.0R>tobj(t_inspect(sJ/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/__init__.pys s ssqlalchemy.ormssqlalchemy.ext( tR+R:RWRXtinspecttsortedtitemst__all__t_sa_utilt dependenciest resolve_all(tlclstsa_utilR:RWRX((R^sJ/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/__init__.pyt__gos  N(dt__doc__R_RRRIRtdeprecated_interfacesRRRtdescriptor_propsRRRt interfacesR R R R R RRRRRt propertiesRtqueryRRRt relationshipsRRRtscopingRtsessionRRRRRR R!R+R"R#R$R%R&R'R(R)R*RCRdtutil.langhelpersR,tNoneR5R6R9R=tcolumn_propertyt compositeR?R@RBtsynonymtcomparable_propertyt deprecatedRHRQRRt _unbound_fnt_unbound_all_fnRUtcontains_eagertdefertundefert undefer_grouptwith_expressiont load_onlytlazyloadt lazyload_allt subqueryloadtsubqueryload_allt selectinloadtselectinload_allt immediateloadtnoloadt raiseloadt defaultloadtselectin_polymorphicRTRVtcontains_aliasRitlocals(((sJ/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/__init__.pyts¬ %       !