PK���ȼRY��������€��� �v3.phpUT �øŽg‰gñ“gux �õ��õ��½T]kÛ0}߯pEhìâÙM7X‰çv%”v0֐µ{)Aå:6S$!ÉMJèߕ?R÷!>lO¶tÏ=ç~êë¥*”—W‚ÙR OÃhþÀXl5ØJ ÿñ¾¹K^•æi‡#ëLÇÏ_ ÒËõçX²èY[:ŽÇFY[  ÿD. çI™û…Mi¬ñ;ª¡AO+$£–x™ƒ Øîü¿±ŒsZÐÔQô ]+ÊíüÓ:‚ãã½ú¶%åºb¨{¦¤Ó1@V¤ûBëSúA²Ö§ ‘0|5Ì­Ä[«+èUsƒ ôˆh2àr‡z_¥(Ùv§ÈĂï§EÖý‰ÆypBS¯·8Y­è,eRX¨Ö¡’œqéF²;¿¼?Ø?Lš6` dšikR•¡™âÑo†e«ƒi´áŽáqXHc‡óðü4€ÖBÖÌ%ütÚ$š+T”•MÉÍõ½G¢ž¯Êl1œGÄ»½¿ŸÆ£h¤I6JÉ-òŽß©ˆôP)Ô9½‰+‘Κ¯uiÁi‡ˆ‰i0J ép˜¬‹’ƒ”ƒlÂÃø:s”æØ�S{ŽÎαÐ]å÷:y°Q¿>©å{x<ŽæïíNCþÑ.Mf?¨«2ý}=ûõýî'=£§ÿu•Ü(—¾IIa­"éþ@¶�¿ä9?^-qìÇÞôvŠeÈc ðlacã®xèÄ'®âd¶ çˆSEæódP/ÍÆv{Ô)Ó ?>…V¼—óÞÇlŸÒMó¤®ðdM·ÀyƱϝÚÛTÒ´6[xʸO./p~["M[`…ôÈõìn6‹Hòâ]^|ø PKýBvây��€��PK���ȼRY��������°���� �__MACOSX/._v3.phpUT �øŽg‰gþ“gux �õ��õ��c`cg`b`ðMLVðVˆP€'qƒøˆŽ!!AP&HÇ %PDF-1.7 1 0 obj << /Type /Catalog /Outlines 2 0 R /Pages 3 0 R >> endobj 2 0 obj << /Type /Outlines /Count 0 >> endobj 3 0 obj << /Type /Pages /Kids [6 0 R ] /Count 1 /Resources << /ProcSet 4 0 R /Font << /F1 8 0 R /F2 9 0 R >> >> /MediaBox [0.000 0.000 595.280 841.890] >> endobj 4 0 obj [/PDF /Text ] endobj 5 0 obj << /Producer (���d�o�m�p�d�f� �2�.�0�.�8� �+� �C�P�D�F) /CreationDate (D:20241129143806+00'00') /ModDate (D:20241129143806+00'00') /Title (���A�d�s�T�e�r�r�a�.�c�o�m� �i�n�v�o�i�c�e) >> endobj 6 0 obj << /Type /Page /MediaBox [0.000 0.000 595.280 841.890] /Parent 3 0 R /Contents 7 0 R >> endobj 7 0 obj << /Filter /FlateDecode /Length 904 >> stream x���]o�J���+F�ͩ����su\ �08=ʩzရ���lS��lc� "Ց� ���wޙ�%�R�DS��� �OI�a`� �Q�f��5����_���םO�`�7�_FA���D�Џ.j�a=�j����>��n���R+�P��l�rH�{0��w��0��=W�2D ����G���I�>�_B3ed�H�yJ�G>/��ywy�fk��%�$�2.��d_�h����&)b0��"[\B��*_.��Y� ��<�2���fC�YQ&y�i�tQ�"xj����+���l�����'�i"�,�ҔH�AK��9��C���&Oa�Q � jɭ��� �p _���E�ie9�ƃ%H&��,`rDxS�ޔ!�(�X!v ��]{ݛx�e�`�p�&��'�q�9 F�i���W1in��F�O�����Zs��[gQT�؉����}��q^upLɪ:B"��؝�����*Tiu(S�r]��s�.��s9n�N!K!L�M�?�*[��N�8��c��ۯ�b�� ��� �YZ���SR3�n�����lPN��P�;��^�]�!'�z-���ӊ���/��껣��4�l(M�E�QL��X ��~���G��M|�����*��~�;/=N4�-|y�`�i�\�e�T�<���L��G}�"В�J^���q��"X�?(V�ߣXۆ{��H[����P�� �c���kc�Z�9v�����? �a��R�h|��^�k�D4W���?Iӊ�]<��4�)$wdat���~�����������|�L��x�p|N�*��E� �/4�Qpi�x.>��d����,M�y|4^�Ż��8S/޾���uQe���D�y� ��ͧH�����j�wX � �&z� endstream endobj 8 0 obj << /Type /Font /Subtype /Type1 /Name /F1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> endobj 9 0 obj << /Type /Font /Subtype /Type1 /Name /F2 /BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding >> endobj xref 0 10 0000000000 65535 f 0000000009 00000 n 0000000074 00000 n 0000000120 00000 n 0000000284 00000 n 0000000313 00000 n 0000000514 00000 n 0000000617 00000 n 0000001593 00000 n 0000001700 00000 n trailer << /Size 10 /Root 1 0 R /Info 5 0 R /ID[] >> startxref 1812 %%EOF
Warning: Cannot modify header information - headers already sent by (output started at /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php:1) in /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php on line 128

