ÿØÿàJFIFÿþ ÿÛC       ÿÛC ÿÀÿÄÿÄ"#QrÿÄÿÄ&1!A"2qQaáÿÚ ?Øy,æ/3JæÝ¹È߲؋5êXw²±ÉyˆR”¾I0ó2—PI¾IÌÚiMö¯–þrìN&"KgX:Šíµ•nTJnLK„…@!‰-ý ùúmë;ºgµŒ&ó±hw’¯Õ@”Ü— 9ñ-ë.²1<yà‚¹ïQÐU„ہ?.’¦èûbß±©Ö«Âw*VŒ) `$‰bØÔŸ’ëXÖ-ËTÜíGÚ3ð«g Ÿ§¯—Jx„–’U/ÂÅv_s(Hÿ@TñJÑãõçn­‚!ÈgfbÓc­:él[ðQe 9ÀPLbÃãCµm[5¿ç'ªjglå‡Ûí_§Úõl-;"PkÞÞÁQâ¼_Ñ^¢SŸx?"¸¦ùY騐ÒOÈ q’`~~ÚtËU¹CڒêV  I1Áß_ÿÙ 4]c@sydZddlmZddlmZdefdYZiZd dZd dZ d Z d Z d Z d S( sThe :class:`.Annotated` class and related routines; creates hash-equivalent copies of SQL constructs which contain context-specific markers and associations. i(t operatorsi(tutilt AnnotatedcBs}eZdZdZdZdZdZd edZ dZ e dZ dZ d Zd Zd ZRS( sEclones a ClauseElement and applies an 'annotations' dictionary. Unlike regular clones, this clone also mimics __hash__() and __cmp__() of the original element so that it takes its place in hashed collections. A reference to the original element is maintained, for the important reason of keeping its hash value current. When GC'ed, the hash value may be reused, causing conflicts. .. note:: The rationale for Annotated producing a brand new class, rather than placing the functionality directly within ClauseElement, is **performance**. The __hash__() method is absent on plain ClauseElement which leads to significantly reduced function call overhead, as the use of sets and dictionaries against ClauseElement objects is prevalent, but most are not "annotated". cGsg|stj|S|\}}yt|j}Wn#tk rUt|j|}nXtj|SdS(N(tobjectt__new__tannotated_classest __class__tKeyErrort_new_annotation_type(tclstargstelementtvalues((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/sql/annotation.pyR&s   cCs7|jj|_||_||_t||_dS(N(t__dict__tcopyt_Annotated__elementt _annotationsthasht_hash(tselfR R ((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/sql/annotation.pyt__init__4s  cCs)|jj}|j||j|S(N(RRtupdatet_with_annotations(RR t_values((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/sql/annotation.pyt _annotate:s cCs4|jj|j}|jj|_||_|S(N(RRR RR(RR tclone((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/sql/annotation.pyR?s cCsT|dkr|jS|jj}x|D]}|j|dq)W|j|SdS(N(tNoneRRRtpopR(RR RRtv((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/sql/annotation.pyt _deannotateEs   cKs|jjj|||S(N(RRt_compiler_dispatch(Rtvisitortkw((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/sql/annotation.pyRNscCs |jjS(N(Rt _constructor(R((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/sql/annotation.pyR!QscCsL|jj}||jkr"|S|jj|j|j||jSdS(N(Rt_cloneR RRR(RR((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/sql/annotation.pyR"Us cCs|j|j|jffS(N(RRR(R((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/sql/annotation.pyt __reduce__`scCs|jS(N(R(R((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/sql/annotation.pyt__hash__cscCsEt|jtjr+|jjj||St|t|kSdS(N(t isinstanceRRtColumnOperatorsRt__eq__R(Rtother((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/sql/annotation.pyR'fsN(t__name__t __module__t__doc__RRRRRtTrueRRtpropertyR!R"R#R$R'(((sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/sql/annotation.pyRs       cs4fd|dk r0|}n|S(sDeep copy the given ClauseElement, annotating each element with the given annotations dictionary. Elements within the exclude collection will be cloned but not annotated. csqr6t|dr6|jjr6|j}n'|jkrW|j}n|}|jd|S(Nt proxy_setR(thasattrR.t intersectionR"RRt_copy_internals(telemtnewelem(t annotationsRtexclude(sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/sql/annotation.pyR{sN(R(R R4R5((R4RR5sL/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/sql/annotation.pyt_deep_annotatess cs@tjfd|dk r<|}n|S(s2Deep copy the given element, removing annotations.cs]s|krQ|jddt}|jdsM|| s^