mò /&ÜGc@sRdZdklZdkTdklZdklZdk l Z dkl Z l Z dk lZdd d d d d ddddddddddddddddgZd„Zd.d.d.ed„Zd „Zd!„Zd.d"„Zed#„Zd$„Zd%„Zd&„Zd'„Zd(„Zd)„Zd.d*„Zd+„Z d,„Z!d-„Z"d.S(/s£ the mapper package provides object-relational functionality, building upon the schema and sql packages and tying operations to class properties and constructors. (s exceptions(t*(smapper(sQuery(spolymorphic_union(s propertiess strategies(sSessiontrelationtbackreft eagerloadtlazyloadtnoloadtdeferredtdefertundefert extensiontmappert clear_mapperst clear_mappert class_mappert object_mappertMapperExtensiontQuerytcascade_mapperstpolymorphic_uniontcreate_sessiontsynonymtcontains_eagertEXT_PASScOsGt|ƒdjo't|dtƒotidƒ‚nt||ŽS(sprovide a relationship of a primary Mapper to a secondary Mapper. This corresponds to a parent-child or associative table relationship.iistrelation(class, table, **kwargs) is deprecated. Please use relation(class, **kwargs) or relation(mapper, **kwargs).N(tlentargst isinstancettypet exceptionst ArgumentErrort_relation_loadertkwargs(RR((t;/home/holguin2/public_html/spyce/sqlalchemy/orm/__init__.pyRs'cKsti||||d||S(Ntlazy(t propertiestPropertyLoaderR t secondaryt primaryjoint secondaryjoinR R(R R#R$R%R R((RR scKsti||S(sÓcreate a BackRef object with explicit arguments, which are the same arguments one can send to relation(). used with the "backref" keyword argument to relation() in place of a string argument. N(R!tBackReftnameR(R'R((RR#scOstidt||ŽS(sÞreturn a DeferredColumnProperty, which indicates this object attributes should only be loaded from its corresponding table column when first accessed. used with the 'properties' dictionary sent to mapper().RN(R!tColumnPropertytTruetcolumnsR(R*R((RR+scOst||||ŽS(sYreturn a new Mapper object. See the Mapper class for a description of arguments.N(tMappertclass_ttableRtparams(R,R-RR.((RR 2scCsti|d|ƒS(sxset up 'name' as a synonym to another MapperProperty. Used with the 'properties' dictionary sent to mapper().tproxyN(R!tSynonymPropertyR'R/(R'R/((RR8scCstiƒdS(sœremove all mappers that have been created thus far. when new mappers are created, they will be assigned to their classes as their primary mapper.N(tmapper_registrytclear(((RR >scCst|i=dS(s·remove the given mapper from the storage of mappers. when a new mapper is created for the previous mapper's class, it will be used as that classes' new primary mapper.N(R1tmt class_key(R3((RR DscCs t|ƒS(sÅreturn a MapperOption that will insert the given MapperExtension to the beginning of the list of extensions that will be called in the context of the Query. used with query.options().N(tExtensionOptiontext(R6((RR KscCsti|dtƒS(s„return a MapperOption that will convert the property of the given name into an eager load. used with query.options().R N(t strategiestEagerLazyOptionR'tFalse(R'((RRRscCsti|dtƒS(s€return a MapperOption that will convert the property of the given name into a lazy load. used with query.options().R N(R7R8R'R)(R'((RRYscCsti|ddƒS(sreturn a MapperOption that will convert the property of the given name into a non-load. used with query.options().R N(R7R8R'tNone(R'((RR`scCsti|d|ƒS(sýreturn a MapperOption that will indicate to the query that the given attribute will be eagerly loaded without any row decoration, or using a custom row decorator. used when feeding SQL result sets directly into query.instances().t decoratorN(R7tRowDecorateOptiontkeyR;(R=R;((RRgscCsti|dtƒS(sreturn a MapperOption that will convert the column property of the given name into a deferred load. used with query.options()RN(R7tDeferredOptionR'R)(R'((RRpscCsti|dtƒS(s¢return a MapperOption that will convert the column property of the given name into a non-deferred (regular column) load. used with query.options().RN(R7R>R'R9(R'((RRvsc Gsåh}xG|D]?}t|tƒo |}n|}t|ƒ}|||i