§ <ˆj€Îãó.—dZddlZddlZddlmZddlmZddlmZddlm Z dd l m Z gd ¢Z e j  ¦«ZGd „d e¦«ZGd „de¦«ZGd„de¦«Zd„ZGd„de¦«Zd„Zd„ZGd„de¦«Zejd¦«Z Gd„de¦«Zdz/_PlainColumnGetter.__call__..—s=ø€ð ð ð àð × 'Ò '¨¨u¬z¸3Ñ ?Ô ?ð ð ð rr)rÚinstance_stateÚ _state_mapperr"rÚtuple©rÚvalueÚkeyr*r+s @@rÚ__call__z_PlainColumnGetter.__call__“s|øø€ÝÔ# EÑ*Ô*ˆÝ Ô ˜uÑ %Ô %ˆð ð ð ð ð à—z’z !‘}”}ð ñ ô ˆð Œ>ð ݘ‘:”:Ð à�q”6ˆMrN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rrr"r3r%rrrrs]€€€€€ððð'ð'ð'ðHðHðHðððð ð ð ð ð rrcó$—eZdZdZd„Zd„Zd„ZdS)Ú_SerializableColumnGetterzlColumn-based getter used in version 0.7.6 only. Remains here for pickle compatibility with 0.7.6. cóD—||_t|¦«dk|_dSr©Úcolkeysrr©rr<s rrz"_SerializableColumnGetter.__init__©ó€ØˆŒ ݘW™œ¨Ò)ˆŒˆˆrcó —t|jffSr)r9r<rs rrz$_SerializableColumnGetter.__reduce__­s€Ý(¨4¬<¨/Ð9Ð9rc󺇇—tj|¦«Štj‰¦«Šˆˆfd„|jD¦«}|jrt |¦«S|dS)Ncóh•—g|].}‰ ‰‰j‰jj|¦«‘Œ/Sr%)r&r'Ú mapped_tableÚcolumns)r(Úkr*r+s €€rr,z6_SerializableColumnGetter.__call__..³sNø€ð ð ð ðð × 'Ò 'Ø�u”z 1¤>Ô#9¸!Ô#<ñ ô ð ð ð rr)rr-r.r<rr/r0s @@rr3z"_SerializableColumnGetter.__call__°svøø€ÝÔ# EÑ*Ô*ˆÝ Ô ˜uÑ %Ô %ˆð ð ð ð ð ð”\ð  ñ ô ˆð Œ>ð ݘ‘:”:Ð à�q”6ˆMrN)r4r5r6r7rrr3r%rrr9r9¢sK€€€€€ððð *ð*ð*ð:ð:ð:ð ð ð ð ð rr9có:—eZdZdZd„Zd„Zed„¦«Zd„ZdS)ra<Updated serializable getter which deals with multi-table mapped classes. Two extremely unusual cases are not supported. Mappings which have tables across multiple metadata objects, or which are mapped to non-Table selectables linked across inheriting mappers may fail to function here. cóD—||_t|¦«dk|_dSrr;r=s rrz$_SerializableColumnGetterV2.__init__Ër>rcó —|j|jffSr)Ú __class__r<rs rrz&_SerializableColumnGetterV2.__reduce__Ïs€ØŒ~ ¤ ˜Ð.Ð.rcó:‡—d„Šˆfd„|D¦«}t|ffS)Ncó\—t|jtj¦«sdS|jjSr)Ú isinstanceÚtabler Ú TableClauser2)Úcs rÚ _table_keyzA_SerializableColumnGetterV2._reduce_from_cols.._table_keyÔs(€Ý˜aœg¥zÔ'=Ñ>Ô>ð #Ø�tà”w”{Ð"rcó4•—g|]}|j‰|¦«f‘ŒSr%)r2)r(rNrOs €rr,zA_SerializableColumnGetterV2._reduce_from_cols..Ús(ø€Ð8Ð8Ð8¨a�A”E˜:˜: a™=œ=Ð)Ð8Ð8Ð8r)r)Úclsrr<rOs @rrz-_SerializableColumnGetterV2._reduce_from_colsÒs:ø€ð #ð #ð #ð 9Ð8Ð8Ð8°4Ð8Ñ8Ô8ˆÝ*¨W¨JÐ6Ð6rcó—g}t|jdd¦«}|jD]^\}}|�|�||vr&| |jj|¦«Œ3| |j|j|¦«Œ_|S)NÚmetadata)ÚgetattrÚ local_tabler<ÚappendrNÚtables)rr!rrSÚckeyÚtkeys rr"z!_SerializableColumnGetterV2._colsÝs�€ØˆÝ˜6Ô-¨z¸4Ñ@Ô@ˆØ œLð ;ð ;‰LˆT�4؈|˜xÐ/°4¸xÐ3GÐ3GØ— ’ ˜FÔ.Ô0°Ô6Ñ7Ô7Ð7Ð7à— ’ ˜HœO¨DÔ1Ô3°DÔ9Ñ:Ô:Ð:Ð:؈ rN) r4r5r6r7rrÚ classmethodrr"r%rrrr¿sf€€€€€ð ð ð*ð*ð*ð/ð/ð/ðð7ð7ñ„[ð7ðððððrrcóh‡—d„tj|¦«D¦«}t|¦«Šˆfd„S)aßA dictionary-based collection type with column-based keying. Returns a :class:`.MappedCollection` factory with a keying function generated from mapping_spec, which may be a Column or a sequence of Columns. The key value must be immutable for the lifetime of the object. You can not, for example, map on foreign key values if those key values will change during the session, i.e. from None to a database-assigned integer after a session flush. có8—g|]}tj|d¦«‘ŒS)Ú mapping_spec)r Ú_only_column_elements)r(Úqs rr,z,column_mapped_collection..õs5€ð ð ð à õ Ô(¨¨NÑ;Ô;ð ð ð rcó"•—t‰¦«Sr©ÚMappedCollection©Úkeyfuncs€rúz*column_mapped_collection..úóø€Õ# GÑ,Ô,€r)rÚto_listr)r]rrds @rr r èsIø€ð ð 唘lÑ+Ô+ð ñ ô €Dõ! Ñ&Ô&€GØ ,Ð ,Ð ,Ð ,Ð,rcó —eZdZd„Zd„Zd„ZdS)Ú_SerializableAttrGettercóF—||_tj|¦«|_dSr)ÚnameÚoperatorÚ attrgetterÚgetter)rrks rrz _SerializableAttrGetter.__init__þs€ØˆŒ ÝÔ)¨$Ñ/Ô/ˆŒ ˆ ˆ rcó,—| |¦«Sr©rn)rÚtargets rr3z _SerializableAttrGetter.__call__s€Ø�{Š{˜6Ñ"Ô"Ð"rcó —t|jffSr)rirkrs rrz"_SerializableAttrGetter.__reduce__s€Ý&¨¬¨ Ð4Ð4rN)r4r5r6rr3rr%rrririýsA€€€€€ð0ð0ð0ð#ð#ð#ð5ð5ð5ð5ð5rricó,‡—t|¦«Šˆfd„S)a¼A dictionary-based collection type with attribute-based keying. Returns a :class:`.MappedCollection` factory with a keying based on the 'attr_name' attribute of entities in the collection, where ``attr_name`` is the string name of the attribute. .. warning:: the key value must be assigned to its final value **before** it is accessed by the attribute mapped collection. Additionally, changes to the key attribute are **not tracked** automatically, which means the key in the dictionary is not automatically synchronized with the key value on the target object itself. See the section :ref:`key_collections_mutations` for an example. có"•—t‰¦«Srrarps€rrez-attribute_mapped_collection..sø€Õ# FÑ+Ô+€r)ri)Ú attr_namerns @rrr s!ø€õ % YÑ /Ô /€FØ +Ð +Ð +Ð +Ð+rcó‡—ˆfd„S)aàA dictionary-based collection type with arbitrary keying. Returns a :class:`.MappedCollection` factory with a keying function generated from keyfunc, a callable that takes an entity and returns a key value. The key value must be immutable for the lifetime of the object. You can not, for example, map on foreign key values if those key values will change during the session, i.e. from None to a database-assigned integer after a session flush. có"•—t‰¦«Srrarcs€rrez#mapped_collection..*rfrr%rcs`rr r sø€ð -Ð ,Ð ,Ð ,Ð,rcóP—eZdZdZed„¦«Zed„¦«Zed„¦«Zed„¦«Zee j dd¦«d„¦«¦«Z e Z ee j d d ¦«d „¦«¦«Z ed „¦«Zed „¦«Zed„¦«Zed„¦«ZdS)r a}Decorators for entity collection classes. The decorators fall into two groups: annotations and interception recipes. The annotating decorators (appender, remover, iterator, linker, converter, internally_instrumented) indicate the method's purpose and take no arguments. They are not written with parens:: @collection.appender def append(self, append): ... The recipe decorators all require parens, even those that take no arguments:: @collection.adds('entity') def insert(self, position, entity): ... @collection.removes_return() def popitem(self): ... có—d|_|S)aTag the method as the collection appender. The appender method is called with one positional argument: the value to append. The method will be automatically decorated with 'adds(1)' if not already decorated:: @collection.appender def add(self, append): ... # or, equivalently @collection.appender @collection.adds(1) def add(self, append): ... # for mapping type, an 'append' may kick out a previous value # that occupies that slot. consider d['a'] = 'foo'- any previous # value in d['a'] is discarded. @collection.appender @collection.replaces(1) def add(self, entity): key = some_key_func(entity) previous = None if key in self: previous = self[key] self[key] = entity return previous If the value to append is not allowed in the collection, you may raise an exception. Something to remember is that the appender will be called for each object mapped by a database query. If the database contains rows that violate your collection semantics, you will need to get creative to fix the problem, as access via the collection will not work. If the appender method is internally instrumented, you must also receive the keyword argument '_sa_initiator' and ensure its promulgation to collection events. Úappender©Ú_sa_instrument_role©Úfns rrzzcollection.appenderGs€ðR",ˆÔ؈ rcó—d|_|S)aTag the method as the collection remover. The remover method is called with one positional argument: the value to remove. The method will be automatically decorated with :meth:`removes_return` if not already decorated:: @collection.remover def zap(self, entity): ... # or, equivalently @collection.remover @collection.removes_return() def zap(self, ): ... If the value to remove is not present in the collection, you may raise an exception or return None to ignore the error. If the remove method is internally instrumented, you must also receive the keyword argument '_sa_initiator' and ensure its promulgation to collection events. Úremoverr{r}s rr€zcollection.removerss€ð0"+ˆÔ؈ rcó—d|_|S)zÿTag the method as the collection remover. The iterator method is called with no arguments. It is expected to return an iterator over all collection members:: @collection.iterator def __iter__(self): ... Úiteratorr{r}s rr‚zcollection.iteratorŽs€ð",ˆÔ؈ rcó—d|_|S)aÈTag the method as instrumented. This tag will prevent any decoration from being applied to the method. Use this if you are orchestrating your own calls to :func:`.collection_adapter` in one of the basic SQLAlchemy interface methods, or to prevent an automatic ABC method decoration from wrapping your implementation:: # normally an 'extend' method on a list-like class would be # automatically intercepted and re-implemented in terms of # SQLAlchemy events and append(). your implementation will # never be called, unless: @collection.internally_instrumented def extend(self, items): ... T)Ú_sa_instrumentedr}s rÚinternally_instrumentedz"collection.internally_instrumentedœs€ð$#ˆÔ؈ rz1.0zÜThe :meth:`.collection.linker` handler is deprecated and will be removed in a future release. Please refer to the :meth:`.AttributeEvents.init_collection` and :meth:`.AttributeEvents.dispose_collection` event handlers. có—d|_|S)aŸTag the method as a "linked to attribute" event handler. This optional event handler will be called when the collection class is linked to or unlinked from the InstrumentedAttribute. It is invoked immediately after the '_sa_adapter' property is set on the instance. A single argument is passed: the collection adapter that has been linked, or None if unlinking. Úlinkerr{r}s rr‡zcollection.linker±s€ð&"*ˆÔ؈ rz1.3zçThe :meth:`.collection.converter` handler is deprecated and will be removed in a future release. Please refer to the :class:`.AttributeEvents.bulk_replace` listener interface in conjunction with the :func:`.event.listen` function.có—d|_|S)a¡Tag the method as the collection converter. This optional method will be called when a collection is being replaced entirely, as in:: myobj.acollection = [newvalue1, newvalue2] The converter method will receive the object being assigned and should return an iterable of values suitable for use by the ``appender`` method. A converter must not assign values or mutate the collection, its sole job is to adapt the value the user provides into an iterable of values for the ORM's use. The default converter implementation will use duck-typing to do the conversion. A dict-like collection will be convert into an iterable of dictionary values, and other types will simply be iterated:: @collection.converter def convert(self, other): ... If the duck-typing of the object does not match the type of this collection, a TypeError is raised. Supply an implementation of this method if you want to expand the range of possible types that can be assigned in bulk or perform validation on the values about to be assigned. Ú converterr{r}s rr‰zcollection.converterÏs€ðJ"-ˆÔ؈ rcó‡—ˆfd„}|S)aÛMark the method as adding an entity to the collection. Adds "add to collection" handling to the method. The decorator argument indicates which method argument holds the SQLAlchemy-relevant value. Arguments can be specified positionally (i.e. integer) or by name:: @collection.adds(1) def push(self, item): ... @collection.adds('entity') def do_stuff(self, thing, entity=None): ... có•—d‰f|_|S)NÚfire_append_event©Ú_sa_instrument_before©r~Úargs €rÚ decoratorz"collection.adds..decorator󸀨(;¸SÐ'AˆBÔ $؈Irr%©r�r‘s` rÚaddszcollection.adds÷ó$ø€ð" ð ð ð ð ðÐrcó‡—ˆfd„}|S)aMark the method as replacing an entity in the collection. Adds "add to collection" and "remove from collection" handling to the method. The decorator argument indicates which method argument holds the SQLAlchemy-relevant value to be added, and return value, if any will be considered the value to remove. Arguments can be specified positionally (i.e. integer) or by name:: @collection.replaces(2) def __setitem__(self, index, item): ... có(•—d‰f|_d|_|S)NrŒÚfire_remove_event)rŽÚ_sa_instrument_afterr�s €rr‘z&collection.replaces..decoratorsø€Ø(;¸SÐ'AˆBÔ $Ø&9ˆBÔ #؈Irr%r“s` rÚreplaceszcollection.replacess$ø€ð  ð ð ð ð ð Ðrcó‡—ˆfd„}|S)aMark the method as removing an entity in the collection. Adds "remove from collection" handling to the method. The decorator argument indicates which method argument holds the SQLAlchemy-relevant value to be removed. Arguments can be specified positionally (i.e. integer) or by name:: @collection.removes(1) def zap(self, item): ... For methods where the value to remove is not known at call-time, use collection.removes_return. có•—d‰f|_|S©Nr˜r�r�s €rr‘z%collection.removes..decorator6r’rr%r“s` rÚremoveszcollection.removes%r•rcó —d„}|S)aµMark the method as removing an entity in the collection. Adds "remove from collection" handling to the method. The return value of the method, if any, is considered the value to remove. The method arguments are not inspected:: @collection.removes_return() def pop(self): ... For methods where the value to remove is known at call-time, use collection.remove. có—d|_|Sr�)r™r}s rr‘z,collection.removes_return..decoratorLs€Ø&9ˆBÔ #؈Irr%)r‘s rÚremoves_returnzcollection.removes_return<s€ð  ð ð ðÐrN)r4r5r6r7Ú staticmethodrzr€r‚r…rÚ deprecatedr‡Úlinkr‰r”ršržr¡r%rrr r -s�€€€€€ððð2ð)ð)ñ„\ð)ðVððñ„\ðð4ð ð ñ„\ð ðððñ„\ðð(Ø€T„_Ø ð Kñôð ð ñôñ„\ð ð €DððØ€T„_Ø ð ?ñôððñôñ„\ðð@ððñ„\ðð,ððñ„\ðð,ððñ„\ðð,ððñ„\ðððrr Ú _sa_adaptercóÄ—eZdZdZdZd„Zd„Zed„¦«Zed„¦«Z d„Z dd „Z d „Z d „Z d „Zdd „Zd„Zdd„Zd„Zd„Zd„Zd„ZeZdd„Zdd„Zdd„Zd„Zd„ZdS)ÚCollectionAdapteraiBridges between the ORM and arbitrary Python collections. Proxies base-level collection operations (append, remove, iterate) to the underlying Python collection, and emits add/remove events for entities entering or leaving the collection. The ORM uses :class:`.CollectionAdapter` exclusively for interaction with entity collections. )ÚattrÚ_keyÚ_dataÚ owner_stateÚ _converterÚ invalidatedcó —||_|j|_tj|¦«|_||_||_|j|_ d|_ dS)NF) r¨r2r©ÚweakrefÚrefrªr«r¥Ú _sa_converterr¬r­)rr¨r«Údatas rrzCollectionAdapter.__init__msK€ØˆŒ Ø”HˆŒ Ý”[ Ñ&Ô&ˆŒ Ø&ˆÔØˆÔØÔ,ˆŒØ ˆÔÐÐrcó.—tjd¦«dS)Nz%This collection has been invalidated.)rÚwarnrs rÚ_warn_invalidatedz#CollectionAdapter._warn_invalidatedvs€Ý Œ Ð9Ñ:Ô:Ð:Ð:Ð:rcó*—| ¦«S)z$The entity collection being adapted.)rªrs rr²zCollectionAdapter.datays€ð�zŠz‰|Œ|ÐrcóX—|jj|j| ¦«uS)zÃreturn True if the owner state still refers to this collection. This will return False within a bulk replace operation, where this collection is the one being replaced. )r«r'r©rªrs rÚ_referenced_by_ownerz&CollectionAdapter._referenced_by_owner~s$€ðÔÔ$ T¤YÔ/°4·:²:±<´<Ð?Ð?rcó4—| ¦«jSr©rªÚ _sa_appenderrs rÚ bulk_appenderzCollectionAdapter.bulk_appenderˆs€Ø�zŠz‰|Œ|Ô(Ð(rNcóX—| ¦« ||¬¦«dS)z8Add an entity to the collection, firing mutation events.©Ú _sa_initiatorNrº©rÚitemÚ initiators rÚappend_with_eventz#CollectionAdapter.append_with_event‹s+€ð � Š ‰ Œ ×!Ò! $°iÐ!Ñ@Ô@Ð@Ð@Ð@rcóX—| ¦« |d¬¦«dS©z=Add or restore an entity to the collection, firing no events.Fr¾Nrº©rrÁs rÚappend_without_eventz&CollectionAdapter.append_without_event�s)€à � Š ‰ Œ ×!Ò! $°eÐ!Ñ<Ô<Ð<Ð<ÐEmpty the collection, firing a mutation event for each entity.r¾N©rªrÍÚlist)rrÂr€rÁs rÚclear_with_eventz"CollectionAdapter.clear_with_event¥sK€ð—*’*‘,”,Ô*ˆÝ˜‘J”Jð 3ð 3ˆDØ ˆG�D¨ Ð 2Ñ 2Ô 2Ð 2Ð 2ð 3ð 3rcóv—| ¦«j}t|¦«D]}||d¬¦«ŒdS)z'Empty the collection, firing no events.Fr¾NrÔ)rr€rÁs rÚclear_without_eventz%CollectionAdapter.clear_without_event¬sK€ð—*’*‘,”,Ô*ˆÝ˜‘J”Jð /ð /ˆDØ ˆG�D¨Ð .Ñ .Ô .Ð .Ð .ð /ð /rcóh—t| ¦« ¦«¦«S)z(Iterate over entities in the collection.)ÚiterrªÚ _sa_iteratorrs rÚ__iter__zCollectionAdapter.__iter__³s&€õ�D—J’J‘L”L×-Ò-Ñ/Ô/Ñ0Ô0Ð0rcó‚—tt| ¦« ¦«¦«¦«S)z!Count entities in the collection.)rrÕrªrÛrs rÚ__len__zCollectionAdapter.__len__¸s,€å•4˜Ÿ š ™ œ ×1Ò1Ñ3Ô3Ñ4Ô4Ñ5Ô5Ð5rcó—dS©NTr%rs rÚ__bool__zCollectionAdapter.__bool__¼s€Øˆtrcóœ—|durG|jr| ¦«|j |j|jj||¦«S|S)a Notify that a entity has entered the collection. Initiator is a token owned by the InstrumentedAttribute that initiated the membership mutation, and should be left as None unless you are passing along an initiator value from a chained operation. F)r­rµr¨rŒr«r'rÀs rrŒz#CollectionAdapter.fire_append_eventÁs_€ð ˜EÐ !Ð !ØÔð )Ø×&Ò&Ñ(Ô(Ð(Ø”9×.Ò.ØÔ  $Ô"2Ô"7¸¸yñôð ðˆKrcó —|durI|jr| ¦«|j |j|jj||¦«dSdS)aNotify that a entity has been removed from the collection. Initiator is the InstrumentedAttribute that initiated the membership mutation, and should be left as None unless you are passing along an initiator value from a chained operation. FN)r­rµr¨r˜r«r'rÀs rr˜z#CollectionAdapter.fire_remove_eventÓsj€ð ˜EÐ !Ð !ØÔð )Ø×&Ò&Ñ(Ô(Ð(Ø ŒI× 'Ò 'ØÔ  $Ô"2Ô"7¸¸yñ ô ð ð ð ð "Ð !rcó”—|jr| ¦«|j |j|jj|¬¦«dS)z«Notify that an entity is about to be removed from the collection. Only called if the entity cannot be removed after calling fire_remove_event(). ©rÂN)r­rµr¨Úfire_pre_remove_eventr«r')rrÂs rræz'CollectionAdapter.fire_pre_remove_eventâsZ€ð Ô ð %Ø × "Ò "Ñ $Ô $Ð $Ø Œ ×'Ò'Ø Ô ˜dÔ.Ô3¸yð (ñ ô ð ð ð rcóN—|j|j|jj|j|jdœS)N)r2r«Ú owner_clsr²r­)r©r«Úclass_r²r­rs rÚ __getstate__zCollectionAdapter.__getstate__ïs0€à”9ØÔ+ØÔ)Ô0Ø”IØÔ+ð  ð ð rcó—|d|_|d|_tj|d¦«|_|dj|_||d_|d|_t|d|j¦«j |_ dS)Nr2r«r²r­rè) r©r«r¯r°rªr±r¬r¥r­rTÚimplr¨)rÚds rÚ __setstate__zCollectionAdapter.__setstate__øst€Ø�e”HˆŒ ؘ]Ô+ˆÔÝ”[  6¤Ñ+Ô+ˆŒ ؘFœ)Ô1ˆŒØ $ˆˆ&Œ ÔØ˜]Ô+ˆÔݘA˜kœN¨D¬IÑ6Ô6Ô;ˆŒ ˆ ˆ rr)r4r5r6r7Ú __slots__rrµÚpropertyr²r¸r¼rÃrÇrÊrÎrÐrÒrÖrØrÜrÞráÚ __nonzero__rŒr˜rærêrîr%rrr§r§Ws¨€€€€€ð ð ð€Ið!ð!ð!ð;ð;ð;ðððñ„Xððð@ð@ñ„Xð@ð)ð)ð)ðAðAðAðAð =ð=ð=ð0ð0ð0ð (ð(ð(ð@ð@ð@ð@ð<ð<ð<ð3ð3ð3ð3ð/ð/ð/ð1ð1ð1ð 6ð6ð6ðððð€Kððððð$ ð ð ð ð  ð  ð  ð  ð ð ð ð<ð<ð<ð<ð.wrapperUs"ø€Ø%Ð%Ñ'Ô'ˆ ØÐ  Ñ+Ô+Ð+rz %sWrapper)rr4r7)Ú specimen_clsrrr s ` @rrrMsQøø€õ 0° Ô=Ðð,ð,ð,ð,ð,ð,ð #Ð%5Ô%>Ñ>€GÔØ&Ô.€G„Oà €NrcóΗ|jdkrtjd¦«‚t|¦«\}}t |||¦«t |||¦«t |||¦«dS)z6Modify methods in a class and install instrumentation.Ú __builtin__zGCan not instrument a built-in type. Use a subclass, even a trivial one.N)r5Úsa_excÚ ArgumentErrorÚ_locate_roles_and_methodsÚ_setup_canned_rolesÚ_assert_required_rolesÚ_set_collection_attributes©rQÚrolesÚmethodss rrr`sz€ð  „~˜Ò&Ð&ÝÔ"ð ,ñ ô ð õ /¨sÑ3Ô3�N€Eˆ7嘘U GÑ,Ô,Ð,å˜3  wÑ/Ô/Ð/å˜s E¨7Ñ3Ô3Ð3Ð3Ð3rcóÀ—i}i}|jD]Ï}t|¦« ¦«D]«\}}tj|¦«sŒt |d¦«r#|j}|dvsJ‚| ||¦«d\}}t |d¦«r|j\} } | dvsJ‚| | f}t |d¦«r|j } | dvsJ‚| }|r ||fz||<Œ¡|rdd|f||<Œ¬ŒÐ||fS)zgsearch for _sa_instrument_role-decorated methods in method resolution order, assign to roles. r|)rzr€r‚r‡r‰)NNrŽ)rŒr˜r™N) Ú__mro__ÚvarsrÉrÚcallableÚhasattrr|Ú setdefaultrŽr™) rQrrÚsuperclsrkÚmethodÚroleÚbeforeÚafterÚopÚarguments rrruse€ð €EØ€Gà”Kð2ð2ˆÝ  ™NœN×0Ò0Ñ2Ô2ð 2ð 2‰LˆD�&Ý”= Ñ(Ô(ð Øõ�vÐ4Ñ5Ô5ð -ØÔ1�Øð ððððð× Ò   tÑ,Ô,Ð,ð'‰MˆF�EÝ�vÐ6Ñ7Ô7ð &Ø%Ô;‘ ��HØÐGÐGÐGÐGÐGؘX˜�Ý�vÐ5Ñ6Ô6ð ØÔ0�ØÐGÐGÐGÐGÐGØ�Øð 2Ø &¨%¨Ñ 1�˜‘ � Øð 2Ø $ d¨EÐ 1�˜‘ øð= 2ð> �'ˆ>Ðrcóz—tj|¦«}|tvr›t|\}}| ¦«D]\}}| ||¦«Œ| ¦«D]H\}} t ||d¦«} | r.||vr*t | d¦«st||| | ¦«¦«ŒGdSdS)zÇsee if this class has "canned" roles based on a known collection type (dict, set, list). Apply those roles as needed to the "roles" dictionary, and also prepare "decorator" methods Nr„)rÚduck_type_collectionÚ __interfacesrÉr!rTr Úsetattr) rQrrÚcollection_typeÚ canned_rolesÚ decoratorsr$rkr#r‘r~s rrr¡sî€õÔ/°Ñ4Ô4€OØ�,Ð&Ð&Ý#/°Ô#@Ñ ˆ �jØ&×,Ò,Ñ.Ô.ð )ð )‰JˆD�$Ø × Ò ˜T 4Ñ (Ô (Ð (Ð (ð",×!1Ò!1Ñ!3Ô!3ð 4ð 4Ñ ˆF�Iݘ˜f dÑ+Ô+ˆBàð 4à 'Ð)Ð)Ý Ð$6Ñ7Ô7ð*õ˜˜V Y Y¨r¡]¤]Ñ3Ô3Ð3øð'Ð&ð  4ð 4rcó.—d|vst||d¦«stjd|jz¦«‚|d|vr/tt ||d¦«d¦«s d||d<d|vst||d¦«stjd|jz¦«‚|d|vr/tt ||d¦«d¦«s d||d<d|vst||d¦«stjd |jz¦«‚d S) zTensure all roles are present, and apply implicit instrumentation if needed rzz>Type %s must elect an appender method to be a collection classr„)rŒrNr€zType %s must elect an iterator method to be a collection classN)r rrr4rTrs rrr¹se€ð ˜ÐÐ¥g¨c°5¸Ô3DÑ&EÔ&EÐÝÔ"ð !Ø#&¤<ñ 0ñ ô ð ð ˆzÔ  'Ð )Ð )µ'Ý��U˜:Ô&Ñ'Ô'Ð);ñ3ô3Ð )ð&Dˆ��jÔ!Ñ"à˜ÐÐ¥W¨S°%¸ Ô2BÑ%CÔ%CÐÝÔ"ð !Ø#&¤<ñ 0ñ ô ð ð ˆyÔ  Ð (Ð (µÝ��U˜9Ô%Ñ&Ô&Ð(:ñ2ô2Ð (ð%Cˆ��iÔ Ñ!à˜ÐÐ¥g¨c°5¸Ô3DÑ&EÔ&EÐÝÔ"ð !Ø#&¤<ñ 0ñ ô ð ðÐrc ó|—| ¦«D]8\}\}}}t||tt||¦«|||¦«¦«Œ9| ¦«D]'\}}t|d|zt||¦«¦«Œ(d|_t |d¦«sd|_t|¦«|_dS)zkapply ad-hoc instrumentation from decorators, class-level defaults and implicit role declarations z_sa_%sNr±) rÉr,Ú_instrument_membership_mutatorrTr¥r r±rr„)rQrrÚ method_namer%r(r&r$s rrrÙsÜ€ð 3:·-²-±/´/ð ð Ñ.ˆ Ñ.�f˜h¨ÝØ Ø Ý *ݘ˜[Ñ)Ô)¨6°8¸Uñ ô ñ ô ð ð ð#Ÿ[š[™]œ]ðAðAшˆkÝ��X ‘_¥g¨c°;Ñ&?Ô&?Ñ@Ô@Ð@Ð@à€C„Oå �3˜Ñ (Ô (ð!Ø ˆÔݘc™7œ7€CÔÐÐrc󰇇‡‡‡‡—‰rˆttjt‰¦«d¦«¦«}t ‰t ¦«r ‰Št |¦«‰kr|‰pdŠn‰|vr| ‰¦«ŠndЉŠ~ˆˆˆˆˆˆfd„}d|_t‰d¦«r ‰j |_ ‰j |_ ‰j |_ |S)zIRoute method args and/or return value through the collection adapter.rNcóÈ•—‰rf‰ €$‰ |vrtjd‰z¦«‚|‰ }n@t|¦«‰ kr |‰ }n$‰ |vr |‰ }ntjd‰z¦«‚| dd¦«}|durd}n |dj}‰r|rt |‰¦«||¦«‰r|s‰ |i|¤ŽS‰ |i|¤Ž}|�t |‰¦«||¦«|S)NzMissing argument %sr¿Fr)rrrÚpopr¥rT) ÚargsÚkwr1rÂÚexecutorÚresr&r(r%r#Ú named_argÚpos_args €€€€€€rrz/_instrument_membership_mutator..wrappersNø€Ø ð ØˆØ BÐ&Ð&Ý Ô.Ø-°Ñ8ñôðð˜9œ ��å�t‘9”9˜wÒ&Ð&Ø  œM�E�EØ "�_�_ؘyœM�E�Eå Ô.Ø-°Ñ8ñôðð—F’F˜?¨DÑ1Ô1ˆ Ø ˜Ð Р؈HˆHà˜A”wÔ*ˆHà ð 8�hð 8Ø %�G�H˜fÑ %Ô % e¨YÑ 7Ô 7Ð 7àð ˜Hð Ø�6˜4Ð& 2Ð&Ð&Ð &à�&˜$Ð% "Ð%Ð%ˆC؈Ø(•˜ %Ñ(Ô(¨¨iÑ8Ô8Ð8؈JrTr|) rÕrÚflatten_iteratorrrKÚintrÚindexr„r r|r4r7)r#r%r(r&Úfn_argsrr;r<s```` @@rr2r2ñsøøøøøø€ðð ÝÝ Ô !Õ"8¸Ñ"@Ô"@ÀÔ"CÑ DÔ Dñ ô ˆõ �h¥Ñ $Ô $ð !؈GݘG™ œ  xÒ/ÐE°G¸HÔ4EÐMȈIˆIà˜7Ð"Ð"Ø!Ÿ-š-¨Ñ1Ô1��à�Ø ˆIØ ð!ð!ð!ð!ð!ð!ð!ð!ð!ð!ðF $€GÔ݈vÐ,Ñ-Ô-ðAØ&,Ô&@ˆÔ#Ø”€GÔØ”n€G„OØ €NrcóL—|dur|j}|r| ||¦«}|S)z^Run set events. This event always occurs before the collection is actually mutated. F)r¥rŒ©r rÁr¿r9s rÚ__setrC/s:€ð˜EÐ!Ð!ØÔ)ˆØ ð CØ×-Ò-¨d°MÑBÔBˆDØ €KrcóT—|dur!|j}|r| ||¦«dSdSdS)aRun del events. This event occurs before the collection is actually mutated, *except* in the case of a pop operation, in which case it occurs afterwards. For pop operations, the __before_pop hook is called before the operation occurs. FN)r¥r˜rBs rÚ__delrE=sM€ð˜EÐ!Ð!ØÔ)ˆØ ð <Ø × &Ò & t¨]Ñ ;Ô ;Ð ;Ð ;Ð ;ð"Ð!ð <ð ._tidyVó$€Ø"ˆÔÝ�T 2¤;Ñ/Ô/Ô7ˆŒ ˆ ˆ rcó,•‡—dˆfd„ }‰|¦«|S)NcóB•—t|||¦«}‰||¦«dSr©rC)rrÁr¿r~s €rrVz0_list_decorators..append..append[s'ø€Ý˜˜t ]Ñ3Ô3ˆDØ ˆBˆt�T‰NŒNˆNˆNˆNrrr%)r~rVrJs` €rrVz _list_decorators..appendZs6øø€ð ð ð ð ð ð 𠈈f‰ Œ ˆ ؈ rcó,•‡—dˆfd„ }‰|¦«|S)NcóB•—t|||¦«‰||¦«dSr©rE©rr1r¿r~s €rÚremovez0_list_decorators..remove..removecs(ø€Ý �$˜˜}Ñ -Ô -Ð -à ˆBˆt�U‰OŒOˆOˆOˆOrrr%©r~rSrJs` €rrSz _list_decorators..removebs6øø€ð ð ð ð ð ð 𠈈f‰ Œ ˆ ؈ rcó*•‡—ˆfd„}‰|¦«|S)NcóB•—t||¦«}‰|||¦«dSrrN)rr?r1r~s €rÚinsertz0_list_decorators..insert..insertls,ø€Ý˜$ Ñ&Ô&ˆEØ ˆBˆt�U˜EÑ "Ô "Ð "Ð "Ð "rr%)r~rWrJs` €rrWz _list_decorators..insertks1øø€ð #ð #ð #ð #ð #𠈈f‰ Œ ˆ ؈ rcó*•‡—ˆfd„}‰|¦«|S)Ncób•—t|t¦«s9||}|�t||¦«t||¦«}‰ |||¦«dS|jpd}|jpd}|dkr|t |¦«z }|j�|j}nt |¦«}|dkr|t |¦«z }|dkr`||urdSt|||¦«D]}t |¦«|kr||=Œt|¦«D]\}}|  ||z|¦«ŒdStt|||¦«¦«} t |¦«t | ¦«kr/tdt |¦«›dt | ¦«›�¦«‚t| |¦«D]\}}| ||¦«ŒdS)Nrrz#attempt to assign sequence of size z to extended slice of size )rKÚslicerErCÚstepÚstartrÚstopÚrangeÚ enumeraterWrÕÚ ValueErrorÚzipÚ __setitem__) rr?r1Úexistingr[r\r]ÚirÁÚrngr~s €rrbz:_list_decorators..__setitem__..__setitem__tsóø€Ý˜e¥UÑ+Ô+ð% 2Ø œ;�ØÐ'ݘ$ Ñ)Ô)Ð)ݘd EÑ*Ô*�Ø��4˜ Ñ&Ô&Ð&Ð&Ð&ð”z� Q�Øœ Ð( q�ؘ1’9�9Ø�S ™YœYÑ&�EØ”:Ð)Ø œ:�D�Då˜t™9œ9�Dؘ!’8�8Ø�C ™IœIÑ%�Dà˜1’9�9Ø �}�}ؘÝ" 5¨$°Ñ5Ô5ð,ð,˜Ý˜t™9œ9 uÒ,Ð,Ø $ U  øå#,¨UÑ#3Ô#3ð5ð5™˜˜4ØŸ š  A¨¡I¨tÑ4Ô4Ð4Ð4ð5ð5õ�u U¨D°$Ñ7Ô7Ñ8Ô8�Cݘ5‘z”z¥S¨¡X¤XÒ-Ð-Ý(˜jõ # 5™zœz˜z˜z­3¨s©8¬8¨8ð5ñôðõ $' s¨E¡?¤?ð2ð2™˜˜4Ø×(Ò(¨¨DÑ1Ô1Ð1Ð1ð2ð2rr%©r~rbrJs` €rrbz%_list_decorators..__setitem__ss6øø€ð& 2ð& 2ð& 2ð& 2ð& 2ðP ˆˆkÑÔÐØÐrcó*•‡—ˆfd„}‰|¦«|S)NcóÌ•—t|t¦«s&||}t||¦«‰||¦«dS||D]}t||¦«Œ‰||¦«dSr)rKrZrE©rr?rÁr~s €rÚ __delitem__z:_list_decorators..__delitem__..__delitem__ s|ø€Ý˜e¥UÑ+Ô+ð Ø˜E”{�Ý�d˜DÑ!Ô!Ð!Ø��4˜‘”���ð ! œKð&ð&�Dݘ$ Ñ%Ô%Ð%Ð%Ø��4˜‘”���rr%©r~rjrJs` €rrjz%_list_decorators..__delitem__Ÿs5øø€ð ð ð ð ð 𠈈kÑÔÐØÐrcó*•‡—ˆfd„}‰|¦«|S)Ncó|•‡—‰||…D]}t‰|¦«Œˆfd„|D¦«}‰‰|||¦«dS)Ncó0•—g|]}t‰|¦«‘ŒSr%rN)r(r1rs €rr,zP_list_decorators..__setslice__..__setslice__..¶s#ø€ÐAÐAÐA°�%  eÑ,Ô,ÐAÐAÐArrQ)rr\Úendrör1r~s` €rÚ __setslice__z<_list_decorators..__setslice__..__setslice__³scøø€Ø! %¨ )œ_ð'ð'�Eݘ$ Ñ&Ô&Ð&Ð&ØAÐAÐAÐA¸&ÐAÑAÔA�Ø��4˜  VÑ,Ô,Ð,Ð,Ð,rr%)r~rprJs` €rrpz&_list_decorators..__setslice__²s5øø€ð -ð -ð -ð -ð -ð ˆE�,Ñ Ô Ð ØÐ rcó*•‡—ˆfd„}‰|¦«|S)Ncó\•—|||…D]}t||¦«Œ‰|||¦«dSrrQ)rr\ror1r~s €rÚ __delslice__z<_list_decorators..__delslice__..__delslice__½sGø€Ø! %¨ )œ_ð'ð'�Eݘ$ Ñ&Ô&Ð&Ð&Ø��4˜ Ñ$Ô$Ð$Ð$Ð$rr%)r~rsrJs` €rrsz&_list_decorators..__delslice__¼s5øø€ð %ð %ð %ð %ð %ð ˆE�,Ñ Ô Ð ØÐ rcó$•—d„}‰|¦«|S)Ncó:—|D]}| |¦«ŒdSr©rV©rÚiterabler1s rÚextendz0_list_decorators..extend..extendÆs0€Ø!ð #ð #�Ø— ’ ˜EÑ"Ô"Ð"Ð"ð #ð #rr%)r~ryrJs €rryz _list_decorators..extendÅs&ø€ð #ð #ð #𠈈f‰ Œ ˆ ؈ rcó$•—d„}‰|¦«|S)Ncó:—|D]}| |¦«Œ|Srrvrws rÚ__iadd__z4_list_decorators..__iadd__..__iadd__Îs-€ð"ð #ð #�Ø— ’ ˜EÑ"Ô"Ð"Ð"؈Krr%)r~r|rJs €rr|z"_list_decorators..__iadd__Íó&ø€ð ð ð 𠈈h‰ŒˆØˆrcó,•‡—dˆfd„ }‰|¦«|S)Néÿÿÿÿcó^•—t|¦«‰||¦«}t||¦«|Sr©rGrEris €rr6z*_list_decorators..pop..popÙs5ø€Ý ˜Ñ Ô Ð Ø�2�d˜E‘?”?ˆDÝ �$˜Ñ Ô Ð ØˆKr©rr%©r~r6rJs` €rr6z_list_decorators..popØs6øø€ð ð ð ð ð ð 𠈈c‰ Œ ˆ ؈ rcó,•‡—dˆfd„ }‰|¦«|S)NrcóH•—|D]}t||¦«Œ‰|¦«dSrrQris €rÚclearz._list_decorators..clear..clearås6ø€Ø ð&ð&�Dݘ$ Ñ%Ô%Ð%Ð%Ø��4‘”���rr‚r%©r~r†rJs` €rr†z_list_decorators..clearäs6øø€ð ð ð ð ð ð ð ˆE�%‰LŒLˆL؈LrrJ)rÚpy2kÚlocalsÚcopyr6) rVrSrWrbrjrprsryr|r6r†ÚlrJs @rÚ_list_decoratorsrŒSseø€ð8ð8ð8ðððððððððððððððð*ð*ð*ð*ð*ðXððððõ" „yð ð ð ð ð ð ð ð ð ð ð ðððððð ð ð ð ð ðððððõ Œ9ð ð ð ð ð ð õ ‰Œ� Š ‰Œ€A؇E‚Eˆ'�N„N€NØ €Hrcó‡‡ —d„Š tjd¦«Šˆ fd„}ˆ fd„}ˆ fd„}ˆˆ fd„}ˆ fd„}ˆ fd„}ˆˆ fd „}t¦« ¦«}| d ¦«| d¦«|S) zBTailored instrumentation wrappers for any dict-like mapping class.có\—d|_tt|j¦«j|_dSrà)r„rTr'r4r7r}s rrJz_dict_decorators.._tidyúrKrÚ Unspecifiedcó,•‡—dˆfd„ }‰|¦«|S)Ncóz•—||vrt||||¦«t|||¦«}‰|||¦«dSr)rErC)rr2r1r¿r~s €rrbz:_dict_decorators..__setitem__..__setitem__sMø€Ø�dˆ{ˆ{Ý�d˜D œI }Ñ5Ô5Ð5ݘ$  }Ñ5Ô5ˆEØ ˆBˆt�S˜%Ñ Ô Ð Ð Ð rrr%rfs` €rrbz%_dict_decorators..__setitem__s:øø€ð !ð !ð !ð !ð !ð !𠈈kÑÔÐØÐrcó,•‡—dˆfd„ }‰|¦«|S)NcóV•—||vrt||||¦«‰||¦«dSrrQ)rr2r¿r~s €rrjz:_dict_decorators..__delitem__..__delitem__ s5ø€Ø�dˆ{ˆ{Ý�d˜D œI }Ñ5Ô5Ð5Ø ˆBˆt�S‰MŒMˆMˆMˆMrrr%rks` €rrjz%_dict_decorators..__delitem__ s:øø€ð ð ð ð ð ð 𠈈kÑÔÐØÐrcó*•‡—ˆfd„}‰|¦«|S)NcóT•—|D]}t|||¦«Œ‰|¦«dSrrQ)rr2r~s €rr†z._dict_decorators..clear..clears:ø€Øð 'ð '�Ý�d˜D œIÑ&Ô&Ð&Ð&Ø ˆBˆt‰HŒHˆHˆHˆHrr%r‡s` €rr†z_dict_decorators..clears1øø€ð ð ð ð ð 𠈈e‰ Œ ˆ ؈ rcó0•‡—‰fˆˆfd„ }‰|¦«|S)NcóŽ•—t|¦«||v}|‰ur ‰||¦«}n ‰|||¦«}|rt||¦«|Srr�)rr2ÚdefaultÚ_to_delrÁr�r~s €€rr6z*_dict_decorators..pop..popsfø€Ý ˜Ñ Ô Ð Ø˜T�kˆGؘ+Ð%Ð%Ø�r˜$ ‘}”}��à�r˜$  WÑ-Ô-�Øð "Ý�d˜DÑ!Ô!Ð!؈Krr%)r~r6r�rJs` €€rr6z_dict_decorators..pops>øø€Ø#.ð ð ð ð ð ð ð 𠈈c‰ Œ ˆ ؈ rcó*•‡—ˆfd„}‰|¦«|S)Ncóh•—t|¦«‰|¦«}t||d¦«|Srr�©rrÁr~s €rÚpopitemz2_dict_decorators..popitem..popitem,s7ø€Ý ˜Ñ Ô Ð Ø�2�d‘8”8ˆDÝ �$˜˜QœÑ Ô Ð ØˆKrr%)r~r�rJs` €rr�z!_dict_decorators..popitem+s1øø€ð ð ð ð ð 𠈈g‰ŒˆØˆrcó&•—dd„}‰|¦«|S)Ncód—||vr| ||¦«|S| |¦«Sr)rbÚ __getitem__)rr2r˜s rr!z8_dict_decorators..setdefault..setdefault6s:€Ø˜$ˆˆØ× Ò   gÑ.Ô.Ð.Ø�à×'Ò'¨Ñ,Ô,Ð,rrr%)r~r!rJs €rr!z$_dict_decorators..setdefault5s/ø€ð -ð -ð -ð -𠈈jÑÔÐØÐrcó,•—‰fˆfd„ }‰|¦«|S)Ncó•—|‰ur]t|d¦«r2t|¦«D]!}||vs||||ur ||||<Œ"n|D]\}}||vs |||ur|||<Œ|D]!}||vs||||ur ||||<Œ"dS)NÚkeys)r rÕ)rÚ__otherr8r2r1r�s €rÚupdatez0_dict_decorators..update..updateAsÛø€Ø˜kÐ)Ð)ݘ7 FÑ+Ô+ð.Ý# G™}œ}ð5ð5˜Ø d˜?˜?¨d°3¬i¸wÀs¼|Ð.KÐ.KØ(/°¬ ˜D ™Iøð5ð'.ð.ð.™ ˜˜UØ d˜?˜?¨d°3¬i¸uÐ.DÐ.DØ(-˜D ™IøØð (ð (�ؘd�?�? d¨3¤i°r¸#´wÐ&>Ð&>Ø " 3¤�D˜‘Iøð (ð (rr%)r~r¥r�rJs €€rr¥z _dict_decorators..update@s8ø€Ø!,ð (ð (ð (ð (ð (ð (𠈈f‰ Œ ˆ ؈ rrJ©rÚsymbolr‰rŠr6) rbrjr†r6r�r!r¥r‹r�rJs @@rÚ_dict_decoratorsr¨÷søø€ð8ð8ð8õ”+˜mÑ,Ô,€Kðððððððððððððððð ð ð ð ð ð ðððððð ð ð ð ð ððððððõ$ ‰Œ� Š ‰Œ€A؇E‚Eˆ'�N„N€N؇E‚Eˆ-ÑÔÐØ €Hrcó>—t|t|jfz¦«S)zKAllow only set, frozenset and self.__class__-derived objects in binops.)rKÚ_set_binop_basesrH©rÚobjs rÚ_set_binops_check_strictr­[s€õ �cÕ+¨t¬~Ð.?Ñ?Ñ @Ô @Ð@rcóx—t|t|jfz¦«ptj|¦«t kS)z5Allow anything set-like to participate in set binops.)rKrªrHrr*Úsetr«s rÚ_set_binops_check_looser°as9€õ �3Õ(¨D¬NÐ+<Ñ<Ñ=Ô=ð 1Ý Ô $ SÑ )Ô )­SÒ 0ðrcóL‡—d„Štjd¦«}ˆfd„}ˆfd„}ˆfd„}ˆfd„}ˆfd„}ˆfd„}ˆfd „}ˆfd „}ˆfd „} ˆfd „} ˆfd „} ˆfd„} ˆfd„} t¦« ¦«}| d¦«| d¦«|S)z9Tailored instrumentation wrappers for any set-like class.có\—d|_tt|j¦«j|_dSrà)r„rTr¯r4r7r}s rrJz_set_decorators.._tidyls$€Ø"ˆÔÝ�S "¤+Ñ.Ô.Ô6ˆŒ ˆ ˆ rr�có,•‡—dˆfd„ }‰|¦«|S)NcóJ•—||vrt|||¦«}‰||¦«dSrrNrRs €rÚaddz)_set_decorators..add..addss2ø€Ø˜DРРݘd E¨=Ñ9Ô9�à ˆBˆt�U‰OŒOˆOˆOˆOrrr%)r~rµrJs` €rrµz_set_decorators..addrs6øø€ð ð ð ð ð ð 𠈈c‰ Œ ˆ ؈ rcó,•‡—dˆfd„ }‰|¦«|S)NcóJ•—||vrt|||¦«‰||¦«dSrrQrRs €rÚdiscardz1_set_decorators..discard..discard}ó1ø€à˜ˆ}ˆ}Ý�d˜E =Ñ1Ô1Ð1à ˆBˆt�U‰OŒOˆOˆOˆOrrr%)r~r¸rJs` €rr¸z _set_decorators..discard|s6øø€ð ð ð ð ð ð 𠈈g‰ŒˆØˆrcó,•‡—dˆfd„ }‰|¦«|S)NcóJ•—||vrt|||¦«‰||¦«dSrrQrRs €rrSz/_set_decorators..remove..removeˆr¹rrr%rTs` €rrSz_set_decorators..remove‡s6øø€ð ð ð ð ð ð 𠈈f‰ Œ ˆ ؈ rcó*•‡—ˆfd„}‰|¦«|S)Ncó\•—t|¦«‰|¦«}t||¦«|Srr�rœs €rr6z)_set_decorators..pop..pop“s5ø€Ý ˜Ñ Ô Ð Ø�2�d‘8”8ˆDõ �$˜Ñ Ô Ð ØˆKrr%rƒs` €rr6z_set_decorators..pop’s1øø€ð ð ð ð ð 𠈈c‰ Œ ˆ ؈ rcó$•—d„}‰|¦«|S)NcóT—t|¦«D]}| |¦«ŒdSr)rÕrSrÆs rr†z-_set_decorators..clear..clearŸs6€Ý˜T™ œ ð "ð "�Ø— ’ ˜DÑ!Ô!Ð!Ð!ð "ð "rr%r‡s €rr†z_set_decorators..clearžs&ø€ð "ð "ð "𠈈e‰ Œ ˆ ؈ rcó$•—d„}‰|¦«|S)Ncó:—|D]}| |¦«ŒdSr)rµ©rr1rÁs rr¥z/_set_decorators..update..update§s,€Øð ð �Ø—’˜‘”��ð ð rr%)r~r¥rJs €rr¥z_set_decorators..update¦s&ø€ð ð ð 𠈈f‰ Œ ˆ ؈ rcó$•—d„}‰|¦«|S)Ncóh—t||¦«stS|D]}| |¦«Œ|Sr)r­ÚNotImplementedrµrÂs rÚ__ior__z1_set_decorators..__ior__..__ior__¯s?€Ý+¨D°%Ñ8Ô8ð &Ý%Ð%Øð ð �Ø—’˜‘”��؈Krr%)r~rÆrJs €rrÆz _set_decorators..__ior__®s&ø€ð ð ð 𠈈g‰ŒˆØˆrcó$•—d„}‰|¦«|S)Ncó:—|D]}| |¦«ŒdSr)r¸rÂs rÚdifference_updatezE_set_decorators..difference_update..difference_updateºs0€Øð #ð #�Ø— ’ ˜TÑ"Ô"Ð"Ð"ð #ð #rr%)r~rÉrJs €rrÉz*_set_decorators..difference_update¹s+ø€ð #ð #ð #ð ˆÐÑ Ô Ð Ø Ð rcó$•—d„}‰|¦«|S)Ncóh—t||¦«stS|D]}| |¦«Œ|Sr)r­rÅr¸rÂs rÚ__isub__z3_set_decorators..__isub__..__isub__ÂsC€Ý+¨D°%Ñ8Ô8ð &Ý%Ð%Øð #ð #�Ø— ’ ˜TÑ"Ô"Ð"Ð"؈Krr%)r~rÌrJs €rrÌz!_set_decorators..__isub__Ár}rcó$•—d„}‰|¦«|S)NcóÊ—| |¦«t|¦«}}||z ||z }}|D]}| |¦«Œ|D]}| |¦«ŒdSr)rôr¯rSrµ©rÚotherÚwantÚhaverSrµrÁs rÚintersection_updatezI_set_decorators..intersection_update..intersection_updateÍs~€Ø×*Ò*¨5Ñ1Ô1µ3°t±9´9�$ˆDØ ™+ t¨d¡{�CˆFàð "ð "�Ø— ’ ˜DÑ!Ô!Ð!Ð!Øð ð �Ø—’˜‘”��ð ð rr%)r~rÓrJs €rrÓz,_set_decorators..intersection_updateÌs+ø€ð ð ð ð ˆÐ!Ñ"Ô"Ð"Ø"Ð"rcó$•—d„}‰|¦«|S)Ncóø—t||¦«stS| |¦«t|¦«}}||z ||z }}|D]}| |¦«Œ|D]}| |¦«Œ|Sr)r­rÅrôr¯rSrµrÏs rÚ__iand__z3_set_decorators..__iand__..__iand__Ús‘€Ý+¨D°%Ñ8Ô8ð &Ý%Ð%Ø×*Ò*¨5Ñ1Ô1µ3°t±9´9�$ˆDØ ™+ t¨d¡{�CˆFàð "ð "�Ø— ’ ˜DÑ!Ô!Ð!Ð!Øð ð �Ø—’˜‘”��؈Krr%)r~rÖrJs €rrÖz!_set_decorators..__iand__Ùó&ø€ð ð ð 𠈈h‰ŒˆØˆrcó$•—d„}‰|¦«|S)NcóÊ—| |¦«t|¦«}}||z ||z }}|D]}| |¦«Œ|D]}| |¦«ŒdSr)Úsymmetric_differencer¯rSrµrÏs rÚsymmetric_difference_updatezY_set_decorators..symmetric_difference_update..symmetric_difference_updateês~€Ø×2Ò2°5Ñ9Ô9½3¸t¹9¼9�$ˆDØ ™+ t¨d¡{�CˆFàð "ð "�Ø— ’ ˜DÑ!Ô!Ð!Ð!Øð ð �Ø—’˜‘”��ð ð rr%)r~rÛrJs €rrÛz4_set_decorators..symmetric_difference_updateés+ø€ð ð ð ð ˆÐ)Ñ*Ô*Ð*Ø*Ð*rcó$•—d„}‰|¦«|S)Ncóø—t||¦«stS| |¦«t|¦«}}||z ||z }}|D]}| |¦«Œ|D]}| |¦«Œ|Sr)r­rÅrÚr¯rSrµrÏs rÚ__ixor__z3_set_decorators..__ixor__..__ixor__÷s‘€Ý+¨D°%Ñ8Ô8ð &Ý%Ð%Ø×2Ò2°5Ñ9Ô9½3¸t¹9¼9�$ˆDØ ™+ t¨d¡{�CˆFàð "ð "�Ø— ’ ˜DÑ!Ô!Ð!Ð!Øð ð �Ø—’˜‘”��؈Krr%)r~rÞrJs €rrÞz!_set_decorators..__ixor__ör×rrJr¦)r�rµr¸rSr6r†r¥rÆrÉrÌrÓrÖrÛrÞr‹rJs @rÚ_set_decoratorsrßis¡ø€ð7ð7ð7õ”+˜mÑ,Ô,€Kðððððð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ððððððððððð ð ð ð ð ð!ð!ð!ð!ð!ð ð ð ð ð ð #ð #ð #ð #ð #ðððððð +ð +ð +ð +ð +ðððððõ ‰Œ� Š ‰Œ€A؇E‚Eˆ'�N„N€N؇E‚Eˆ-ÑÔÐØ €Hrcó—eZdZdZdS)ÚInstrumentedListz-An instrumented version of the built-in list.N©r4r5r6r7r%rrrárá ó€€€€€Ø7Ð7Ð7Ð7rrácó—eZdZdZdS)ÚInstrumentedSetz,An instrumented version of the built-in set.Nrâr%rrrårås€€€€€Ø6Ð6Ð6Ð6rråcó—eZdZdZdS)ÚInstrumentedDictz-An instrumented version of the built-in dict.Nrâr%rrrçrçrãrrçrVrSrÜ)rzr€r‚rµr‚röÚ itervaluescó�—eZdZdZd„Zejejdd„¦«¦«Zej ejdd„¦«¦«Z dS)rba)A basic dictionary-based collection class. Extends dict with the minimal bag semantics that collection classes require. ``set`` and ``remove`` are implemented in terms of a keying function: any callable that takes an object and returns an object for use as a dictionary key. có—||_dS)ahCreate a new collection with keying provided by keyfunc. keyfunc may be any callable that takes an object and returns an object for use as a dictionary key. The keyfunc will be called every time the ORM needs to add a member by value-only (such as when loading instances from the database) or remove a member. The usual cautions about dictionary keying apply- ``keyfunc(object)`` should return the same output for the life of the collection. Keying based on mutable properties can result in unreachable instances "lost" in the collection. Nrc)rrds rrzMappedCollection.__init__8s€ðˆŒ ˆ ˆ rNcó^—| |¦«}| |||¦«dS)z9Add an item by value, consulting the keyfunc for the key.N)rdrb©rr1r¿r2s rr¯zMappedCollection.setHs3€ð �lŠl˜5Ñ!Ô!ˆØ ×Ò˜˜e ]Ñ3Ô3Ð3Ð3Ð3rc ó¼—| |¦«}|||kr$tjd|›d||›d|›d�¦«‚| ||¦«dS)zrøsÁðð`ð`ðD€€€Ø€€€à9Ð9Ð9Ð9Ð9Ð9ØÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐð ð ð €ðœ.×-Ò-Ñ/Ô/Ðð ð ð ð ð ˜ñ ô ð ðFðððð ñôðð:&ð&ð&ð&ð&Ð"4ñ&ô&ð&ðR-ð-ð-ð* 5ð 5ð 5ð 5ð 5˜fñ 5ô 5ð 5ð,ð,ð,ð( -ð -ð -ð cðcðcðcðc�ñcôcðcðL )�XÔ(¨Ñ7Ô7ÐØ=ðh<ðh<ðh<ðh<ðh<˜ñh<ôh<ðh<ðV%Lð%Lð%Lð%LðP ð ð ðFððð&4ð4ð4ð*)ð)ð)ðX4ð4ð4ð0 ð ð ð@#ð#ð#ð0;ð;ð;ð| ð ð ð ð <ð <ð <ð <ð6ð6ð6ð6ða ða ða ðH^ ð^ ð^ ðB˜Ð#ÐðAðAðAð ððð` ð` ð` ðF8ð8ð8ð8ð8�tñ8ô8ð8ð7ð7ð7ð7ð7�cñ7ô7ð7ð8ð8ð8ð8ð8�tñ8ô8ð8ð  Р؈ØÐ ðÐð Ø¨(À ÐKÐKØÐÑÔð ðØ x¸ZÐHÐH؈ÑÔð ð  Ø „yð :ˆJ˜Ð !Ð#3Ð#3Ñ#5Ô#5Ð 6Ð 6à �|Ð $Ð&6Ð&6Ñ&8Ô&8Ð 9ð € ð 1-ð1-ð1-ð1-ð1-�tñ1-ô1-ð1-ðrÐÐ"Ñ#Ô#Ð#ØÐÐ"Ñ#Ô#Ð#ØÐ�/Ñ"Ô"Ð"Ð"Ð"r