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@sdZddlZddlmZddlmZddlmZddlmZddlmZdd lmZdd l m Z dd l m Z d Z ejd ZdejfdYZdefdYZdefdYZdefdYZde efdYZdefdYZdefdYZdefdYZejdZdefd YZd!efd"YZdS(#sContain the ``AssociationProxy`` class. The ``AssociationProxy`` is a Python property object which provides transparent proxied access to the endpoint of an association object. See the example ``examples/association/proxied_association.py``. iNi(texc(tinspect(torm(tutil(t collections(t interfaces(tor_(tColumnOperatorscKst|||S(sReturn a Python property implementing a view of a target attribute which references an attribute on members of the target. The returned value is an instance of :class:`.AssociationProxy`. Implements a Python property representing a relationship as a collection of simpler values, or a scalar value. The proxied property will mimic the collection type of the target (list, dict or set), or, in the case of a one to one relationship, a simple scalar value. :param target_collection: Name of the attribute we'll proxy to. This attribute is typically mapped by :func:`~sqlalchemy.orm.relationship` to link to a target collection, but can also be a many-to-one or non-scalar relationship. :param attr: Attribute on the associated instance or instances we'll proxy for. For example, given a target collection of [obj1, obj2], a list created by this proxy property would look like [getattr(obj1, *attr*), getattr(obj2, *attr*)] If the relationship is one-to-one or otherwise uselist=False, then simply: getattr(obj, *attr*) :param creator: optional. When new items are added to this proxied collection, new instances of the class collected by the target collection will be created. For list and set collections, the target class constructor will be called with the 'value' for the new instance. For dict types, two arguments are passed: key and value. If you want to construct instances differently, supply a *creator* function that takes arguments as above and returns instances. For scalar relationships, creator() will be called if the target is None. If the target is present, set operations are proxied to setattr() on the associated object. If you have an associated object with multiple attributes, you may set up multiple association proxies mapping to different attributes. See the unit tests for examples, and for examples of how creator() functions can be used to construct the scalar relationship on-demand in this situation. :param \*\*kw: Passes along any other keyword arguments to :class:`.AssociationProxy`. (tAssociationProxy(ttarget_collectiontattrtkw((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pytassociation_proxys4tASSOCIATION_PROXYRcBseZdZeZeZd d d d d edZ dZ dZ dZ d dZ dZdZdZd ZRS( sDA descriptor that presents a read/write view of an object attribute.c Csz||_||_||_||_||_||_||_dt|j|t |f|_ |rv||_ ndS(s Construct a new :class:`.AssociationProxy`. The :func:`.association_proxy` function is provided as the usual entrypoint here, though :class:`.AssociationProxy` can be instantiated and/or subclassed directly. :param target_collection: Name of the collection we'll proxy to, usually created with :func:`_orm.relationship`. :param attr: Attribute on the collected instances we'll proxy for. For example, given a target collection of [obj1, obj2], a list created by this proxy property would look like [getattr(obj1, attr), getattr(obj2, attr)] :param creator: Optional. When new items are added to this proxied collection, new instances of the class collected by the target collection will be created. For list and set collections, the target class constructor will be called with the 'value' for the new instance. For dict types, two arguments are passed: key and value. If you want to construct instances differently, supply a 'creator' function that takes arguments as above and returns instances. :param cascade_scalar_deletes: when True, indicates that setting the proxied value to ``None``, or deleting it via ``del``, should also remove the source object. Only applies to scalar attributes. Normally, removing the proxied target will not remove the proxy source, as this object may have other state that is still to be kept. .. versionadded:: 1.3 .. seealso:: :ref:`cascade_scalar_deletes` - complete usage example :param getset_factory: Optional. Proxied attribute access is automatically handled by routines that get and set values based on the `attr` argument for this proxy. If you would like to customize this behavior, you may supply a `getset_factory` callable that produces a tuple of `getter` and `setter` functions. The factory is called with two arguments, the abstract type of the underlying collection and this proxy instance. :param proxy_factory: Optional. The type of collection to emulate is determined by sniffing the target collection. If your collection type can't be determined by duck typing or you'd like to use a different collection implementation, you may supply a factory function to produce those collections. Only applicable to non-scalar relationships. :param proxy_bulk_set: Optional, use with proxy_factory. See the _set() method for details. :param info: optional, will be assigned to :attr:`.AssociationProxy.info` if present. .. versionadded:: 1.0.9 s _%s_%s_%sN( R t value_attrtcreatortgetset_factoryt proxy_factorytproxy_bulk_settcascade_scalar_deletesttypet__name__tidtkeytinfo( tselfR R RRRRRR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt__init__csI        cCs9|dkr|S|j||}|r5|j|S|S(N(tNonet _as_instancetget(Rtobjtclass_tinst((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt__get__s   cCs(t|}|j||j||S(N(RRtset(RRtvaluesR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt__set__s cCs%t|}|j||j|S(N(RRtdelete(RRR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt __delete__s cCs|j||S(sReturn the internal state local to a specific mapped class. E.g., given a class ``User``:: class User(Base): # ... keywords = association_proxy('kws', 'keyword') If we access this :class:`.AssociationProxy` from :attr:`_orm.Mapper.all_orm_descriptors`, and we want to view the target class for this proxy as mapped by ``User``:: inspect(User).all_orm_descriptors["keywords"].for_class(User).target_class This returns an instance of :class:`.AssociationProxyInstance` that is specific to the ``User`` class. The :class:`.AssociationProxy` object remains agnostic of its parent class. :param class\_: the class that we are returning state for. :param obj: optional, an instance of the class that is required if the attribute refers to a polymorphic target, e.g. where we have to look at the type of the actual destination object to get the complete path. .. versionadded:: 1.3 - :class:`.AssociationProxy` no longer stores any state specific to a particular parent class; the state is now stored in per-class :class:`.AssociationProxyInstance` objects. (R(RRR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt for_classs!cCsy|j|jd}Wntk r1d}nX|dkr|j|}|dk rtj|||}t||jd|qd}n|dk r|j r|j |S|SdS(Nt_inst( t__dict__RtKeyErrorRt _calc_ownertAssociationProxyInstancet for_proxytsetattrt _is_canonicalt_non_canonical_get_for_object(RRRR towner((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRs      cCs9yt|}Wntjk r'dSX|jjjSdS(N(RRtNoInspectionAvailableRtmappert class_managerR(Rt target_clstinsp((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR+ s cs^|jtjfd}|tkrEfd}nfd}||fS(Ncs|dk r|SdS(N(R(ttarget(t_getter(sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pytgetterscst||dS(N(R.(totktv(R (sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pytsetter$scst||dS(N(R.(R:R<(R (sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR=)s(Rtoperatort attrgettertdict(Rtcollection_classR9R=((R8R sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt_default_getsets  cCsd|j|jfS(NsAssociationProxy(%r, %r)(R R(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt__repr__.sN(Rt __module__t__doc__tTruet is_attributeR textension_typeRtFalseRR!R$R&R'RR+RBRC(((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR]s" P   #   R,cBsaeZdZdZdZedZedZdZ e dZ dZ edZ ejdZe d Ze d Ze d Zejd Zejd Ze dZdZdZe dZdZdZdZdZdZdZddZ ddZ!ddZ"dZ#RS(sA per-class object that serves class- and object-specific results. This is used by :class:`.AssociationProxy` when it is invoked in terms of a specific class or instance of a class, i.e. when it is used as a regular Python descriptor. When referring to the :class:`.AssociationProxy` as a normal Python descriptor, the :class:`.AssociationProxyInstance` is the object that actually serves the information. Under normal circumstances, its presence is transparent:: >>> User.keywords.scalar False In the special case that the :class:`.AssociationProxy` object is being accessed directly, in order to get an explicit handle to the :class:`.AssociationProxyInstance`, use the :meth:`.AssociationProxy.for_class` method:: proxy_state = inspect(User).all_orm_descriptors["keywords"].for_class(User) # view if proxy object is scalar or not >>> proxy_state.scalar False .. versionadded:: 1.3 cCsI||_|j|_||_|j|_d|_||_||_dS(N(tparentRt owning_classR RRAt target_classR(RRJRKRLR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRSs      c Cs|j}|j}tj|j|}t|tjsXtjt dddn|j j }y|j ||}Wnhtk rt||||Stk r} tjtjd|j|j|j| fd| nX|j|||||SdS(NsEassociation proxy to a non-relationship intermediary is not supportedtreplace_contextslAssociation proxy received an unexpected error when trying to retreive attribute "%s.%s" from class "%s": %stfrom_(R RRt class_mappert get_propertyt isinstancetRelationshipPropertyRtraise_tNotImplementedErrorRR3Rt_cls_unwrap_target_assoc_proxytAttributeErrort!AmbiguousAssociationProxyInstancet ExceptionRtInvalidRequestErrorRt_construct_for_assoc( tclsRJRKtparent_instanceR RtpropRLt target_assocterr((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR-es4        cCs|dk rt||||St||}t|dsPt||||S|j}|rrt||||St||||SdS(Nt_is_internal_proxy(RtObjectAssociationProxyInstancetgetattrthasattrRWt_impl_uses_objectstColumnAssociationProxyInstance(R[R^RJRKRLRR t is_object((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRZs  cCstj|jj|jS(N(RRORKRPR (R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt _get_propertyscCs |jjS(N(Rgt comparator(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt _comparatorscCstddS(NsqThe association proxy can't be used as a plain column expression; it only works inside of a comparison expression(RT(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt__clause_element__scCs,t||}t|ttfr(|SdS(N(RbRQRR,R(R[RLRR ((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRUscCs|j|j|jS(N(RURLR(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt_unwrap_target_assoc_proxyscCst|j|jS(sThe 'remote' class attribute referenced by this :class:`.AssociationProxyInstance`. .. seealso:: :attr:`.AssociationProxyInstance.attr` :attr:`.AssociationProxyInstance.local_attr` (RbRLR(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt remote_attrs cCst|j|jS(sThe 'local' class attribute referenced by this :class:`.AssociationProxyInstance`. .. seealso:: :attr:`.AssociationProxyInstance.attr` :attr:`.AssociationProxyInstance.remote_attr` (RbRKR (R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt local_attrs cCs|j|jfS(sReturn a tuple of ``(local_attr, remote_attr)``. This attribute was originally intended to facilitate using the :meth:`_query.Query.join` method to join across the two relationships at once, however this makes use of a deprecated calling style. To use :meth:`_sql.select.join` or :meth:`_orm.Query.join` with an association proxy, the current method is to make use of the :attr:`.AssociationProxyInstance.local_attr` and :attr:`.AssociationProxyInstance.remote_attr` attributes separately:: stmt = ( select(Parent). join(Parent.proxied.local_attr). join(Parent.proxied.remote_attr) ) A future release may seek to provide a more succinct join pattern for association proxy attributes. .. seealso:: :attr:`.AssociationProxyInstance.local_attr` :attr:`.AssociationProxyInstance.remote_attr` (RmRl(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR scCs'|jj }|r#|jn|S(ssReturn ``True`` if this :class:`.AssociationProxyInstance` proxies a scalar relationship on the local side.(Rgtuselistt_initialize_scalar_accessors(Rtscalar((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRps cCs|jjj|jj S(N(RgR3RPRRn(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt_value_is_scalarscCs tdS(N(RT(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt_target_is_objectscCsY|jjr*|jjd|\}}n|jjd\}}|||_|_dS(N(RJRRRBt _scalar_gett _scalar_set(RRtset_((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRos cs^|jtjfd}|tkrEfd}nfd}||fS(Ncs|dk r|SdS(N(R(R7(R8(sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR9'scst||S(N(R.(R:R;R<(R (sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR=,scst||S(N(R.(R:R<(R (sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR=1s(RR>R?R@(RRAR9R=((R8R sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRB#s  cCs |jjS(N(RJR(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR6scCs|dkr|S|jr8t||j}|j|Syt||j\}}}Wntk rjn>Xt||krt||kr|jdk st |S|j t ||j\|_}t ||jt|t||f|SdS(N( RRpRbR RsRRVRRAtAssertionErrort_newt_lazy_collectionR.(RRR7t creator_idtself_idtproxy((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR:s     $(cCs|jr|jjr!|jjn|j}t||j}|dkrt|dkrXdSt||j||q|j|||dkr|jj rt||jdqnC|j |}|j dk st ||k r|j ||ndS(N(RpRJRRLRbR RR.RtRRRARvt _bulk_replace(RRR#RR7R{((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR"Ss     cCss|jdkr"|j|dn|jr_t||j}|dk r_t||jq_nt||jdS(N(RKRR+RpRbR tdelattrR(RRR7((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR%is  cCsA|jjr|jjn|j}tj|}|jjra||jj|||j|fS|jjr|jj||\}}n|jj|\}}|t kr|t |||||fS|t kr|t |||||fS|t kr|t|||||fStjd|jj|jfdS(Nscould not guess which interface to use for collection_class "%s" backing "%s"; specify a proxy_factory and proxy_bulk_set manually(RJRRLRtduck_type_collectionRRRRBtlistt_AssociationListR@t_AssociationDictR"t_AssociationSetRt ArgumentErrorRARR (Rtlazy_collectionRRAR9R=((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRwss0!      cCs|jjr"|jj||nl|jtkrA|j|nM|jtkr`|j|n.|jtkr|j|ntj ddS(NsEno proxy_bulk_set supplied for custom collection_class implementation( RJRRARtextendR@tupdateR"RR(RR{R#((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt_sets cCs|jjr|jjp|j}|jjrN|jj|j|\}}n|jj|j\}}||_||_||_dS(N(RJRRLRRARBR9R=(RR{RR9R=((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt_inflates!    cKs|jdd}|j}|dk rL|jd||}|jj|S|jrt|j|j}|j||}nB|rt j dn$|r|dk rt j dn|}|jj|S(Ntis_hast criterionsJCan't apply keyword arguments to column-targeted association proxy; use ==sINon-empty has() not allowed for column-targeted association proxy; use ==( tpopRRkt_criterion_existsRiRrRbRLRRR(RRtkwargsRR^tinnerR]t value_expr((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRs"       cKsV|jdkr=|jr=|j s+|jr=tjdn|jd|dt|S(s!Produce a proxied 'any' expression using EXISTS. This expression will be a composed product using the :meth:`.RelationshipProperty.Comparator.any` and/or :meth:`.RelationshipProperty.Comparator.has` operators of the underlying proxied attributes. s9'any()' not implemented for scalar attributes. Use has().RRN( RkRRpRrRqRRYRRI(RRR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pytanys    cKsW|jdkr>|j s,|jr>|j r>tjdn|jd|dt|S(s!Produce a proxied 'has' expression using EXISTS. This expression will be a composed product using the :meth:`.RelationshipProperty.Comparator.any` and/or :meth:`.RelationshipProperty.Comparator.has` operators of the underlying proxied attributes. s4'has()' not implemented for collections. Use any().RRN( RkRRpRrRqRRYRRF(RRR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pythass    cCsd|jj|jfS(Ns%s(%r)(t __class__RRJ(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRCsN($RRDRERRRLt classmethodR-RZRgtpropertyRiRjRURtmemoized_propertyRkRlRmR RpRqRrRoRBRRR"R%RwRRRRRRC(((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR,5s:  2        0     RWcBsteZdZeZdZdZdZdZd dZ d dZ e j dZdZd ZRS( scan :class:`.AssociationProxyInstance` where we cannot determine the type of target object. cCs/td|jj|j|j|jfdS(NsAssociation proxy %s.%s refers to an attribute '%s' that is not directly mapped on class %s; therefore this operation cannot proceed since we don't know what type of object is referred towards(RVRKRR RRL(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt _ambiguouss  cCs*|dkr|Stt|j|SdS(N(RtsuperRWR(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR s cCs|jdS(N(R(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt__eq__&scCs|jdS(N(R(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt__ne__)scKs|jdS(N(R(RRR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR,scKs|jdS(N(R(RRR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR/scCsiS(N((R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt _lookup_cache2scCs|dk rt||j}|dk ryt|}Wntjk rPqX|j}|j}||jkr|j ||ny|j|SWqt k rqXqn|S(N( RRbR RRR2R3RRt_populate_cacheR*(RR\t actual_objR6R3tinstance_class((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR09s       cCstj|jj|j}|j|jr|}y|j||j}Wnt k rbqX|j ||j |j||j|j |teqRRRi(Rtothertexpr((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRs  cOs|j|jj|||S(N(RRlR(RtopRR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRs( RRDRERIRrRFR/RR(((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRes  RxcBs,eZdZdZdZdZRS(cCs||_||_dS(N(RJR7(RRR7((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRs cCst|j|jS(N(RbRJR7(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt__call__scCsi|jd6|jd6S(NRR7(RJR7(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt __getstate__scCs|d|_|d|_dS(NRR7(RJR7(Rtstate((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt __setstate__s (RRDRRRR(((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRxs   t_AssociationCollectioncBsSeZdZedZdZdZeZdZdZ dZ RS(cCs1||_||_||_||_||_dS(sConstructs an _AssociationCollection. This will always be a subclass of either _AssociationList, _AssociationSet, or _AssociationDict. lazy_collection A callable returning a list-based collection of entities (usually an object attribute managed by a SQLAlchemy relationship()) creator A function that creates new target entities. Given one parameter: value. This assertion is assumed:: obj = creator(somevalue) assert getter(obj) == somevalue getter A function. Given an associated object, return the 'value'. setter A function. Given an associated object and a value, store that value on the object. N(RRR9R=RJ(RRRR9R=RJ((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRs     cCs |jS(N(R(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyttcCs t|jS(N(tlentcol(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt__len__scCs t|jS(N(tboolR(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt__bool__scCsi|jd6|jd6S(NRJR(RJR(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRscCs.|d|_|d|_|jj|dS(NRJR(RJRR(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRs  cCs|j|j||dS(N(tclearR(Rt assoc_proxyR#((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR|s ( RRDRRRRRt __nonzero__RRR|(((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRs     RcBseZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZdZdZddZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ e Z!d Z"d!Z#d"Z$d#Z%d$Z&d%Z'xoe(e)j*D]X\Z+Z,e-e,roe,je+kroe,j roe.e(e+roe/e(e+je,_qoqoW[+[,RS(&s(Generic, converting, list-to-list proxy.cCs |j|S(N(R(Rtvalue((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt_createscCs |j|S(N(R9(Rtobject_((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt_getscCs|j||S(N(R=(RRR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR scCsNt|ts#|j|j|Sg|j|D]}|j|^q1SdS(N(RQtsliceRR(Rtindextmember((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt __getitem__sc Cst|ts)|j|j||nW|jdkrGt|}n.|jdkrlt||j}n |j}|jpd}|jpd}t t |jpd||}|dkr x|D] }||=qW|}x|D] }|j |||d7}qWntt|t|krIt dt|t|fnx4t ||D]#\}}|j|j||qYWdS(NiisBattempt to assign sequence of size %s to extended slice of size %s(RQRRRtstopRRtsteptstartRtrangetinsertt ValueErrortzip( RRRRRRtrngtititem((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt __setitem__s. !    cCs|j|=dS(N(R(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt __delitem__2scCs1x*|jD]}|j||kr tSq WtS(N(RRRFRI(RRR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt __contains__5scCs*g|j||!D]}|j|^qS(N(RR(RRtendR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt __getslice__<scCs6g|D]}|j|^q}||j||+dS(N(RR(RRRR#R<tmembers((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt __setslice__?s"cCs|j||5dS(N(R(RRR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt __delslice__Csccs&x|jD]}|j|Vq WdS(sIterate over proxied values. For the actual domain objects, iterate over .col instead or just use the underlying collection directly from its property on the parent. N(RR(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt__iter__FscCs)|j}|j|}|j|dS(N(RRtappend(RRRR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRRs cs8tgtjfdt|D] }d^q%S(Ncs |kS(N((R<(R(sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR\Ri(tsumRtitertools_filtertiter(RRt_((RsR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pytcountWscCs"x|D]}|j|qWdS(N(R(RR#R<((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRas cCs |j|g|j||+dS(N(RR(RRR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyResicCs|j|jj|S(N(R9RR(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRhscCsGx4t|D]&\}}||kr |j|=dSq WtddS(Nsvalue not in list(t enumerateRR(RRRtval((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pytremoveks   cCs tdS(s#Not supported, use reversed(mylist)N(RT(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pytreverserscCs tdS(s!Not supported, use sorted(mylist)N(RT(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pytsortwscCs|jdt|j5dS(Ni(RR(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR|scCst||kS(N(R(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRscCst||kS(N(R(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRscCst||kS(N(R(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt__lt__scCst||kS(N(R(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt__le__scCst||kS(N(R(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt__gt__scCst||kS(N(R(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt__ge__scCstjt||S(N(RtcmpR(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt__cmp__scCs3yt|}Wntk r$tSXt||S(N(Rt TypeErrortNotImplemented(RtiterableR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt__add__s  cCs3yt|}Wntk r$tSX|t|S(N(RRR(RRR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt__radd__s  cCs!t|tstSt||S(N(RQtintRR(Rtn((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt__mul__scCs|j||S(N(R(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt__iadd__s cCsZt|tstS|dkr,|jn*|dkrV|jt||dn|S(Nii(RQRRRRR(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt__imul__s   cGst|j||S(N(RR(RRtargs((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRscCs t|S(N(R(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pytcopyscCstt|S(N(treprR(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRCscCstdt|jdS(Ns%s objects are unhashable(RRR(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt__hash__s(0RRDRERRRRRRRRRRRRRRRRRRRRRRRRRRRRRRt__rmul__RRRRRCRRtlocalstitemst func_nametfunctcallableRcRb(((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRsZ                                 "  t _NotProvidedRcBseZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZdZdZdZdZdZd#dZd#dZdZejrdZdZdZdZdZndZdZe dZ!dZ"dZ#d Z$d!Z%d"Z&xoe'e(jD]X\Z)Z*e+e*rie*je)krie*j rie,e-e)rie.e-e)je*_qiqiW[)[*RS($s(Generic, converting, dict-to-dict proxy.cCs|j||S(N(R(RRR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRscCs |j|S(N(R9(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRscCs|j|||S(N(R=(RRRR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRscCs|j|j|S(N(RR(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRscCsI||jkr,|j|j|||n|j|||j|%s(R(R((RsR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt iteritems$scsfdjDS(Nc3s%|]}jj|VqdS(N(RR(RR(R(sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pys (s(R(R((RsR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyt itervalues'scCs |jjS(N(Rtiterkeys(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR*scCs)g|jjD]}|j|^qS(N(RR#R(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR#-scCs-g|D]"}||j|j|f^qS(N(RR(RR;((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR0scsfdjDS(Nc3s+|]!}|jj|fVqdS(N(RR(RR(R(sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pys 6s(R(R((RsR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR5scsfdjDS(Nc3s%|]}jj|VqdS(N(RR(RR(R(sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pys 9s(R(R((RsR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR#8scCsC|tkr!|jj|}n|jj||}|j|S(N(RRRR(RRRR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyR;s cCs*|jj}|d|j|dfS(Nii(RtpopitemR(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRBsc Ost|dkr+tdt|nt|dkr|d}t|drxxs|D]}||||\}}||kr|||scCst||kS(N(R"(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRAscCst||kS(N(R"(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRDscCst||kS(N(R"(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRGscCst||kS(N(R"(RR((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRJscCstt|S(N(RR"(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRCMscCstdt|jdS(Ns%s objects are unhashable(RRR(R((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRPs(5RRDRERRRRRRRRRRRRR|R RR t__or__Rt__sub__RRRt__and__RRRt__xor__RRRRRRRRRRRRRCRRRRRRRRcR"Rb(((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyRsb                               "  (RER>RRRRRRRtsqlRt sql.operatorsRR tsymbolR tInspectionAttrInfoRtobjectR,RWRaReRxRRRRR(((sR/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/ext/associationproxy.pyts0  7 \:7