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:dZddlZddlZddlZddlmZddlmZddlmZddlm Z dd l m Z dd l m Z dd l m Z dd l mZdd l mZerddlmZeZndZdZdefdYZdejfdYZdefdYZedZe jdZde fdYZdefdYZdeefdYZdefd YZd!efd"YZ d#eefd$YZ!d%efd&YZ"d'efd(YZ#d)Z$d*e#fd+YZ%d,e#fd-YZ&dS(.s%Define generic result set constructs.iNi(t_baserow_usecext(tRowi(texc(tutil(t _generative(t HasMemoized(tInPlaceGenerative(tcollections_abc(tpy2k(t tuplegettercs6tj|t|dkr%SfdSdS(Nics |fS(N((trow(tit(sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt&t(toperatort itemgettertlen(tindexes((R sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyR scs2g|D]}tjd|^qfdS(Nt_get_by_int_implcs#tgD]}||^q S(N(ttuple(trectgetter(tgetters(sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyR 0R (Rt methodcaller(Rtindex((RsK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt _row_as_tuple(s"tResultMetaDatacBseZdZd Zd Zd Zd ZedZ dZ dZ e dZ dZdZdZdZd Ze d Zd ZRS(s$Base for metadata about result rows.cCs t|S(N(t RMKeyView(tself((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pytkeys<scCs tdS(N(tNotImplementedError(Rtkey((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt_has_key@scCs tdS(N(R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt _for_freezeCscCs)|s ttjt|d|dS(Ntreplace_context(tAssertionErrorRtraise_tKeyError(RRterrtraiseerr((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt _key_fallbackFs cCstjddS(NsRetrieving row members using strings or other non-integers is deprecated; use row._mapping for a dictionary interface to the row(Rtwarn_deprecated_20(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt_warn_for_nonintJscCstdt|jdS(Ns;TypeError: tuple indices must be integers or slices, not %s(t TypeErrorttypet__name__(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt_raise_for_nonintQscCs tdS(N(R(RRR'((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt_index_for_keyWscCs tdS(N(R(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt_metadata_for_keysZscCs tdS(N(R(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt_reduce]scCs3|j||}|dk r+tj|SdSdS(N(R/tNoneRR(RRR'R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt_getter`s  cCs|j|}t|S(N(t_indexes_for_keysR(RRR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt_row_as_tuple_getteris(N(R-t __module__t__doc__t __slots__R2t _tuplefiltert_translated_indexest_unique_filterstpropertyRR R!tTrueR(R*R.R/R0R1R3R5(((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyR3s          RcBsMeZd ZdZdZdZdZdZdZdZ RS( t_parentt_keyscCs8||_g|jD]}|dk r|^q|_dS(N(R>R?R2(Rtparenttk((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt__init__qs cCs t|jS(N(RR?(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt__len__uscCs dj|S(Ns#{0.__class__.__name__}({0._keys!r})(tformat(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt__repr__xscCs t|jS(N(titerR?(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt__iter__{scCs*t rt|trtS|jj|S(N(Rt isinstancetinttFalseR>R (Rtitem((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt __contains__~scCst|t|kS(N(tlist(Rtother((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt__eq__scCst|t|kS(N(RM(RRN((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt__ne__s(R>R?( R-R6R8RBRCRERGRLRORP(((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRns      tSimpleResultMetaDatacBseZdZdZddddddZdZd Zd Zd Z d Z e d Z dZ dZdZRS(s*result metadata for in-memory collections.R?t_keymapt _processorsR9R:R;c Cst||_||_||_||_|rgtt|j|D]:\}\}} |f| rm| nd||| ff^qI} n:gt|jD]$\}}|f||dff^q} d| D|_||_dS(NcSs,i|]"\}}|D]}||qqS(((t.0RRR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pys s ((( RMR?R9R:R;t enumeratetzipRRRS( RRtextraRSR9R:R;Rtnametextrast recs_names((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRBs    Y7cCs ||jkS(N(RR(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyR scCsd|j}|r*|jr*|j|}nt|jdg|jD]}|j|d^q@d|S(NRWiR;(R;R9RQR?RR(Rtunique_filtersR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyR!s  'cCsi|jd6|jd6S(NR?R:(R?R:(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt __getstate__s cCsN|dr#|d}t|}n d}}|j|dd|d|dS(NR:R?R9(R R2RB(RtstateR:R9((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt __setstate__s    cCs ||jkS(N(t_data(RtvalueR ((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt _containsscCsft|jjkr"|j|}ny|j|}Wn(tk r]}|j|||}nX|dS(Ni(RIt __class__t__mro__R?RRR%R((RRR'Rtke((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyR/scCs"g|D]}|j|d^qS(Ni(RR(RRR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyR4sccsxxq|D]i}t|jjkr/|j|}ny|j|}Wn(tk rj}|j||t}nX|VqWdS(N(RIRbRcR?RRR%R(R=(RRRRRd((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyR0s c CsyCg|D]2}|jt|jjkr5|j|n|^q }Wn-tk rr}|j|jd|tnXt |\}}}|j rg|D]}|j |^q}nt |} t |d|d| d|d|j d|j} | S(NiRWR9R:RSR;(RRRIRbRcR?R%R(targsR=RVR:R RQRSR;( RRRtmetadata_for_keysRdRtnew_keysRWtidxttupt new_metadata((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyR1s"@ #   (R?RRRSR9R:R;N(R-R6R7R8R2RBR R!R\R^RaR=R/R4R0R1(((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRQs*      cCs1t||}tjt||j|jtjS(N(RQt functoolstpartialRRSRRt_default_key_style(tfieldsRWR@((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt result_tuplestNO_ROWtResultInternalcBseZd ZeZd Zd ZeZ e j dZ e j dZ dZdZe j dZe j dZdZdZdZed Ze j d ZRS( cs;|jr|jn|}|jrI|js.dS|jfd}n |j}|jj}|j}|j}|j}|j r|j r|r|}nt j |||||fd}nt j |||||}d|j r|j fndr7|fd}n|S(Ncs|||||fS(N((tmetadatat processorstkeymapt key_stylet scalar_obj(t_proc(sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt process_row3scs|S(N((R (t_make_row_origttf(sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pytmake_rowLscs-|}xD]}||}qW|S(N((R tfn(t _make_rowtfns(sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyR{^s  ((( t _real_resultt_source_supports_scalarst_generate_rowsR2t _process_rowRmt _metadataRRRSR9RkRlt_row_logging_fn(Rt real_resultRxRuRrRtRsR{((R}RyRwR~RzsK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt _row_getter)s8          cs[|j|j|jrE|j\fd}nfd}|S(Nc3sx}|jD]o}r%|n|}r=|n|}|krUq nj|rw|}n|Vq WdS(N(t_fetchiter_impltadd(RR tobjthashed(R{tpost_creational_filtertstrategytuniques(sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pytiterrowsps  c3sMxF|jD]8}r%|n|}r@|}n|Vq WdS(N(R(RR (R{R(sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyR}s (Rt_post_creational_filtert_unique_filter_statet_unique_strategy(RR((R{RRRsK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt_iterator_getterfs    cCs2|j}|j}g|D]}||^qS(N(Rt_fetchall_impl(RR{trowsR ((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt _raw_all_rowss  c Cs|j}|j}|j}|rFg|D]}||^q+}n|}|jr|j\}}gg|D]$}||r||n|f^qnD].\}} | |kr|j|  r|^q}n|}|rg|D]}||^q}n|S(N(RRRRRR( RRR{RR t made_rowsRRtmade_rowtsig_row((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt_allrowss    " 8+"cs[|j|j|jrE|j\fd}nfd}|S(Ncs|j}xtr|}|dkr+tSr=|n|}rU|n|}|krmq n j|r|}n|Sq WdS(N(t_fetchone_implR=R2t_NO_ROWR(Rt_onerowR RR(R{RRR(sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pytonerows      csQ|j}|dkrtSr.|n|}rI|}n|SdS(N(RR2R(RR (R{R(sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRs  (RRRR(RR((R{RRRsK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt_onerow_getters    csg|j|j|jrQ|j\dfd}nfd}|S(Ncs|r(g|D]}||^q }nrGfd|D}nd|D}g|D].\}}||kr^|j| r^|^q^S(Nc3s!|]}||fVqdS(N((RTR(R(sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pys scss|]}||fVqdS(N((RTR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pys s(R(R{RRRR RRR((RsK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt filterrowss"csg}|j}|dkr|jr-|jn|}|jrL|j}}q||}t|}|j||t|}n|}xL|r||}|sPn|j||t|}qWrg|D]}|^q}n|S(N(t_fetchmany_implR2Rt _yield_perRtextend(Rtnumtcollectt _manyrowsRt num_requiredRR (RR{RRR(sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pytmanyrowss,       "cs|dkr0|jr|jn|}|j}n|j|}rgg|D]}|^qL}nrg|D]}|^qt}n|S(N(R2RRR(RRRRR (R{R(sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRs  ""(RRRR(RR((RR{RRRsK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt_manyrow_getters    *c Cs8|j}|dt}|dkrC|r<tjdqCdSn|rd|jrdt|_d}n |j}y|r||n|}Wn|j dtnX|r|j r~|j \}}|r||n|} xtrz|dt} | dkr t } PnyP|r|| n| } |rF| || krXwqXn|| krXwnPWq|j dtqXqWn$|dt} | dkrt } n| t k r|j dttj |rdndqnt } |j dt|s|j} | r| |}qn|r0|r0|dS|SdS(Nt hard_closes&No row was found when one was requiredthards6Multiple rows were found when exactly one was requireds6Multiple rows were found when one or none was requiredi(RR=R2Rt NoResultFoundRRJRRt _soft_closeRRRtMultipleResultsFoundR( Rtraise_for_second_rowtraise_for_nonetscalarRR R{RRtexisting_row_hashtnext_rowR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt _only_one_row'sj                 cCs |j|S(N(R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt _iter_impl|scCs/|j|}|tkr'tn|SdS(N(RRt StopIteration(RR ((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt _next_impls  cCsq|jr|jn|}|jrOt|dkrOtjddt|_nt|_|jj ||_dS(NisZThe Result.columns() method has a bug in SQLAlchemy 1.4 that is causing it to yield scalar values, rather than Row objects, in the case where a single index is passed and the result is against ORM mapped objects. In SQLAlchemy 2.0, Result will continue yield Row objects in this scenario. Use the Result.scalars() method to yield scalar values.s2.0( RRRRtwarn_deprecatedRJRR=RR1(RRR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt_column_slicess  cCs|j\}}|jdk r'|jn|}| r|jjr|jrf|j rf|jjd}q|jj}|jjr|jj|}ntj d|}n||fS(Nit_filter_on_values( RRR2RR;RRR9RR(RRRRtfilters((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRs    N(R-R6R2RR=RRRRJt _is_cursorRtmemoized_attributeRRRRRRRRRRRR(((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRq"s =  !(S U  t _WithKeyscBseZdZRS(cCs |jjS(skReturn an iterable view which yields the string keys that would be represented by each :class:`_engine.Row`. The keys can represent the labels of the columns returned by a core statement or the names of the orm classes returned by an orm execution. The view also can be tested for key containment using the Python ``in`` operator, which will test both for the string keys represented in the view, as well as for alternate keys such as column objects. .. versionchanged:: 1.4 a key view object is returned rather than a plain list. (RR(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRs(R-R6R(((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRstResultcBseZdZeZd#ZeZd#Z e j Z dZ edZdZedZedZedZed#dZdZd d Zed Zd Zd ZdZdZedZdZd#dZ dZ!dZ"e#rdZ$nd#dZ%dZ&dZ'd#dZ(dZ)dZ*dZ+dZ,dZ-dZ.d Z/d!Z0d"Z1RS($s\Represent a set of database results. .. versionadded:: 1.4 The :class:`_engine.Result` object provides a completely updated usage model and calling facade for SQLAlchemy Core and SQLAlchemy ORM. In Core, it forms the basis of the :class:`_engine.CursorResult` object which replaces the previous :class:`_engine.ResultProxy` interface. When using the ORM, a higher level object called :class:`_engine.ChunkedIteratorResult` is normally used. .. note:: In SQLAlchemy 1.4 and above, this object is used for ORM results returned by :meth:`_orm.Session.execute`, which can yield instances of ORM mapped objects either individually or within tuple-like rows. Note that the :class:`_engine.Result` object does not deduplicate instances or rows automatically as is the case with the legacy :class:`_orm.Query` object. For in-Python de-duplication of instances or rows, use the :meth:`_engine.Result.unique` modifier method. .. seealso:: :ref:`tutorial_fetching_rows` - in the :doc:`/tutorial/index` cCs ||_dS(N(R(Rtcursor_metadata((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRBscCs tdS(N(R(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRscCs|jdtdS(sclose this :class:`_engine.Result`. The behavior of this method is implementation specific, and is not implemented by default. The method should generally end the resources in use by the result object and also cause any subsequent iteration or row fetching to raise :class:`.ResourceClosedError`. .. versionadded:: 1.4.27 - ``.close()`` was previously not generally available for all :class:`_engine.Result` classes, instead only being available on the :class:`_engine.CursorResult` returned for Core statement executions. As most other result objects, namely the ones used by the ORM, are proxying a :class:`_engine.CursorResult` in any case, this allows the underlying cursor result to be closed from the outside facade for the case when the ORM query is using the ``yield_per`` execution option where it does not immediately exhaust and autoclose the database cursor. RN(RR=(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pytclosescCs tdS(N(R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt _soft_closedscCs tdS(skreturn ``True`` if this :class:`_engine.Result` reports .closed .. versionadded:: 1.4.43 N(R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pytclosed scCs ||_dS(sConfigure the row-fetching strategy to fetch ``num`` rows at a time. This impacts the underlying behavior of the result when iterating over the result object, or otherwise making use of methods such as :meth:`_engine.Result.fetchone` that return one row at a time. Data from the underlying cursor or other data source will be buffered up to this many rows in memory, and the buffered collection will then be yielded out one row at at time or as many rows are requested. Each time the buffer clears, it will be refreshed to this many rows or as many rows remain if fewer remain. The :meth:`_engine.Result.yield_per` method is generally used in conjunction with the :paramref:`_engine.Connection.execution_options.stream_results` execution option, which will allow the database dialect in use to make use of a server side cursor, if the DBAPI supports a specific "server side cursor" mode separate from its default mode of operation. .. tip:: Consider using the :paramref:`_engine.Connection.execution_options.yield_per` execution option, which will simultaneously set :paramref:`_engine.Connection.execution_options.stream_results` to ensure the use of server side cursors, as well as automatically invoke the :meth:`_engine.Result.yield_per` method to establish a fixed row buffer size at once. The :paramref:`_engine.Connection.execution_options.yield_per` execution option is available for ORM operations, with :class:`_orm.Session`-oriented use described at :ref:`orm_queryguide_yield_per`. The Core-only version which works with :class:`_engine.Connection` is new as of SQLAlchemy 1.4.40. .. versionadded:: 1.4 :param num: number of rows to fetch each time the buffer is refilled. If set to a value below 1, fetches all rows for the next buffer. .. seealso:: :ref:`engine_stream_results` - describes Core behavior for :meth:`_engine.Result.yield_per` :ref:`orm_queryguide_yield_per` - in the :ref:`queryguide_toplevel` N(R(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt yield_pers1cCst|f|_dS(sApply unique filtering to the objects returned by this :class:`_engine.Result`. When this filter is applied with no arguments, the rows or objects returned will filtered such that each row is returned uniquely. The algorithm used to determine this uniqueness is by default the Python hashing identity of the whole tuple. In some cases a specialized per-entity hashing scheme may be used, such as when using the ORM, a scheme is applied which works against the primary key identity of returned objects. The unique filter is applied **after all other filters**, which means if the columns returned have been refined using a method such as the :meth:`_engine.Result.columns` or :meth:`_engine.Result.scalars` method, the uniquing is applied to **only the column or columns returned**. This occurs regardless of the order in which these methods have been called upon the :class:`_engine.Result` object. The unique filter also changes the calculus used for methods like :meth:`_engine.Result.fetchmany` and :meth:`_engine.Result.partitions`. When using :meth:`_engine.Result.unique`, these methods will continue to yield the number of rows or objects requested, after uniquing has been applied. However, this necessarily impacts the buffering behavior of the underlying cursor or datasource, such that multiple underlying calls to ``cursor.fetchmany()`` may be necessary in order to accumulate enough objects in order to provide a unique collection of the requested size. :param strategy: a callable that will be applied to rows or objects being iterated, which should return an object that represents the unique value of the row. A Python ``set()`` is used to store these identities. If not passed, a default uniqueness strategy is used which may have been assembled by the source of this :class:`_engine.Result` object. N(tsetR(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pytuniqueGs&cGs |j|S(sEstablish the columns that should be returned in each row. This method may be used to limit the columns returned as well as to reorder them. The given list of expressions are normally a series of integers or string key names. They may also be appropriate :class:`.ColumnElement` objects which correspond to a given statement construct. E.g.:: statement = select(table.c.x, table.c.y, table.c.z) result = connection.execute(statement) for z, y in result.columns('z', 'y'): # ... Example of using the column objects from the statement itself:: for z, y in result.columns( statement.selected_columns.c.z, statement.selected_columns.c.y ): # ... .. versionadded:: 1.4 :param \*col_expressions: indicates columns to be returned. Elements may be integer row indexes, string column names, or appropriate :class:`.ColumnElement` objects corresponding to a select construct. :return: this :class:`_engine.Result` object with the modifications given. (R(Rtcol_expressions((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pytcolumnsos$icCs t||S(s@Return a :class:`_engine.ScalarResult` filtering object which will return single elements rather than :class:`_row.Row` objects. E.g.:: >>> result = conn.execute(text("select int_id from table")) >>> result.scalars().all() [1, 2, 3] When results are fetched from the :class:`_engine.ScalarResult` filtering object, the single column-row that would be returned by the :class:`_engine.Result` is instead returned as the column's value. .. versionadded:: 1.4 :param index: integer or row key indicating the column to be fetched from each row, defaults to ``0`` indicating the first column. :return: a new :class:`_engine.ScalarResult` filtering object referring to this :class:`_engine.Result` object. (t ScalarResult(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pytscalarsscCs+|jrtdn|jj||S(sareturn a callable that will retrieve the given key from a :class:`_engine.Row`. s.can't use this function in 'only scalars' mode(RRRR3(RRR'((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyR3s  cCs(|jrtdn|jj|S(sbreturn a callable that will retrieve the given keys from a :class:`_engine.Row`. s.can't use this function in 'only scalars' mode(RRRR5(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt _tuple_getters  cCs t|S(sApply a mappings filter to returned rows, returning an instance of :class:`_engine.MappingResult`. When this filter is applied, fetching rows will return :class:`_engine.RowMapping` objects instead of :class:`_engine.Row` objects. .. versionadded:: 1.4 :return: a new :class:`_engine.MappingResult` filtering object referring to this :class:`_engine.Result` object. (t MappingResult(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pytmappingsscCs tdS(sReturn a safe iterator that yields raw row data. This is used by the :meth:`_engine.Result.merge` method to merge multiple compatible results together. N(R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt_raw_row_iteratorscCs tdS(N(R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRscCs tdS(N(R(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRscCs tdS(N(R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRscCs tdS(N(R(Rtsize((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRscCs |jS(N(R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRGscCs |jS(N(R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt__next__scCs |jS(N(R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pytnextsccs8|j}x(tr3|||}|r/|Vq Pq WdS(sIterate through sub-lists of rows of the size given. Each list will be of the size given, excluding the last list to be yielded, which may have a small number of rows. No empty lists will be yielded. The result object is automatically closed when the iterator is fully consumed. Note that the backend driver will usually buffer the entire result ahead of time unless the :paramref:`.Connection.execution_options.stream_results` execution option is used indicating that the driver should not pre-buffer results, if possible. Not all drivers support this option and the option is silently ignored for those who do not. When using the ORM, the :meth:`_engine.Result.partitions` method is typically more effective from a memory perspective when it is combined with use of the :ref:`yield_per execution option `, which instructs both the DBAPI driver to use server side cursors, if available, as well as instructs the ORM loading internals to only build a certain amount of ORM objects from a result at a time before yielding them out. .. versionadded:: 1.4 :param size: indicate the maximum number of rows to be present in each list yielded. If None, makes use of the value set by the :meth:`_engine.Result.yield_per`, method, if it were called, or the :paramref:`_engine.Connection.execution_options.yield_per` execution option, which is equivalent in this regard. If yield_per weren't set, it makes use of the :meth:`_engine.Result.fetchmany` default, which may be backend specific and not well defined. :return: iterator of lists .. seealso:: :ref:`engine_stream_results` :ref:`orm_queryguide_yield_per` - in the :ref:`queryguide_toplevel` N(RR=(RRRt partition((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt partitionss /  cCs |jS(s4A synonym for the :meth:`_engine.Result.all` method.(R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pytfetchall-scCs'|j|}|tkrdS|SdS(sFetch one row. When all rows are exhausted, returns None. This method is provided for backwards compatibility with SQLAlchemy 1.x.x. To fetch the first row of a result only, use the :meth:`_engine.Result.first` method. To iterate through all rows, iterate the :class:`_engine.Result` object directly. :return: a :class:`_engine.Row` object if no filters are applied, or ``None`` if no rows remain. N(RRR2(RR ((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pytfetchone2s cCs|j||S(sFetch many rows. When all rows are exhausted, returns an empty list. This method is provided for backwards compatibility with SQLAlchemy 1.x.x. To fetch rows in groups, use the :meth:`_engine.Result.partitions` method. :return: a list of :class:`_engine.Row` objects. .. seealso:: :meth:`_engine.Result.partitions` (R(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt fetchmanyHscCs |jS(sReturn all rows in a list. Closes the result set after invocation. Subsequent invocations will return an empty list. .. versionadded:: 1.4 :return: a list of :class:`_engine.Row` objects. (R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pytall]s cCs|jdtdtdtS(sFetch the first row or ``None`` if no row is present. Closes the result set and discards remaining rows. .. note:: This method returns one **row**, e.g. tuple, by default. To return exactly one single scalar value, that is, the first column of the first row, use the :meth:`_engine.Result.scalar` method, or combine :meth:`_engine.Result.scalars` and :meth:`_engine.Result.first`. Additionally, in contrast to the behavior of the legacy ORM :meth:`_orm.Query.first` method, **no limit is applied** to the SQL query which was invoked to produce this :class:`_engine.Result`; for a DBAPI driver that buffers results in memory before yielding rows, all rows will be sent to the Python process and all but the first row will be discarded. .. seealso:: :ref:`migration_20_unify_select` :return: a :class:`_engine.Row` object, or None if no rows remain. .. seealso:: :meth:`_engine.Result.scalar` :meth:`_engine.Result.one` RRR(RRJ(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pytfirstks# cCs|jdtdtdtS(sReturn at most one result or raise an exception. Returns ``None`` if the result has no rows. Raises :class:`.MultipleResultsFound` if multiple rows are returned. .. versionadded:: 1.4 :return: The first :class:`_engine.Row` or ``None`` if no row is available. :raises: :class:`.MultipleResultsFound` .. seealso:: :meth:`_engine.Result.first` :meth:`_engine.Result.one` RRR(RR=RJ(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt one_or_nones cCs|jdtdtdtS(sReturn exactly one scalar result or raise an exception. This is equivalent to calling :meth:`_engine.Result.scalars` and then :meth:`_engine.Result.one`. .. seealso:: :meth:`_engine.Result.one` :meth:`_engine.Result.scalars` RRR(RR=(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt scalar_ones cCs|jdtdtdtS(s$Return exactly one scalar result or ``None``. This is equivalent to calling :meth:`_engine.Result.scalars` and then :meth:`_engine.Result.one_or_none`. .. seealso:: :meth:`_engine.Result.one_or_none` :meth:`_engine.Result.scalars` RRR(RR=RJ(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pytscalar_one_or_nones cCs|jdtdtdtS(seReturn exactly one row or raise an exception. Raises :class:`.NoResultFound` if the result returns no rows, or :class:`.MultipleResultsFound` if multiple rows would be returned. .. note:: This method returns one **row**, e.g. tuple, by default. To return exactly one single scalar value, that is, the first column of the first row, use the :meth:`_engine.Result.scalar_one` method, or combine :meth:`_engine.Result.scalars` and :meth:`_engine.Result.one`. .. versionadded:: 1.4 :return: The first :class:`_engine.Row`. :raises: :class:`.MultipleResultsFound`, :class:`.NoResultFound` .. seealso:: :meth:`_engine.Result.first` :meth:`_engine.Result.one_or_none` :meth:`_engine.Result.scalar_one` RRR(RR=RJ(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pytones cCs|jdtdtdtS(sFetch the first column of the first row, and close the result set. Returns ``None`` if there are no rows to fetch. No validation is performed to test if additional rows remain. After calling this method, the object is fully closed, e.g. the :meth:`_engine.CursorResult.close` method will have been called. :return: a Python scalar value, or ``None`` if no rows remain. RRR(RRJR=(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRs cCs t|S(sReturn a callable object that will produce copies of this :class:`_engine.Result` when invoked. The callable object returned is an instance of :class:`_engine.FrozenResult`. This is used for result set caching. The method must be called on the result when it has been unconsumed, and calling the method will consume the result fully. When the :class:`_engine.FrozenResult` is retrieved from a cache, it can be called any number of times where it will produce a new :class:`_engine.Result` object each time against its stored set of rows. .. seealso:: :ref:`do_orm_execute_re_executing` - example usage within the ORM to implement a result-set cache. (t FrozenResult(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pytfreezescGst|j|f|S(sMerge this :class:`_engine.Result` with other compatible result objects. The object returned is an instance of :class:`_engine.MergedResult`, which will be composed of iterators from the given result objects. The new result will use the metadata from this result object. The subsequent result objects must be against an identical set of result / cursor metadata, otherwise the behavior is undefined. (t MergedResultR(Rtothers((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pytmergesN(2R-R6R7RRR2RRJRRRt immutabledictt _attributesRBRRR<RRRRRRRR=R3RRRRRRRRGRRRRRRRRRRRRRRRR(((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRsR     3' &          8     '    !  t FilterResultcBseZdZd ZedZedZe dZ e dZ dZ e dZ dZedZd Zd d ZRS( sZA wrapper for a :class:`_engine.Result` that returns objects other than :class:`_engine.Row` objects, such as dictionaries or scalar objects. :class:`_engine.FilterResult` is the common base for additional result APIs including :class:`_engine.MappingResult`, :class:`_engine.ScalarResult` and :class:`_engine.AsyncResult`. cCs|jj||_dS(sConfigure the row-fetching strategy to fetch ``num`` rows at a time. The :meth:`_engine.FilterResult.yield_per` method is a pass through to the :meth:`_engine.Result.yield_per` method. See that method's documentation for usage notes. .. versionadded:: 1.4.40 - added :meth:`_engine.FilterResult.yield_per` so that the method is available on all result set implementations .. seealso:: :ref:`engine_stream_results` - describes Core behavior for :meth:`_engine.Result.yield_per` :ref:`orm_queryguide_yield_per` - in the :ref:`queryguide_toplevel` N(RR(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyR4scCs|jjd|dS(NR(RR(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRIscCs |jjS(N(RR(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRLscCs |jjS(s|Return ``True`` if the underlying :class:`_engine.Result` reports closed .. versionadded:: 1.4.43 (RR(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRPscCs|jjdS(sUClose this :class:`_engine.FilterResult`. .. versionadded:: 1.4.43 N(RR(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRZscCs |jjS(N(RR(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRbscCs |jjS(N(RR(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRfscCs|jjd|S(NR(RR(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRiscCs |jjS(N(RR(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRlscCs|jjd|S(NR(RR(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRosN(R-R6R7R2RRRRJRR<RRRRRRRR(((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyR(s     RcBseZdZeZdZd dZd dZdZ d dZ dZ dZ dZ erud Znd Zd Zd ZRS(sA wrapper for a :class:`_engine.Result` that returns scalar values rather than :class:`_row.Row` values. The :class:`_engine.ScalarResult` object is acquired by calling the :meth:`_engine.Result.scalars` method. A special limitation of :class:`_engine.ScalarResult` is that it has no ``fetchone()`` method; since the semantics of ``fetchone()`` are that the ``None`` value indicates no more results, this is not compatible with :class:`_engine.ScalarResult` since there is no way to distinguish between ``None`` as a row value versus ``None`` as an indicator. Use ``next(result)`` to receive values individually. cCsd||_|jr*|j|_d|_n*|jj|g|_tjd|_|j|_dS(Ni( RRRR2RR1RRR(RRR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRBs    cCst|f|_|S(sApply unique filtering to the objects returned by this :class:`_engine.ScalarResult`. See :meth:`_engine.Result.unique` for usage details. (RR(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRsccs8|j}x(tr3|||}|r/|Vq Pq WdS(sIterate through sub-lists of elements of the size given. Equivalent to :meth:`_engine.Result.partitions` except that scalar values, rather than :class:`_engine.Row` objects, are returned. N(RR=(RRRR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRs  cCs |jS(s:A synonym for the :meth:`_engine.ScalarResult.all` method.(R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRscCs|j||S(sFetch many objects. Equivalent to :meth:`_engine.Result.fetchmany` except that scalar values, rather than :class:`_engine.Row` objects, are returned. (R(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRscCs |jS(sReturn all scalar values in a list. Equivalent to :meth:`_engine.Result.all` except that scalar values, rather than :class:`_engine.Row` objects, are returned. (R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRscCs |jS(N(R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRGscCs |jS(N(R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRscCs |jS(N(R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRscCs|jdtdtdtS(sFetch the first object or ``None`` if no object is present. Equivalent to :meth:`_engine.Result.first` except that scalar values, rather than :class:`_engine.Row` objects, are returned. RRR(RRJ(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRs cCs|jdtdtdtS(sReturn at most one object or raise an exception. Equivalent to :meth:`_engine.Result.one_or_none` except that scalar values, rather than :class:`_engine.Row` objects, are returned. RRR(RR=RJ(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRs cCs|jdtdtdtS(sReturn exactly one object or raise an exception. Equivalent to :meth:`_engine.Result.one` except that scalar values, rather than :class:`_engine.Row` objects, are returned. RRR(RR=RJ(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRs N(R-R6R7RJRRBR2RRRRRRGRRRRRR(((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRss      RcBseZdZeZejdZdZddZ dZ ddZ dZ dZddZd Zd Zd Zerd Znd ZdZdZRS(sA wrapper for a :class:`_engine.Result` that returns dictionary values rather than :class:`_engine.Row` values. The :class:`_engine.MappingResult` object is acquired by calling the :meth:`_engine.Result.mappings` method. t_mappingcCsI||_|j|_|j|_|jrE|jjdg|_ndS(Ni(RRRRR1(Rtresult((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRBs     cCst|f|_|S(sApply unique filtering to the objects returned by this :class:`_engine.MappingResult`. See :meth:`_engine.Result.unique` for usage details. (RR(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyR scGs |j|S(s:Establish the columns that should be returned in each row.(R(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRsccs8|j}x(tr3|||}|r/|Vq Pq WdS(sIterate through sub-lists of elements of the size given. Equivalent to :meth:`_engine.Result.partitions` except that :class:`_engine.RowMapping` values, rather than :class:`_engine.Row` objects, are returned. N(RR=(RRRR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRs  cCs |jS(s;A synonym for the :meth:`_engine.MappingResult.all` method.(R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyR+scCs'|j|}|tkrdS|SdS(sFetch one object. Equivalent to :meth:`_engine.Result.fetchone` except that :class:`_engine.RowMapping` values, rather than :class:`_engine.Row` objects, are returned. N(RRR2(RR ((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyR0s  cCs|j||S(sFetch many objects. Equivalent to :meth:`_engine.Result.fetchmany` except that :class:`_engine.RowMapping` values, rather than :class:`_engine.Row` objects, are returned. (R(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyR?s cCs |jS(sReturn all scalar values in a list. Equivalent to :meth:`_engine.Result.all` except that :class:`_engine.RowMapping` values, rather than :class:`_engine.Row` objects, are returned. (R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRJs cCs |jS(N(R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRGUscCs |jS(N(R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRXscCs |jS(N(R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyR]scCs|jdtdtdtS(sFetch the first object or ``None`` if no object is present. Equivalent to :meth:`_engine.Result.first` except that :class:`_engine.RowMapping` values, rather than :class:`_engine.Row` objects, are returned. RRR(RRJ(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyR`s cCs|jdtdtdtS(sReturn at most one object or raise an exception. Equivalent to :meth:`_engine.Result.one_or_none` except that :class:`_engine.RowMapping` values, rather than :class:`_engine.Row` objects, are returned. RRR(RR=RJ(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRms cCs|jdtdtdtS(sReturn exactly one object or raise an exception. Equivalent to :meth:`_engine.Result.one` except that :class:`_engine.RowMapping` values, rather than :class:`_engine.Row` objects, are returned. RRR(RR=RJ(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRys N(R-R6R7R=RRt attrgetterRRBR2RRRRRRRRGRRRRRR(((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRs$         RcBs2eZdZdZdZdZdZRS(sRepresents a :class:`_engine.Result` object in a "frozen" state suitable for caching. The :class:`_engine.FrozenResult` object is returned from the :meth:`_engine.Result.freeze` method of any :class:`_engine.Result` object. A new iterable :class:`_engine.Result` object is generated from a fixed set of data each time the :class:`_engine.FrozenResult` is invoked as a callable:: result = connection.execute(query) frozen = result.freeze() unfrozen_result_one = frozen() for row in unfrozen_result_one: print(row) unfrozen_result_two = frozen() rows = unfrozen_result_two.all() # ... etc .. versionadded:: 1.4 .. seealso:: :ref:`do_orm_execute_re_executing` - example usage within the ORM to implement a result-set cache. :func:`_orm.loading.merge_frozen_result` - ORM function to merge a frozen result back into a :class:`_orm.Session`. cCs^|jj|_|j|_|j|_|jrKt|j|_n|j|_dS(N( RR!RrRRRMRtdataR(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRBs    cCsJ|jr&g|jD]}|g^qSg|jD]}t|^q0SdS(N(RRRM(RtelemR ((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt rewrite_rowss cCsltjt}|j|_|j|_|j|_|jr_g|D]}|d^qC|_n ||_|S(Ni(Rt__new__RrRRR(Rt tuple_datatfrtd((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt with_new_rowss    # cCs7t|jt|j}|j|_|j|_|S(N(tIteratorResultRrRFRRR(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt__call__s  (R-R6R7RBRRR(((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRs %  RcBseZdZeZeZd edZedZ edZ dZ dZ dZ edZdZd d ZRS( sA :class:`_engine.Result` that gets data from a Python iterator of :class:`_engine.Row` objects or similar row-like data. .. versionadded:: 1.4 cCs(||_||_||_||_dS(N(RtiteratortrawR(RRRRR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRBs   cCs|jS(s{Return ``True`` if this :class:`_engine.IteratorResult` has been closed .. versionadded:: 1.4.43 (t _hard_closed(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRscKs`|rt|_n|jdk r:|jjd||ntg|_|jt|_dS(NR( R=RRR2RRFRt_reset_memoizationsR(RRtkw((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRs  cCstjddS(NsThis result object is closed.(RtResourceClosedError(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt_raise_hard_closedscCs|jS(N(R(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRscCs|jr|jn|jS(N(RRR(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRs  cCsP|jr|jnt|jt}|tkrH|jd|dS|SdS(NR(RRRRRRR2(RRR ((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRs   cCs9|jr|jnzt|jSWd|jXdS(N(RRRMRR(R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRs   cCs2|jr|jnttj|jd|S(Ni(RRRMt itertoolstisliceR(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRs  N(R-R6R7RJRRR2RBR<RRRRRRRR(((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRs     cCsttgtgS(N(RRQRF(((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyt null_result stChunkedIteratorResultcBsDeZdZededZedZdZddZ RS(sAn :class:`_engine.IteratorResult` that works from an iterator-producing callable. The given ``chunks`` argument is a function that is given a number of rows to return in each chunk, or ``None`` for all rows. The function should then return an un-consumed iterator of lists, each list of the requested size. The function can be called at any time again, in which case it should continue from the same result set but adjust the chunk size as given. .. versionadded:: 1.4 cCsO||_||_||_||_tjj|jd|_||_ dS(N( RtchunksRRRtchaint from_iterableR2Rtdynamic_yield_per(RRRtsource_supports_scalarsRR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRB4s     cCs+||_tjj|j||_dS(N(RRRRRR(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRCs cKs&tt|j|d|_dS(NcSsgS(N((R((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyR PR (tsuperRRR(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRNscCsC|jr*tjj|j||_ntt|jd|S(NR( RRRRRRRRR(RR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRRs !N( R-R6R7RJR2RBRRRR(((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyR$s  RcBs)eZdZeZdZedZRS(sA :class:`_engine.Result` that is merged from any number of :class:`_engine.Result` objects. Returned by the :meth:`_engine.Result.merge` method. .. versionadded:: 1.4 cCs||_tt|j|tjjd|D|dj|_|dj|_|dj |_ |j j g|D]}|j ^qx|_ dS(Ncss|]}|jVqdS(N(R(RTtr((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pys isi( t_resultsRRRBRRRRRRRt merge_with(RRtresultsR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRBds   cKs=x$|jD]}|jd||q W|r9t|_ndS(NR(RRR=R(RRRR((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRws(R-R6R7RJRRBR(((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pyRXs ('R7RkRRR RRR RRtsql.baseRRRRRtsqlalchemy.cresultproxyR RtobjectRtKeysViewRRQR2RotsymbolRRqRRRRRRRRRR(((sK/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/engine/result.pytsH      ; cKJP 4