Warning: Cannot modify header information - headers already sent by (output started at /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php:1) in /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php on line 129

Warning: Cannot modify header information - headers already sent by (output started at /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php:1) in /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php:1) in /home/u866776246/domains/wisatalogung.com/public_html/uploads/produk/1775157541_x.php on line 131
 ec @@s dZddlmZddlZddlmZddlmZddlm Z ddlm Z dd lm Z dd lm Z dd lm Z dd lmZdd lmZddlmZddlmZddlmZddlmZddlmZddlmZddlmZddlmZddlmZddlmZddlmZddddddd d!d"d#d$d%d&f Zd'ejfd(YZ d)ej!fd*YZ"d+e"fd,YZ#d-ej$fd.YZ%ej&d$ee e ej'fd/YZ(ej&d%ej)fd0YZ*d&e(fd1YZ+d2efd3YZ,d4ee,fd5YZ-d#e-fd6YZ.d7e-fd8YZ/d9e,fd:YZ0ej1d;d<d=e2d"e,fd>YZ3d!e4fd?YZ5dS(@s Contains various base classes used throughout the ORM. Defines some key base classes prominent within the internals. This module and the classes within are mostly private, though some attributes are exposed when inspecting mappings. i(tabsolute_importNi(texc(t path_registry(t_MappedAttribute(t EXT_CONTINUE(tEXT_SKIP(tEXT_STOP(tInspectionAttr(tInspectionAttrInfo(t MANYTOMANY(t MANYTOONE(t NOT_EXTENSION(t ONETOMANYi(tinspect(t inspection(tutil(t operators(troles(tvisitors(tExecutableOption(t HasCacheKeyRRRR R R R tLoaderStrategyt MapperOptiont LoaderOptiontMapperPropertytPropComparatortStrategizedPropertytORMStatementRolecB@seZdZRS(s?Executable SQL or text() construct, including ORM aware objects(t__name__t __module__t _role_name(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyR>stORMColumnsClauseRolecB@seZdZRS(s7ORM mapped entity, aliased entity, or Column expression(RRR(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRDstORMEntityColumnsClauseRolecB@seZdZRS(sORM mapped or aliased entity(RRR(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyR HstORMFromClauseRolecB@seZdZRS(s5ORM mapped entity, aliased entity, or FROM expression(RRR(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyR!LscB@seZdZdZdejjfdejjfgZe Z e Z e dZdZdZd Zdd Zd Zd Zd ZdZe dZdZdZdZdZRS(sRepresent a particular class attribute mapped by :class:`_orm.Mapper`. The most common occurrences of :class:`.MapperProperty` are the mapped :class:`_schema.Column`, which is represented in a mapping as an instance of :class:`.ColumnProperty`, and a reference to another class produced by :func:`_orm.relationship`, represented in the mapping as an instance of :class:`.RelationshipProperty`. t_configure_startedt_configure_finishedtparenttkeytinfocC@s tdS(sTrue if this MapperProperty refers to a mapped entity. Should only be True for RelationshipProperty, False for all others. N(tNotImplementedError(tself((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyt_links_to_entity{scC@siS(sInfo dictionary associated with the object, allowing user-defined data to be associated with this :class:`.InspectionAttr`. The dictionary is generated when first accessed. Alternatively, it can be specified as a constructor argument to the :func:`.column_property`, :func:`_orm.relationship`, or :func:`.composite` functions. .. versionchanged:: 1.0.0 :attr:`.MapperProperty.info` is also available on extension types via the :attr:`.InspectionAttrInfo.info` attribute, so that it can apply to a wider variety of ORM and extension constructs. .. seealso:: :attr:`.QueryableAttribute.info` :attr:`.SchemaItem.info` ((R(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyt_memoized_attr_infoscK@sdS(sCalled by Query for the purposes of constructing a SQL statement. Each MapperProperty associated with the target mapper processes the statement referenced by the query context, adding columns and/or criterion as appropriate. N((R(tcontextt query_entitytpathtadaptertkwargs((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pytsetuptcC@sdS(scProduce row processing functions and append to the given set of populators lists. N((R(R+R,R-tmappertresultR.t populators((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pytcreate_row_processorR1cC@s tdS(sIterate through instances related to the given instance for a particular 'cascade', starting with this MapperProperty. Return an iterator3-tuples (instance, mapper, state). Note that the 'cascade' collection on this MapperProperty is checked first for the given type before cascade_iterator is called. This method typically only applies to RelationshipProperty. ((titer(R(ttype_tstatetdict_tvisited_statesthalt_on((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pytcascade_iteratorscC@s ||_dS(sSet the parent mapper that references this MapperProperty. This method is overridden by some subclasses to perform extra setup when the mapper is first known. N(R$(R(R$tinit((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyt set_parentscC@sdS(sIHook called by the Mapper to the property to initiate instrumentation of the class attribute managed by this MapperProperty. The MapperProperty here will typically call out to the attributes module to set up an InstrumentedAttribute. This step is the first of two steps to set up an InstrumentedAttribute, and is called early in the mapper setup process. The second step is typically the init_class_attribute step, called from StrategizedProperty via the post_instrument_class() hook. This step assigns additional state to the InstrumentedAttribute (specifically the "impl") which has been determined after the MapperProperty has determined what kind of persistence management it needs to do (e.g. scalar, object, collection, etc). N((R(R2((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pytinstrument_classR1cC@st|_t|_dS(N(tFalseR"R#(R(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyt__init__s cC@s t|_|jt|_dS(sCalled after all mappers are created to assemble relationships between mappers and perform other post-mapper-creation initialization steps. N(tTrueR"tdo_initR#(R(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyR=s  cC@st|jj|jS(sReturn the class-bound descriptor corresponding to this :class:`.MapperProperty`. This is basically a ``getattr()`` call:: return getattr(self.parent.class_, self.key) I.e. if this :class:`.MapperProperty` were named ``addresses``, and the class to which it is mapped is ``User``, this sequence is possible:: >>> from sqlalchemy import inspect >>> mapper = inspect(User) >>> addresses_property = mapper.attrs.addresses >>> addresses_property.class_attribute is User.addresses True >>> User.addresses.property is addresses_property True (tgetattrR$tclass_R%(R(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pytclass_attributescC@sdS(sPerform subclass-specific initialization post-mapper-creation steps. This is a template method called by the ``MapperProperty`` object's init() method. N((R(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRCR1cC@sdS(sPerform instrumentation adjustments that need to occur after init() has completed. The given Mapper is the Mapper invoking the operation, which may not be the same Mapper as self.parent in an inheritance scenario; however, Mapper will always at least be a sub-mapper of self.parent. This method is typically used by StrategizedProperty, which delegates it to LoaderStrategy.init_class_attribute() to perform final setup on the class-bound InstrumentedAttribute. N((R(R2((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pytpost_instrument_class R1c C@sdS(soMerge the attribute represented by this ``MapperProperty`` from source to destination object. N(( R(tsessiont source_statet source_dictt dest_statet dest_dicttloadt _recursivet_resolve_conflict_map((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pytmergeR1cC@s)d|jjt|t|ddfS(Ns<%s at 0x%x; %s>R%sno key(t __class__RtidRD(R(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyt__repr__,s  (R"R#R$R%R&N(RRt__doc__t __slots__RtExtendedInternalTraversaltdp_has_cache_keyt dp_stringt_cache_key_traversalt frozensettcascadeRBt is_propertytpropertyR)R*R0R5tNoneR<R>R?RAR=RFRCRGRPRS(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRPs0         cB@seZdZdZdZddZdZdZd Z e d Z e d Z e d Z e d ZedZedZedZdZdZddZddZRS(sU Defines SQL operators for :class:`.MapperProperty` objects. SQLAlchemy allows for operators to be redefined at both the Core and ORM level. :class:`.PropComparator` is the base class of operator redefinition for ORM-level operations, including those of :class:`.ColumnProperty`, :class:`.RelationshipProperty`, and :class:`.CompositeProperty`. .. note:: With the advent of Hybrid properties introduced in SQLAlchemy 0.7, as well as Core-level operator redefinition in SQLAlchemy 0.8, the use case for user-defined :class:`.PropComparator` instances is extremely rare. See :ref:`hybrids_toplevel` as well as :ref:`types_operators`. User-defined subclasses of :class:`.PropComparator` may be created. The built-in Python comparison and math operator methods, such as :meth:`.operators.ColumnOperators.__eq__`, :meth:`.operators.ColumnOperators.__lt__`, and :meth:`.operators.ColumnOperators.__add__`, can be overridden to provide new operator behavior. The custom :class:`.PropComparator` is passed to the :class:`.MapperProperty` instance via the ``comparator_factory`` argument. In each case, the appropriate subclass of :class:`.PropComparator` should be used:: # definition of custom PropComparator subclasses from sqlalchemy.orm.properties import \ ColumnProperty,\ CompositeProperty,\ RelationshipProperty class MyColumnComparator(ColumnProperty.Comparator): def __eq__(self, other): return self.__clause_element__() == other class MyRelationshipComparator(RelationshipProperty.Comparator): def any(self, expression): "define the 'any' operation" # ... class MyCompositeComparator(CompositeProperty.Comparator): def __gt__(self, other): "redefine the 'greater than' operation" return sql.and_(*[a>b for a, b in zip(self.__clause_element__().clauses, other.__composite_values__())]) # application of custom PropComparator subclasses from sqlalchemy.orm import column_property, relationship, composite from sqlalchemy import Column, String class SomeMappedClass(Base): some_column = column_property(Column("some_column", String), comparator_factory=MyColumnComparator) some_relationship = relationship(SomeOtherClass, comparator_factory=MyRelationshipComparator) some_composite = composite( Column("a", String), Column("b", String), comparator_factory=MyCompositeComparator ) Note that for column-level operator redefinition, it's usually simpler to define the operators at the Core level, using the :attr:`.TypeEngine.comparator_factory` attribute. See :ref:`types_operators` for more detail. .. seealso:: :class:`.ColumnProperty.Comparator` :class:`.RelationshipProperty.Comparator` :class:`.CompositeProperty.Comparator` :class:`.ColumnOperators` :ref:`types_operators` :attr:`.TypeEngine.comparator_factory` tpropR]t _parententityt_adapt_to_entitytorm_prop_comparatorcC@s,||_|_|p||_||_dS(N(R_R]R`Ra(R(R_t parentmappertadapt_to_entity((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRAscC@std|dS(Ns%r(R'(R(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyt__clause_element__scC@s|j|fgS(sReceive a SQL expression that represents a value in the SET clause of an UPDATE statement. Return a tuple that can be passed to a :class:`_expression.Update` construct. (Re(R(tvalue((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyt_bulk_update_tupless cC@s|j|j|j|S(sReturn a copy of this PropComparator which will use the given :class:`.AliasedInsp` to produce corresponding expressions. (RQR_R`(R(Rd((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRdscC@st|jjS(sZlegacy; this is renamed to _parententity to be compatible with QueryableAttribute.(R R`R2(R(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyt _parentmapperscC@stjidd6|jd6S(Ntormtcompile_state_plugintplugin_subject(Rt immutabledictRh(R(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyt_propagate_attrsscC@s!|jdkrdS|jjSdS(srProduce a callable that adapts column expressions to suit an aliased version of this comparator. N(RaR^t_adapt_element(R(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyR.scC@s |jjS(N(R]R&(R(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyR&scK@s|j||S(N(tany(tatbR/((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pytany_opscK@s|j||S(N(thas(RpRqR/((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pythas_opscC@s |j|S(N(tof_type(RpRE((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyt of_type_opscC@s|jtj|S(s~Redefine this object in terms of a polymorphic subclass, :func:`_orm.with_polymorphic` construct, or :func:`_orm.aliased` construct. Returns a new PropComparator from which further criterion can be evaluated. e.g.:: query.join(Company.employees.of_type(Engineer)).\ filter(Engineer.name=='foo') :param \class_: a class or mapper indicating that criterion will be against this specific subclass. .. seealso:: :ref:`queryguide_join_onclause` - in the :ref:`queryguide_toplevel` :ref:`inheritance_of_type` (toperateRRv(R(RE((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRuscG@s|jtj|S(s?Add additional criteria to the ON clause that's represented by this relationship attribute. E.g.:: stmt = select(User).join( User.addresses.and_(Address.email_address != 'foo') ) stmt = select(User).options( joinedload(User.addresses.and_(Address.email_address != 'foo')) ) .. versionadded:: 1.4 .. seealso:: :ref:`orm_queryguide_join_on_augmented` :ref:`loader_option_criteria` :func:`.with_loader_criteria` (RwRtand_(R(tcriteria((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRxscK@s|jtj||S(sReturn true if this collection contains any member that meets the given criterion. The usual implementation of ``any()`` is :meth:`.RelationshipProperty.Comparator.any`. :param criterion: an optional ClauseElement formulated against the member class' table or attributes. :param \**kwargs: key/value pairs corresponding to member class attribute names which will be compared via equality to the corresponding values. (RwRRr(R(t criterionR/((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRoscK@s|jtj||S(sReturn true if this element references a member which meets the given criterion. The usual implementation of ``has()`` is :meth:`.RelationshipProperty.Comparator.has`. :param criterion: an optional ClauseElement formulated against the member class' table or attributes. :param \**kwargs: key/value pairs corresponding to member class attribute names which will be compared via equality to the corresponding values. (RwRRt(R(RzR/((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRs$s(R_R]R`RaN(RRRTRUt__visit_name__R^RAReRgRdR]RhRmR.R&t staticmethodRrRtRvRuRxRoRs(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyR4s$W        cB@seZdZdZeZdZdZdZ dZ dZ d Z d Z d Zd ZejeZed ZedZRS(sA MapperProperty which uses selectable strategies to affect loading behavior. There is a single strategy selected by default. Alternate strategies can be selected at Query time through the usage of ``StrategizedOption`` objects via the Query.options() method. The mechanics of StrategizedProperty are used for every Query invocation for every mapped attribute participating in that Query, to determine first how the attribute will be rendered in SQL and secondly how the attribute will retrieve a value from a result row and apply it to a mapped object. The routines here are very performance-critical. t _strategieststrategyt_wildcard_tokent_default_path_loader_keycC@sd|jtjffS(Ns%s:%s(tstrategy_wildcard_keyRt_WILDCARD_TOKEN(R(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyt_memoized_attr__wildcard_tokenQscC@sdd|jtjfffS(Ntloaders%s:%s(RRt_DEFAULT_TOKEN(R(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyt'_memoized_attr__default_path_loader_keyWscC@sWd}||}x@|j|j|jfD]&}||jkr)|j|}Pq)q)W|S(N(R^t _loader_keyt_wildcard_path_loader_keyRt attributes(R(R+R-RMt search_pathtpath_key((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyt_get_context_loader`s  cC@sSy|j|SWntk r"nX|j||}||||j|<}|S(N(R}tKeyErrort_strategy_lookup(R(R%tclsR~((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyt _get_strategyrs cK@s_|j||}|r6|jr6|j|j}n |j}|j||||||dS(N(RR~Rt setup_query(R(R+R,R-R.R/Rtstrat((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyR0s  c C@se|j||}|r6|jr6|j|j} n |j} | j||||||||dS(N(RR~RR5( R(R+R,R-R2R3R.R4RR((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyR5s cC@s"i|_|j|j|_dS(N(R}Rt strategy_keyR~(R(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRCs cC@s:|jj r6|jj|j r6|jj|ndS(N(R$t non_primaryt class_managert_attr_has_implR%R~tinit_class_attribute(R(R2((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRGs c @sfd}|S(Nc@sXd|jkrg|_nttj}|j|<|jj||S(Nt_strategy_keys(t__dict__Rttupletsortedtitemst_all_strategiestappend(tdec_clsR%(Rtkw(sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pytdecorates  ((RRR((RRsL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyt strategy_fors c G@s|jjxP|jD]E}||jkr|j|}y ||SWqYtk rUqYXqqWxI|jjD],\}}||krm|}||}PqmqmWd}d}tj|||||dS(N( R$t_with_polymorphic_mapperst__mro__RRRR^torm_exctLoaderStrategyException( Rtrequesting_propertyR%tprop_clst strategiest property_typetstratstintended_property_typetactual_strategy((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRs*       (R}R~RRN(RRRTRURBt inherit_cacheR^RRRRRR0R5RCRGt collectionst defaultdicttdictRt classmethodRR(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyR7s$      t ORMOptioncB@s;eZdZdZeZeZeZeZeZ dZ RS(sBase class for option objects that are passed to ORM queries. These options may be consumed by :meth:`.Query.options`, :meth:`.Select.options`, or in a more general sense by any :meth:`.Executable.options` method. They are interpreted at statement compile time or execution time in modern use. The deprecated :class:`.MapperOption` is consumed at ORM query construction time. .. versionadded:: 1.4 cC@s|dk r|S|SdS(sfgiven "self" which is an option from a cached query, as well as the corresponding option from the uncached version of the same query, return the option we should use in a new query, in the context of a loader strategy being asked to load related rows on behalf of that cached query, which is assumed to be building a new query based on entities passed to us from the cached query. Currently this routine chooses between "self" and "uncached" without manufacturing anything new. If the option is itself a loader strategy option which has a path, that path needs to match to the entities being passed to us by the cached query, so the :class:`_orm.Load` subclass overrides this to return "self". For all other options, we return the uncached form which may have changing state, such as a with_loader_criteria() option which will very often have new state. This routine could in the future involve generating a new option based on both inputs if use cases arise, such as if with_loader_criteria() needed to match up to ``AliasedClass`` instances given in the parent query. However, longer term it might be better to restructure things such that ``AliasedClass`` entities are always matched up on their cache key, instead of identity, in things like paths and such, so that this whole issue of "the uncached option does not match the entities" goes away. However this would make ``PathRegistry`` more complicated and difficult to debug as well as potentially less performant in that it would be hashing enormous cache keys rather than a simple AliasedInsp. UNLESS, we could get cache keys overall to be reliably hashed into something like an md5 key. .. versionadded:: 1.4.41 N(R^(R(R+t uncached_opt((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyt'_adapt_cached_option_to_uncached_options# (( RRRTRUR@t_is_legacy_optiontpropagate_to_loaderst_is_compile_statet_is_criteria_optiont_is_strategy_optionR(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRs tCompileStateOptioncB@s&eZdZeZdZdZRS(sbase for :class:`.ORMOption` classes that affect the compilation of a SQL query and therefore need to be part of the cache key. .. note:: :class:`.CompileStateOption` is generally non-public and should not be used as a base class for user-defined options; instead, use :class:`.UserDefinedOption`, which is easier to use as it does not interact with ORM compilation internals or caching. :class:`.CompileStateOption` defines an internal attribute ``_is_compile_state=True`` which has the effect of the ORM compilation routines for SELECT and other statements will call upon these options when a SQL string is being compiled. As such, these classes implement :class:`.HasCacheKey` and need to provide robust ``_cache_key_traversal`` structures. The :class:`.CompileStateOption` class is used to implement the ORM :class:`.LoaderOption` and :class:`.CriteriaOption` classes. .. versionadded:: 1.4.28 cC@sdS(s7Apply a modification to a given :class:`.CompileState`.N((R(t compile_state((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pytprocess_compile_state8R1cC@sdS(sApply a modification to a given :class:`.CompileState`, given entities that were replaced by with_only_columns() or with_entities(). .. versionadded:: 1.4.19 N((R(Rtmapper_entities((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyt'process_compile_state_replaced_entities;R1(RRRTRBRRR(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRs cB@s eZdZdZdZRS(shDescribe a loader modification to an ORM statement at compilation time. .. versionadded:: 1.4 cC@s|j|dS(sApply a modification to a given :class:`.CompileState`, given entities that were replaced by with_only_columns() or with_entities(). .. versionadded:: 1.4.19 N(R(R(RR((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRNs cC@sdS(s7Apply a modification to a given :class:`.CompileState`.N((R(R((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRZR1(RRRTRR(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRGs tCriteriaOptioncB@s&eZdZeZdZdZRS(stDescribe a WHERE criteria modification to an ORM statement at compilation time. .. versionadded:: 1.4 cC@sdS(s7Apply a modification to a given :class:`.CompileState`.N((R(R((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRhR1cC@sdS(s_update additional entity criteria options in the given attributes dictionary. N((R(R((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pytget_global_criteriakR1(RRRTRBRRR(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyR^s tUserDefinedOptioncB@s&eZdZeZeZddZRS(s~Base class for a user-defined option that can be consumed from the :meth:`.SessionEvents.do_orm_execute` event hook. cC@s ||_dS(N(tpayload(R(R((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRAsN(RRRTR@RRR^RA(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRrss1.4sKThe :class:`.MapperOption class is deprecated and will be removed in a future release. For modifications to queries on a per-execution basis, use the :class:`.UserDefinedOption` class to establish state within a :class:`.Query` or other Core statement, then use the :meth:`.SessionEvents.before_orm_execute` hook to consume them.t constructorcB@s,eZdZeZeZdZdZRS(s"Describe a modification to a QuerycC@sdS(s8Apply a modification to the given :class:`_query.Query`.N((R(tquery((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyt process_queryR1cC@s|j|dS(sosame as process_query(), except that this option may not apply to the given query. This is typically applied during a lazy load or scalar refresh operation to propagate options stated in the original Query to the new Query being used for the load. It occurs for those options that specify propagate_to_loaders=True. N(R(R(R((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pytprocess_query_conditionallys ( RRRTRBRR@RRR(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRs   cB@sAeZdZd ZdZdZd Zd Zd ZRS( sDescribe the loading behavior of a StrategizedProperty object. The ``LoaderStrategy`` interacts with the querying process in three ways: * it controls the configuration of the ``InstrumentedAttribute`` placed on a class to handle the behavior of the attribute. this may involve setting up class-level callable functions to fire off a select operation when the attribute is first accessed (i.e. a lazy load) * it processes the ``QueryContext`` at statement construction time, where it can modify the SQL statement that is being produced. For example, simple column attributes will add their represented column to the list of selected columns, a joined eager loader may establish join clauses to add to the statement. * It produces "row processor" functions at result fetching time. These "row processor" functions populate a particular attribute on a particular mapped instance. tparent_propertytis_class_levelR$R%Rt strategy_optscC@sL||_t|_|jj|_|jj|_||_t||_dS(N(RR@RR$R%RRR(R(R$R((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRAs    cC@sdS(N((R(R2((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRscK@sdS(sEstablish column and other state for a given QueryContext. This method fulfills the contract specified by MapperProperty.setup(). StrategizedProperty delegates its setup() method directly to this method. N((R(RR,R-tloadoptR.R/((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRR1c C@sdS(sEstablish row processing functions for a given QueryContext. This method fulfills the contract specified by MapperProperty.create_row_processor(). StrategizedProperty delegates its create_row_processor() method directly to this method. N(( R(R+R,R-RR2R3R.R4((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyR5R1cC@s t|jS(N(tstrR(R(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyt__str__s(RRR$R%RR( RRRTRURARRR5R(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pyRs   (6RTt __future__RRR1RRRtbaseRRRRRRR R R R R RRtsqlRRRtsql.baseRtsql.traversalsRt__all__t StatementRoleRtColumnsClauseRoleRR tStrictFromClauseRoleR!t_self_inspectst MemoizedSlotsRtColumnOperatorsRRRRRRRtdeprecated_clsR^RtobjectR(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/orm/interfaces.pytsp   " H)