+
    <	�iÌ·  ã                   ó,  € R t ]t. R$Ot^ RIHt ^ RIHt ^ R	IH	t	H
t
  ^ R
IHtHtHtHtHt ^ RIt]P(                  ^ ,          ^8¼  d   ]t]tM]t]t^ RIHt ^ RIHt ^ RIH t H!t! ^ RI"H#t# ^ RI$H%t% ^ RI&H't' ](! 4       t) ! R R4      t* ! R R4      t+ ! R R]+4      t ! R R]4      t, ! R R]4      t- ! R R]4      t. ! R R]+4      t/ ! R R]4      t0 ! R  R]4      t1 ! R! R]14      t2 ! R" R#]4      t3R#   ] d    ^ RIHtHtHt ^ RIHtHt  Læi ; i)%z)Common support for web service resources.Ú
CollectionÚCollectionWithKeyBasedLookupÚEntryÚNamedOperationÚResourceÚServiceRoot)ÚMessage)ÚBytesIO)ÚdumpsÚloads)Úparse_qsÚunquoteÚ	urlencodeÚurljoinÚurlparse)r   r   r   )r   r   N)r   )Ú__version__)ÚBrowserÚRestfulHttp)ÚDatetimeJSONEncoder)Ú	HTTPError)ÚURIc                   ó:   a € ] tR t^?t o RtR tRR ltR tRtV t	R# )ÚHeaderDictionaryaÊ  A dictionary that bridges httplib2's and wadllib's expectations.

httplib2 expects all header dictionary access to give lowercase
header names. wadllib expects to access the header exactly as it's
specified in the WADL file, which means the official HTTP header name.

This class transforms keys to lowercase before doing a lookup on
the underlying dictionary. That way wadllib can pass in the
official header name and httplib2 will get the lowercased name.
c                ó   € Wn         R # ©N©Úwrapped_dictionary)Úselfr   s   &&Ú=/usr/lib/python3/dist-packages/lazr/restfulclient/resource.pyÚ__init__ÚHeaderDictionary.__init__K   s   € Ø"4Öó    Nc                óT   € V P                   P                  VP                  4       4      # ©z2Retrieve a value, converting the key to lowercase.)r   ÚgetÚlower)r   ÚkeyÚdefaults   &&&r   r$   ÚHeaderDictionary.getN   s   € à×&Ñ&×*Ñ*¨3¯9©9«;Ó7Ð7r!   c                ó\   € V P                  V\        4      pV\        J d   \        V4      hV# r#   )r$   ÚmissingÚKeyError)r   r&   Úvalues   && r   Ú__getitem__ÚHeaderDictionary.__getitem__R   s)   € à—‘˜œgÓ&ˆØ”GÓÜ˜3“-ÐØˆr!   r   r   )
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r$   r-   Ú__static_attributes__Ú__classdictcell__©Ú__classdict__s   @r   r   r   ?   s   ø‡ € ñ	ò5ô8÷ð r!   r   c                   ó4   a € ] tR t^Zt o RtRtR tR tRtV t	R# )ÚRestfulBasez=Base class for classes that know about lazr.restful services.úapplication/jsonc                ó¦   € / pVP                  4        F:  w  r4\        V\        4      '       d   VP                  pWBV P	                  V4      &   K<  	  V# r   )ÚitemsÚ
isinstancer   Ú	self_linkÚ_get_external_param_name)r   Ú
dictionaryÚnew_dictionaryr&   r,   s   &&   r   Ú_transform_resources_to_linksÚ)RestfulBase._transform_resources_to_links_   sM   € ØˆØ$×*Ñ*Ö,‰JˆCÜ˜%¤×*Ò*ØŸ™�ØAF˜4×8Ñ8¸Ó=Ó>ñ -ð Ðr!   c                ó   € V# )zðTurn a lazr.restful name into something to be sent over HTTP.

For resources this may involve sticking '_link' or
'_collection_link' on the end of the parameter name. For
arguments to named operations, the parameter name is returned
as is.
© ©r   Ú
param_names   &&r   r?   Ú$RestfulBase._get_external_param_nameg   s
   € ð Ðr!   rE   N)
r/   r0   r1   r2   r3   ÚJSON_MEDIA_TYPErB   r?   r4   r5   r6   s   @r   r9   r9   Z   s   ø‡ € ÙGà(€Oò÷ð r!   r9   c                   óü   a € ] tR t^rt o RtR t]! 4       t]! 4       t]! 4       t	]
R 4       t]
R 4       t]
R 4       t]
R 4       t]
R 4       t]tR tR	 tR
 tR t]RR l4       tRR ltR tR tR tR tR tRtV tR# )r   z+Base class for lazr.restful HTTP resources.c                óJ   € Vf   T pWP                   R&   W P                   R&   R# )z5Initialize with respect to a wadllib Resource object.NÚ_rootÚ_wadl_resource)Ú__dict__)r   ÚrootÚwadl_resources   &&&r   r   ÚResource.__init__u   s'   € àŠ<àˆDð "&�‰�gÑØ*7�‰Ð&Ó'r!   c                ó8   € V P                  V P                  4      # )z,Name the collections this resource links to.)Ú_get_parameter_namesÚFIND_COLLECTIONS©r   s   &r   Úlp_collectionsÚResource.lp_collectionsƒ   s   € ð ×(Ñ(¨×)>Ñ)>Ó?Ð?r!   c                ó8   € V P                  V P                  4      # )z(Name the entries this resource links to.)rS   ÚFIND_ENTRIESrU   s   &r   Ú
lp_entriesÚResource.lp_entriesˆ   s   € ð ×(Ñ(¨×):Ñ):Ó;Ð;r!   c                ó8   € V P                  V P                  4      # )z'Name this resource's scalar attributes.)rS   ÚFIND_ATTRIBUTESrU   s   &r   Úlp_attributesÚResource.lp_attributes�   s   € ð ×(Ñ(¨×)=Ñ)=Ó>Ð>r!   c                óê  € . pV P                   P                   FÖ  pVP                  P                  4       pVR8X  d   VP                  P                  RR.4      pM\VR8X  dV   R F4  pVP                  P                  V4      pVf   K$  VP                  4       p M	  XP                  V P                   4      pX F2  pVP                  R8X  g   K  VP                  VP                  4        KÔ  	  KØ  	  V# )z.Name all of this resource's custom operations.r$   ÚqueryÚplainÚpostúws.op)ú!application/x-www-form-urlencodedúmultipart/form-data)
rM   Úmethod_iterÚnamer%   ÚrequestÚparamsÚget_representation_definitionÚresolve_definitionÚappendÚfixed_value)r   ÚnamesÚmethodrh   rj   Ú
media_typeÚ
definitionÚparams   &       r   Úlp_operationsÚResource.lp_operations’   sà   € ð
 ˆØ×)Ñ)×5Ô5ˆFØ—;‘;×$Ñ$Ó&ˆDØ�uŒ}ØŸ™×.Ñ.°¸Ð/AÓB‘Ø˜”ó#�Jð "(§¡×!MÑ!MØ"ó"�Jð "Ô-Ø%/×%BÑ%BÓ%D˜
Ùñ#ð $×*Ñ*¨4×+>Ñ+>Ó?�Û�Ø—:‘: Ö(Ø—L‘L ×!2Ñ!2Ô3Úó  ñ! 6ð( ˆr!   c                ód   € V P                  V P                  V P                  V P                  4      # )z;A hook into dir() that returns web service-derived members.)rS   rT   rY   r]   rU   s   &r   Ú__members__ÚResource.__members__®   s0   € ð ×(Ñ(Ø×!Ñ! 4×#4Ñ#4°d×6JÑ6Jó
ð 	
r!   c                óæ  € . pV P                   P                  V P                  4       FÅ  pVP                  pVP                  pVR8w  d€   Ve|   VP
                  '       dj   VP                  R4      '       d*   V P                  V9   d   VP                  VRR 4       Kv  Kx  V P                  V9   d   VP                  VRR 4       KŸ  K¡  V P                  V9   g   K´  VP                  V4       KÇ  	  V# )z2Retrieve some subset of the resource's parameters.r>   NÚ_collection_linkiðÿÿÿéûÿÿÿ)rM   Ú
parametersrI   rh   ÚlinkÚ
can_followÚendswithrT   rm   rY   r]   )r   Úkindsro   Ú	parameterrh   r}   s   &*    r   rS   ÚResource._get_parameter_names·   sÑ   € àˆØ×,Ñ,×7Ñ7¸×8LÑ8LÖMˆIØ—>‘>ˆDØ—>‘>ˆDØ�{Ô" tÒ'7¸D¿O¿O¸Oð —=‘=Ð!3×4Ò4à×,Ñ,°Ô5ØŸ™ T¨$¨3 ZÖ0ñ 6ð ×(Ñ(¨EÔ1ØŸ™ T¨#¨2 YÖ/ñ 2ð ×'Ñ'¨5Ö0Ø—L‘L Ö&ñ9 Nð: ˆr!   c                ó(   € V P                  V4      RJ# )z8Does this resource have a parameter with the given name?N)r?   rF   s   &&r   Úlp_has_parameterÚResource.lp_has_parameterÙ   s   € à×,Ñ,¨ZÓ8ÀÐDÐDr!   c                óÚ  € V P                  4        R Fƒ  pV P                  P                  W,           4      pVf   K*   VP                  4        TP                  4       f    R# TP
                  pT P                  T P                  YCP                  R7      u # 	  V P                  P                  V4      pVf   \	        RV,          4      hVP                  4       #   \         d     KÖ  i ; i)zÞGet the value of one of the resource's parameters.

:return: A scalar value if the parameter is not a link. A new
         Resource object, whose resource is bound to a
         representation, if the parameter is a link.
N)rG   zNo such parameter: %s)Ú_linkrz   )	Ú_ensure_representationrM   Úget_parameterÚ	get_valuer+   Úlinked_resourceÚ_create_bound_resourcerL   rh   )r   rG   Úsuffixrs   r‹   s   &&   r   Úlp_get_parameterÚResource.lp_get_parameterÝ   sÝ   € ð 	×#Ñ#Ô%Û3ˆFØ×'Ñ'×5Ñ5°jÕ6IÓJˆEØÔ ðØ—O‘OÔ%ð
 —?‘?Ó$Ò,ò  Ø"'×"7Ñ"7�Ø×2Ñ2Ø—J‘J ¿J¹Jð 3ó ò ñ 4ð$ ×#Ñ#×1Ñ1°*Ó=ˆØŠ=ÜÐ2°ZÕ?Ó@Ð@Ø�‰Ó Ð øô!  ô ò ðús   ¾CÃC*Ã)C*c                óÞ   € RV/pV P                   P                  RVR7      pVf   V P                   P                  RVR7      pVf   \        RV,          4      h\        V P                  W4      # )z Get a custom operation with the given name.

:return: A NamedOperation instance that can be called with
         appropriate arguments to invoke the operation.
rd   r$   )Úquery_paramsrc   )Úrepresentation_paramszNo operation with name: %s)rM   Ú
get_methodr+   r   rL   )r   Úoperation_namerj   rp   s   &&  r   Úlp_get_named_operationÚResource.lp_get_named_operationü   sw   € ð ˜>Ð*ˆØ×$Ñ$×/Ñ/°ÀFÐ/ÓKˆØŠ>Ø×(Ñ(×3Ñ3Ø¨fð 4ó ˆFð Š>ÜÐ7¸.ÕHÓIÐIÜ˜dŸj™j¨$Ó7Ð7r!   Nc                ó6  € VP                   p\        V4      R,          p	\        p
VP                  R4      '       g   Ve   VP                  R4      '       d   \        p
VP
                  P                  Wš4      pVe   VP                  VVVVR7      pM V! W4      # )a€  Create a lazr.restful Resource subclass from a wadllib Resource.

:param resource: The wadllib Resource to wrap.
:param representation: A previously fetched representation of
    this resource, to be reused. If not provided, this method
    will act just like the Resource constructor.
:param representation_media_type: The media type of any previously
    fetched representation.
:param representation_needs_processing: Set to False if the
    'representation' parameter should be used as
    is.
:param representation_definition: A wadllib
    RepresentationDefinition object describing the structure
    of this representation. Used in cases when the representation
    isn't the result of sending a standard GET to the resource.
:param param_name: The name of the link that was followed to get
    to this resource.
:return: An instance of the appropriate lazr.restful Resource
    subclass.
z-pagerz   )Úrepresentation_definitionéÿÿÿÿ)Útype_urlr   r   r   r   ÚRESOURCE_TYPE_CLASSESr$   Úbind)ÚclsrO   ÚresourceÚrepresentationÚrepresentation_media_typeÚrepresentation_needs_processingr˜   rG   rš   Úresource_typer'   Úr_classs   &&&&&&&&    r   rŒ   ÚResource._create_bound_resource  sž   € ðH ×$Ñ$ˆÜ  Ó*¨2Õ.ˆÜˆà×Ñ˜W×%Ò%ØÒ" z×':Ñ':Ð;M×'NÒ'Nä ˆGØ×,Ñ,×0Ñ0°ÓHˆØÒ%ð  —}‘}ØØ)Ø/Ø*Cð	 %ó ‰Hð Ù�tÓ&Ð&r!   c                óT  € Ve   WP                   n        / pVe   W#R&   V P                  P                  P	                  V P                   VR7      pW@P                  P                  P
                  8X  d   R# V P                   P                  W@P                  4      V P                  R&   R# )ú&Update this resource's representation.NzIf-None-Match)ÚheadersrM   )	rM   Ú_urlrL   Ú_browserr$   ÚNOT_MODIFIEDrœ   rI   rN   )r   Únew_urlÚetagr§   rŸ   s   &&&  r   Ú
lp_refreshÚResource.lp_refreshH  s—   € àÒØ'.×ÑÔ$ØˆØÒØ'+�OÑ$ØŸ™×,Ñ,×0Ñ0Ø×Ñ¨ð 1ó 
ˆð ŸZ™Z×0Ñ0×=Ñ=Ô=áð +/×*=Ñ*=×*BÑ*BØ×0Ñ0ó+
ˆ�‰Ð&Ó'r!   c                ó°   €  V P                  V4      #   \         d     Mi ; i T P                  T4      #   \         d    \        T : RT: R24      hi ; i)z@Try to retrive a named operation or parameter of the given name.z object has no attribute 'Ú')r•   r+   rŽ   ÚAttributeError)r   Úattrs   &&r   Ú__getattr__ÚResource.__getattr__[  sd   € ð	Ø×.Ñ.¨tÓ4Ð4øÜô 	Ùð	úð	Ø×(Ñ(¨Ó.Ð.øÜô 	Ü Û59»4Ð@óð ð	ús   ‚ “! !¥6 ¶Ac                óÈ   € V P                   P                  WP                  4      pVP                  p\	        V4      ^ 8”  d   V Uu. uF  qDP
                  NK  	  up# R# u upi )z0Find the set of possible values for a parameter.N)rM   r‰   rI   ÚoptionsÚlenr,   )r   rG   r�   r¶   Úoptions   &&   r   Úlp_values_forÚResource.lp_values_forh  sY   € à×'Ñ'×5Ñ5Ø×,Ñ,ó
ˆ	ð ×#Ñ#ˆÜˆw‹<˜!ÔÙ/6Ó7©w V—L”L©wÑ7Ð7Ùùò 8s   ÁAc                ór   € R F0  pW,           pV P                   P                  V4      '       g   K.  Vu # 	  R# )z>What's this parameter's name in the underlying representation?N)r‡   rz   Ú )rM   r‰   )r   rG   r�   rh   s   &&  r   r?   Ú!Resource._get_external_param_namer  s5   € ã7ˆFØÕ&ˆDØ×"Ñ"×0Ñ0°×6Ô6Ø’ñ 8ñ r!   c                ób  € V P                   P                  Ef   V P                  P                  P	                  V P                   4      p\        V\        4      '       d   VP                  R4      p\        V4      p\        V\        4      '       dh   VR,          pVe[   W P                   P                  8w  dA   V P                  P                  P                  V4      pVP                  V P                   n        V P                   P                  VV P                  RR7      V P                   R&   R# R# )z5Make sure this resource has a representation fetched.Núutf-8Úresource_type_linkF©r¡   rM   )rM   rŸ   rL   r©   r$   r=   Úbinary_typeÚdecoder   Údictrš   Ú_wadlÚget_resource_typeÚtagrœ   rI   rN   )r   rŸ   Ú	type_linkr¢   s   &   r   rˆ   ÚResource._ensure_representationz  sú   € à×Ñ×-Ñ-Ó5à!ŸZ™Z×0Ñ0×4Ñ4°T×5HÑ5HÓIˆNÜ˜.¬+×6Ò6Ø!/×!6Ñ!6°wÓ!?�Ü" >Ó2ˆNô ˜.¬$×/Ò/Ø*Ð+?Õ@�	àÒ)Ø!×%8Ñ%8×%AÑ%AÔAà$(§J¡J×$4Ñ$4×$FÑ$FØ!ó%�Mð /<×.?Ñ.?�D×'Ñ'Ô+Ø.2×.AÑ.A×.FÑ.FØØ×$Ñ$Ø05ð /Gó /ˆD�M‰MÐ*Ó+ñ3 6r!   c                ó   € W8X  * # )zInequality operator.rE   ©r   Úothers   &&r   Ú__ne__ÚResource.__ne__›  s   € àÒ Ð r!   rE   )Nr:   TNN©NN)r/   r0   r1   r2   r3   r   ÚobjectrT   rY   r]   ÚpropertyrV   rZ   r^   rt   rw   Ú__methods__rS   r„   rŽ   r•   ÚclassmethodrŒ   r­   r³   r¹   r?   rˆ   rÍ   r4   r5   r6   s   @r   r   r   r   sß   ø‡ € Ù5ò8ñ “xÐÙ“8€LÙ“h€Oàñ@ó ð@ð ñ<ó ð<ð ñ?ó ð?ð ñó ðð6 ñ
ó ð
ð  €Kò òDEò!ò>8ð  ó9'ó ð9'ôv
ò&òòò÷B!ð !r!   c                   ó4   a € ] tR tRt o Rt]R 4       tRtV tR# )ÚScalarValuei   z.A resource representing a single scalar value.c                óN   € V P                  4        V P                  P                  # )zReturn the scalar value.)rˆ   rM   rŸ   rU   s   &r   r,   ÚScalarValue.value£  s"   € ð 	×#Ñ#Ô%Ø×"Ñ"×1Ñ1Ð1r!   rE   N)	r/   r0   r1   r2   r3   rÑ   r,   r4   r5   r6   s   @r   rÕ   rÕ      s   ø‡ € Ù8àñ2ó ö2r!   rÕ   c                   ó@   a € ] tR tRt o RtR	R ltR tR tR tRt	V t
R# )
Ú
HostedFileiª  zAA resource representing a file managed by a lazr.restful service.Nc                ó>   € VR9   d   \        WW#4      # \        R4      h)z5Open the file on the server for read or write access.ú'Invalid mode. Supported modes are: r, w)ÚrÚw)ÚHostedFileBufferÚ
ValueError)r   ÚmodeÚcontent_typeÚfilenames   &&&&r   ÚopenÚHostedFile.open­  s#   € à�:ÔÜ# D°ÓGÐGäÐFÓGÐGr!   c                óx   € V P                   P                  P                  V P                  P                  4       R# )z Delete the file from the server.N)rL   r©   ÚdeleterM   ÚurlrU   s   &r   ræ   ÚHostedFile.delete´  s&   € à�
‰
×Ñ×"Ñ" 4×#6Ñ#6×#:Ñ#:Ö;r!   c                ó   € . # )z4HostedFile objects define no web service parameters.rE   )r   r€   s   &*r   rS   ÚHostedFile._get_parameter_names¸  s   € àˆ	r!   c                ót   € VRJ;'       d.    V P                   P                  VP                   P                  8H  # )zõEquality comparison.

Two hosted files are the same if they have the same URL.

There is no need to check the contents because the only way to
retrieve or modify the hosted file contents is to open a
filehandle, which goes direct to the server.
N)rM   rç   rË   s   &&r   Ú__eq__ÚHostedFile.__eq__¼  s=   € ð ˜Ð÷ Dð DØ×#Ñ#×'Ñ'¨5×+?Ñ+?×+CÑ+CÑCð	
r!   rE   )rÜ   NN)r/   r0   r1   r2   r3   rã   ræ   rS   rì   r4   r5   r6   s   @r   rÙ   rÙ   ª  s"   ø‡ € ÙKôHò<ò÷
ð 
r!   rÙ   c                   ó‚   a a€ ] tR tRt oRtR]R]/tRRRRR]P                  3V 3R llt
]R 4       tR	 tR
 tRtVtV ;t# )r   iË  z�Entry point to the service. Subclass this for a service-specific client.

:ivar credentials: The credentials instance used to access Launchpad.
rÙ   rÕ   Nr¼   c	           	     ó  <€ VeA   VR,          R8w  d
   VR,          pV\        V4      ,          pVR,          R8w  d
   VR,          p\        V4      V n        Wpn        Wn        \        V VVVVV P                  V4      V n        V P                  P                  V P                  4      V n	        V P                  P                  R4      p	V	P                  V P                  P                  V	4      R4      p
\        \        V `?  RV
4       R# )z¼Root access to a lazr.restful API.

:param credentials: The credentials used to access the service.
:param service_root: The URL to the root of the web service.
:type service_root: string
NÚ/r¼   r:   r™   )Ústrr   Ú	_root_uriÚ_base_client_nameÚcredentialsr   Ú_user_agentr©   Úget_wadl_applicationrÅ   Úget_resource_by_pathrœ   r$   Úsuperr   r   )r   Ú
authorizerÚservice_rootÚcacheÚtimeoutÚ
proxy_infoÚversionÚbase_client_nameÚmax_retriesÚroot_resourceÚ
bound_rootÚ	__class__s   &&&&&&&&&  €r   r   ÚServiceRoot.__init__Ø  sô   ø€ ð" ÒØ˜BÕ 3Ô&Ø Õ#�ØœC ›LÕ(ˆLØ˜BÕ 3Ô&Ø Õ#�Ü˜\Ó*ˆŒð "2Ôð &ÔÜØØØØØØ×ÑØó
ˆŒð —]‘]×7Ñ7¸¿¹ÓGˆŒ
ð Ÿ
™
×7Ñ7¸Ó;ˆØ"×'Ñ'Ø�M‰M×Ñ˜mÓ,Ð.@ó
ˆ
ô 	Œk˜4Ñ)¨$°
Ö;r!   c                óN  € R\         ,          pV P                  R8w  d"   V P                  R,           V,           R,           p\        4       pWR&   V P                  eC   V P                  P                  p\        V4       F  pW4,          pVP                  WER4       K  	  VR,          # )aa  The value for the User-Agent header.

This will be something like:
launchpadlib 1.6.1, lazr.restfulclient 1.0.0; application=apport

That is, a string describing lazr.restfulclient and an
optional custom client built on top, and parameters containing
any authorization-specific information that identifies the
user agent (such as the application name).
zlazr.restfulclient %sr¼   z (Ú)z
User-Agent)r   ró   r   rô   Úuser_agent_paramsÚsortedÚ	set_param)r   Úbase_portionÚmessager  r&   r,   s   &     r   rõ   ÚServiceRoot._user_agent  s˜   € ð /´Õ<ˆØ×!Ñ! RÔ'Ø×1Ñ1°DÕ8¸<ÕGÈ#ÕMˆLä“)ˆØ ,�ÑØ×ÑÒ'Ø $× 0Ñ 0× BÑ BÐÜÐ/Ö0�Ø)Õ.�Ø×!Ñ! #¨lÖ;ñ 1ð �|Õ$Ð$r!   c                ó   € \        WW44      # r   )r   )r   rù   rû   rü   rý   s   &&&&&r   ÚhttpFactoryÚServiceRoot.httpFactory!  s   € Ü˜:¨gÓBÐBr!   c                óº  € \        V4      pVP                  R8X  d<   VR,          R8X  d
   VR,          p\        V P                  P	                  V4      4      pV P
                  P                  V4      p\        V\        4      '       d   VP                  R4      p \        V4      pTP                  R4      pTf   \        RT,          4      hT P                  P                  P                  T4      p\        T P                  P                  YP                   4      pT P#                  T P                  TTR	R
R7      #   \         d    \        RT,          4      hi ; i)zLoad a resource given its URL.r¼   :Né   Nrð   :r  NNr¿   z!%s doesn't serve a JSON document.rÀ   z+Couldn't determine the resource type of %s.r:   FrÁ   )r   Úschemerñ   rò   rm   r©   r$   r=   rÂ   rÃ   r   rß   rL   rÅ   rÆ   ÚWadlResourcerÇ   rŒ   )r   rç   ÚparsedÚdocumentrŸ   rÈ   r¢   rP   s   &&      r   ÚloadÚServiceRoot.load$  s9  € ä˜#“ˆØ�=‰=˜BÔð �2�w˜#Œ~Ø˜"•g�Ü�d—n‘n×+Ñ+¨CÓ0Ó1ˆCØ—=‘=×$Ñ$ SÓ)ˆÜ�h¤×,Ò,Ø—‘ wÓ/ˆHð	HÜ" 8›_ˆNð #×&Ñ&Ð';Ó<ˆ	ØÒÜØ=ÀÕCóð ð Ÿ
™
×(Ñ(×:Ñ:¸9ÓEˆÜ$ T§Z¡Z×%5Ñ%5°s×<MÑ<MÓNˆØ×*Ñ*Ø�J‰JØØØØ,1ð +ó 
ð 	
øô ô 	HÜÐ@À3ÕFÓGÐGð	Hús   ÂD< Ä<E)ró   r©   rò   rÅ   rô   )r/   r0   r1   r2   r3   rÙ   rÕ   r›   r   ÚMAX_RETRIESr   rÑ   rõ   r  r  r4   r5   Ú__classcell__©r  r7   s   @@r   r   r   Ë  sb   ù‡ € ñð 	�jØ�{ðÐð ØØØØØ×'Ñ'÷.<ð` ñ%ó ð%ò0C÷
ò 
r!   c                   óB   a € ] tR tRt o RtR tR tR tR tR t	Rt
V tR	# )
r   iD  z=A class for a named operation to be invoked with GET or POST.c                ó*   € Wn         W n        W0n        R# )z/Initialize with respect to a WADL Method objectN)rO   rž   Úwadl_method)r   rO   rž   r  s   &&&&r   r   ÚNamedOperation.__init__G  s   € àŒ	Ø ŒØ&Ör!   c                óø  € \        V4      ^ 8”  d   \        R4      hV P                  P                  pV P	                  V4      pV P                  P
                  pVR9   d   VP                  pMVVP                  R4      pVf   VP                  R4      pVf   Q R4       hVP                  V P                  P                  4      pV Uu0 uF<  pVP                  R8X  g   \        VP                  4      ^ 8”  g   K0  VP                  kK>  	  ppVP                  4        F   w  ršW˜9  g   K  \        V
\        R7      W&   K"  	  VR9   d"   V P                  P                   ! R/ VB pRp/ pM=V P                  P!                  4       pV P                  P"                  ! R/ VB w  ppRV/pV P$                  P&                  P)                  VVVP+                  4       VR	7      w  ppVP,                  ^É8X  d   V P/                  W¿V4      # VR
8X  d^   VP,                  R8X  d3   VR,          pV P$                  P&                  P)                  V4      w  ppMV P                  P1                  4        V P3                  W¿V4      # u upi )z)Invoke the method and process the result.z(Method must be called with keyword args.rf   re   zYA POST named operation must define a multipart or form-urlencoded request representation.Úbinary)r�   r¼   zContent-type)Úextra_headersrc   é-  Úlocation)r$   Úheadræ   rE   )r·   Ú	TypeErrorr  rh   rB   ri   r‘   rk   rj   rž   rM   Útyper¶   r<   r
   r   Úbuild_request_urlÚbuild_representationrO   r©   Ú_requestÚupperÚstatusÚ_handle_201_responser­   Ú_handle_200_response)r   ÚargsÚkwargsÚhttp_methodri   rj   rr   rs   Úsend_as_is_paramsr&   r,   rç   Úin_representationr!  rq   ÚresponseÚcontents   &*,              r   Ú__call__ÚNamedOperation.__call__M  sg  € äˆt‹9�qŒ=ÜÐFÓGÐGØ×&Ñ&×+Ñ+ˆØ×1Ñ1°&Ó9ˆØ×"Ñ"×*Ñ*ˆàÐ3Ô3Ø×)Ñ)‰Fà ×>Ñ>Ø%óˆJð Ò!Ø$×BÑBØ7ó�
ð Ò)ð ð:óÐ)ð  ×&Ñ& t§}¡}×'CÑ'CÓDˆFñ  ó
á�Ø�z‰z˜XÔ%¬¨U¯]©]Ó);¸aÑ)?ô ˆE�JŒJÙð 	ð 
ð
 Ÿ*™*ž,‰JˆCð Ö+Ü! %Ô-@ÔA�“	ñ 'ð Ð3Ô3Ø×"Ñ"×4Ò4Ñ<°tÑ<ˆCØ "ÐØ‰Mà×"Ñ"×4Ñ4Ó6ˆCð × Ñ ×5Ò5Ñ=¸Ñ=ñØØ!à+¨ZÐ8ˆMð !ŸI™I×.Ñ.×7Ñ7ØØØ×ÑÓØ'ð	 8ó 
Ñˆ�'ð �?‰?˜cÔ!Ø×,Ñ,¨S¸GÓDÐDà˜fÔ$ð —?‘? cÔ)Ø" :Õ.�CØ(,¯	©	×(:Ñ(:×(CÑ(CÀCÓ(HÑ%�H™gà—M‘M×,Ñ,Ô.Ø×,Ñ,¨S¸GÓDÐDùòc
s   Ã-I7Ã9I7c                óJ  € V P                   P                  P                  \        V4      4      pVP	                  R4      pVP
                  pV P                  P                  P                  VP                  4      w  r#\        P                  V P                  WcVR,          4      # )z5Handle the creation of a new resource by fetching it.ÚLocationúcontent-type)r  r3  rœ   r   r‰   r‹   rO   r©   r)  rç   r   rŒ   )r   rç   r3  r4  Úwadl_responseÚwadl_parameterrP   s   &&&&   r   r,  Ú#NamedOperation._handle_201_response—  s‹   € à×(Ñ(×1Ñ1×6Ñ6Ü˜XÓ&ó
ˆð '×4Ñ4°ZÓ@ˆØ&×6Ñ6ˆà ŸI™I×.Ñ.×7Ñ7¸×8IÑ8IÓJÑˆô ×.Ñ.Ø�I‰I�}¨x¸Õ/Gó
ð 	
r!   c           	     óü  € VR,          pV P                   P                  pVP                  V4      pVfE   W@P                  8X  d3   \	        V\
        4      '       d   VP                  R4      p\        V4      # V# \	        V\
        4      '       d   VP                  R4      p\        V4      pVf   V# RV9   dh   RV9   da   VR,          pV P                  P                  P                  VR,          4      p\        V P                  P                  WP                  4      p	M:VP                  4       p\        V P                  P                  WP                  4      p	\        P                  V P                  V	VVRVR7      # )z)Process the return value of an operation.r9  r¿   r>   rÀ   F)r¡   r˜   )r  r3  rk   rI   r=   rÂ   rÃ   r   rO   rÅ   rÆ   r  rÇ   rl   r   rŒ   )
r   rç   r3  r4  rá   Úresponse_definitionr˜   r  r¢   rP   s
   &&&&      r   r-  Ú#NamedOperation._handle_200_response¦  s`  € à Õ/ˆà"×.Ñ.×7Ñ7Ðà×=Ñ=¸lÓKð 	"ð %Ò,ð ×3Ñ3Ô3Ü˜g¤{×3Ò3Ø%Ÿn™n¨WÓ5�GÜ˜W“~Ð%àˆNô �gœ{×+Ò+Ø—n‘n WÓ-ˆGä˜“>ˆØÒàˆOØ˜(Ô"Ð';¸xÔ'Gð
 ˜;Õ'ˆCØ ŸI™IŸO™O×=Ñ=ØÐ-Õ.óˆMô )Ø—	‘	—‘ ×&7Ñ&7ó‰Mð *×<Ñ<Ó>ð &ô )Ø—	‘	—‘ ×&CÑ&CóˆMô ×.Ñ.Ø�I‰IØØØØ,1Ø&?ð /ó 
ð 	
r!   c                ó   € V# )z/Named operation parameter names are sent as is.rE   rF   s   &&r   r?   Ú'NamedOperation._get_external_param_nameä  s   € àÐr!   )rž   rO   r  N)r/   r0   r1   r2   r3   r   r5  r,  r-  r?   r4   r5   r6   s   @r   r   r   D  s*   ø‡ € ÙGò'òHEòT
ò<
÷|ð r!   c                   óv   a a€ ] tR tRt oRtV 3R ltR tR tR tV 3R lt	R t
R	 tRV 3R
 lltR tRtVtV ;t# )r   ié  zBA class for an entry-type resource that can be updated with PATCH.c                ór   <€ \         \        V `  W4       / V P                  R &   \         \        V `  W4       R# )Ú_dirty_attributesN)rø   r   r   rN   ©r   rO   rP   r  s   &&&€r   r   ÚEntry.__init__ì  s2   ø€ ÜŒe�TÑ# DÔ8ð .0ˆ�‰Ð)Ñ*ÜŒe�TÑ# DÖ8r!   c                óf   € R\        V P                  4      P                  : RV P                  : R2# )z:Return the WADL resource type and the URL to the resource.Ú<z at Ú>)r   rÀ   Úfragmentr>   rU   s   &r   Ú__repr__ÚEntry.__repr__û  s)   � ô �×'Ñ'Ó(×1Ô1Ø�NŒNð
ð 	
r!   c                ór   € V P                   P                  P                  \        V P                  4      4      # )zDelete the resource.)rL   r©   ræ   r   r>   rU   s   &r   Ú	lp_deleteÚEntry.lp_delete  s&   € à�z‰z×"Ñ"×)Ñ)¬#¨d¯n©nÓ*=Ó>Ð>r!   c                ó   € V P                   # )zReturn the URL to the resource.)r>   rU   s   &r   Ú__str__ÚEntry.__str__  s   € à�~‰~Ðr!   c                ó~   <€ VR8w  d$   WP                   9   d   V P                   V,          # \        \        V `  V4      # )z-Try to retrive a parameter of the given name.rD  )rD  rø   r   r³   )r   rh   r  s   &&€r   r³   ÚEntry.__getattr__
  s;   ø€ àÐ&Ô&Ø×-Ñ-Ô-Ø×-Ñ-¨dÕ3Ð3Ü”U˜DÑ-¨dÓ3Ð3r!   c                ó    € V P                  V4      '       g)   \        RV P                  P                  : RV: R24      hW P                  V&   R# )z$Set the parameter of the given name.r°   z' object has no attribute 'N)r„   r±   r  r/   rD  )r   rh   r,   s   &&&r   Ú__setattr__ÚEntry.__setattr__  sD   € à×$Ñ$ T×*Ò*Ý à—>‘>×*Ô*«Dð2óð ð (-×Ñ˜tÓ$r!   c                óÐ   € VRJ;'       d\    V P                   VP                   8H  ;'       d;    V P                  VP                  8H  ;'       d    V P                  VP                  8H  # )z£Equality operator.

Two entries are the same if their self_link and http_etag
attributes are the same, and if their dirty attribute dicts
contain the same values.
N)r>   Ú	http_etagrD  rË   s   &&r   rì   ÚEntry.__eq__  sk   € ð ˜Ð÷ Bð BØ—‘ %§/¡/Ñ1÷Bð Bà—‘ %§/¡/Ñ1÷Bð Bð ×&Ñ&¨%×*AÑ*AÑAð		
r!   c                ó|   <€ \        V RR4      p\        \        V `  W4       V P                  P                  4        R# )r¦   rY  N)Úgetattrrø   r   r­   rD  Úclear)r   r«   r¬   r  s   && €r   r­   ÚEntry.lp_refresh(  s2   ø€ ä�t˜[¨$Ó/ˆÜŒe�TÑ% gÔ4Ø×Ñ×$Ñ$Ö&r!   c                óf  € V P                  V P                  4      p/ p\        V RR4      pVe   W2R&   V P                  P                  P                  \        V P                  4      W4      w  rEVP                  R8X  d   V P                  VR,          4       V P                  P                  4        VR,          pVP                  ^Ñ8X  dg   W`P                  8X  dU   \        V\        4      '       d   VP                  R4      p\        V4      pWpP                   n        W`P                   n        R# R# R# )zSave changes to the entry.rY  NzIf-Matchr"  r#  r9  r¿   )rB   rD  r\  rL   r©   Úpatchr   r>   r+  r­   r]  rI   r=   rÂ   rÃ   r   rM   rŸ   rq   )r   rŸ   r§   r¬   r3  r4  rá   Únew_representations   &       r   Úlp_saveÚEntry.lp_save.  s  € à×;Ñ;Ø×"Ñ"ó
ˆð ˆÜ�t˜[¨$Ó/ˆØÒØ"&�JÑð
 !ŸJ™J×/Ñ/×5Ñ5Ü�—‘Ó ó
Ñˆð �?‰?˜cÔ!Ø�O‰O˜H ZÕ0Ô1Ø×Ñ×$Ñ$Ô&à Õ/ˆØ�?‰?˜cÔ! l×6JÑ6JÔ&Jô ˜'¤;×/Ò/Ø!Ÿ.™.¨Ó1�Ü!& w£ÐØ1C×ÑÔ.Ø-9×ÑÖ*ñ 'KÑ!r!   rE   r   )r/   r0   r1   r2   r3   r   rK  rN  rQ  r³   rV  rì   r­   rb  r4   r5   r  r  s   @@r   r   r   é  s:   ù‡ € ÙLõ9ò
ò?òõ4ò-ò
÷'÷:ò :r!   c                   óZ   a a€ ] tR tRt oRtV 3R ltR tR tR tR t	R t
R	 tR
tVtV ;t# )r   iP  z4A collection-type resource that supports pagination.c                ó.   <€ \         \        V `  W4       R# )zCreate a collection object.N)rø   r   r   rE  s   &&&€r   r   ÚCollection.__init__S  s   ø€ äŒj˜$Ñ(¨Ö=r!   c                ó¤   € V P                   p\        V\        4      '       d   V# \        V\        4      '       d   VP                  # \        R4      h)zVThe number of items in the collection.

:return: length of the collection
:rtype: int
z collection size is not available)Ú
total_sizer=   ÚintrÕ   r,   r%  )r   rh  s   & r   Ú__len__ÚCollection.__len__W  sI   € ð —_‘_ˆ
Ü�j¤#×&Ò&ð ÐÜ˜
¤K×0Ò0ð ×#Ñ#Ð#äÐ>Ó?Ð?r!   c              #  ó¢  "  € V P                  4        V P                  P                  p V P                  VP	                  R/ 4      4       F  pVx € K	  	  VP	                  R4      pVf   R# V P
                  P                  P	                  \        V4      4      p\        V\        4      '       d   VP                  R4      p\        V4      pK¦  5i)zYIterate over the items in the collection.

:return: iterator
:rtype: sequence of `Entry`
ÚentriesÚnext_collection_linkNr¿   )rˆ   rM   rŸ   Ú_convert_dicts_to_entriesr$   rL   r©   r   r=   rÂ   rÃ   r   )r   Úcurrent_pagerž   Ú	next_linkÚnext_gets   &    r   Ú__iter__ÚCollection.__iter__i  s±   é € ð 	×#Ñ#Ô%Ø×*Ñ*×9Ñ9ˆØØ ×:Ñ:Ø× Ñ  ¨BÓ/ö�ð ”ñð %×(Ñ(Ð)?Ó@ˆIØÒ ÙØ—z‘z×*Ñ*×.Ñ.¬s°9«~Ó>ˆHÜ˜(¤K×0Ò0Ø#Ÿ?™?¨7Ó3�Ü  ›?ŠLùs   ‚CCc                óÚ   € \        V\        4      '       d   V P                  V4      # V P                  \        W^,           4      4      p\        V4      ^8w  d   \	        R4      hV^ ,          # )a3  Look up a slice, or a subordinate resource by index.

To discourage situations where a lazr.restful client fetches
all of an enormous list, all collection slices must have a
definitive end point. For performance reasons, all collection
slices must be indexed from the start of the list rather than
the end.
zlist index out of range)r=   ÚsliceÚ
_get_slicer·   Ú
IndexError)r   r&   Úfound_slices   && r   r-   ÚCollection.__getitem__~  s\   € ô �cœ5×!Ò!Ø—?‘? 3Ó'Ð'ð Ÿ/™/¬%°¸1µWÓ*=Ó>ˆKÜ�;Ó 1Ô$Ü Ð!:Ó;Ð;Ø˜q•>Ð!r!   c                ó  € VP                   ;'       g    ^ pVP                  pV^ 8  d   \        R4      hV^ 8  d   \        R4      hV P                  P                  pVeB   V\        VR,          4      8  d+   VR,          p\        V4      pWRV pVP                  R4      pM+Rp. pV P                  V P                  P                  RV4      pW2,
          p	V	\        V4      ,
          p
V
^ 8”  dÍ   VeÉ   V P                  P                  P                  V4      p\        V\        4      '       d   VP                  R4      p\        V4      pVR,          pW}RV
 ,          pV	\        V4      ,
          p
VP                  R4      pVf   M5Vf   \        V4      pV
^ 8”  g   K¶  W¦8  g   K¾  V P                  VRV
4      pKÓ  VP                  e   VRRVP                  1,          pV P!                  V4       Uu. uF  pVNK  	  up# u upi )	z!Retrieve a slice of a collection.z6Collection slices must have a nonnegative start point.z>Collection slices must have a definite, nonnegative end point.Nrm  rn  zws.startr¿   zws.size)ÚstartÚstoprß   rM   rŸ   r·   r$   Ú_with_url_query_variable_setrç   rL   r©   r=   rÂ   rÃ   r   Ústepro  )r   rv  r|  r}  Úexisting_representationÚ
entry_pageÚfirst_page_sizeÚentry_dictsÚpage_urlÚdesired_sizeÚmore_neededÚpage_getrŸ   Úcurrent_page_entriesrž   s   &&             r   rw  ÚCollection._get_slice�  s  € à—‘× Ð ˜qˆØ�z‰zˆà�1Œ9ÜØKóð ð �!Œ8Üð)óð ð
 #'×"5Ñ"5×"DÑ"DÐØ"Ò.°5¼3Ø# IÕ.ó<
ô 4
ð& 1°Õ;ˆJä! *›oˆOØ$¨4Ð0ˆKØ.×2Ñ2Ð3IÓJ‰Hð #ˆOØˆKØ×8Ñ8Ø×#Ñ#×'Ñ'¨°UóˆHð •|ˆØ"¤S¨Ó%5Õ5ˆð ˜AŒo (Ò"6Ø—z‘z×*Ñ*×.Ñ.¨xÓ8ˆHÜ˜(¤K×0Ò0Ø#Ÿ?™?¨7Ó3�Ü" 8›_ˆNØ#1°)Õ#<Ð Ø°°Ð=Õ=ˆKØ&¬¨[Ó)9Õ9ˆKà%×)Ñ)Ð*@ÓAˆHØÒð ØÒ&Ü"%Ð&:Ó";�Ø˜QŽ ;Ö#@ð  ×<Ñ<Ø˜i¨ó’ð �:‰:Ò!Ø%¡m¨¯© mÕ4ˆKð
 !×:Ñ:¸;ÔGó
áG�ó ÙGñ
ð 	
ùò 
s   Ç1G?c              #  óD  "  € V F•  pVR,          pVR,          pV P                   P                  pVP                  V4      p\        V P                   P                  VVP                  4      p\
        P                  V P                  WrV P                  R4      x € K—  	  R# 5i)aÅ  Convert dictionaries describing entries to Entry objects.

The dictionaries come from the 'entries' field of the JSON
dictionary you get when you GET a page of a collection. Each
dictionary is the same as you'd get if you sent a GET request
to the corresponding entry resource. So each of these
dictionaries can be treated as a preprocessed representation
of an entry resource, and turned into an Entry instance.

:yield: A sequence of Entry instances.
r>   rÀ   FN)	rM   ÚapplicationrÆ   r  rÇ   r   rŒ   rL   rI   )r   rm  Ú
entry_dictÚresource_urlrÀ   Úwadl_applicationr¢   rž   s   &&      r   ro  Ú$Collection._convert_dicts_to_entriesí  s›   é € ó "ˆJØ% kÕ2ˆLØ!+Ð,@Õ!AÐØ#×2Ñ2×>Ñ>ÐØ,×>Ñ>Ø"óˆMô $Ø×#Ñ#×/Ñ/ØØ×!Ñ!óˆHô
 ×1Ñ1Ø—
‘
˜H°$×2FÑ2FÈóô ó "ùs   ‚BB c                ó¶   € \        V4      pVP                  f   / pM\        VP                  4      p\        V4      WR&   \	        VR4      Vn        \        V4      # )z1A helper method to set a query variable in a URL.T)r   ra   r   rñ   r   )r   rç   ÚvariableÚ	new_valueÚurirj   s   &&&&  r   r~  Ú'Collection._with_url_query_variable_set	  sK   € ä�#‹hˆØ�9‰9ÒØ‰Fä˜cŸi™iÓ(ˆFÜ˜y›>ˆÑÜ˜f dÓ+ˆŒ	Ü�3‹xˆr!   rE   )r/   r0   r1   r2   r3   r   rj  rs  r-   rw  ro  r~  r4   r5   r  r  s   @@r   r   r   P  s3   ù‡ € Ù>õ>ò@ò$+ò*"ò$[
òz÷8	ò 	r!   c                   óF   a a€ ] tR tRt oRtV 3R ltR tRtR tRt	Vt
V ;t# )r   i  z°A collection-type resource that supports key-based lookup.

This collection can be sliced, but any single index passed into
__getitem__ will be treated as a custom lookup key.
c                óv  <€ \        V\        4      '       d   \        \        V `  V4      #  V P                  V4      pTf   \        T4      hT ! T4      p TP                  4        T#   \         d    \        R4      hi ; i  \         d-   pTP                  P                  R8X  d   \        T4      hh Rp?ii ; i)z8Look up a slice, or a subordinate resource by unique ID.úunsubscriptable objectNé”  )r=   rv  rø   r   r-   Ú_get_url_from_idÚNotImplementedErrorr%  r+   rˆ   r   r3  r+  )r   r&   rç   Úshim_resourceÚer  s   &&   €r   r-   Ú(CollectionWithKeyBasedLookup.__getitem__  s¸   ø€ ä�cœ5×!Ò!ÜÔ5°tÑHÈÓMÐMð	6Ø×'Ñ'¨Ó,ˆCð Š;Ü˜3“-Ðá˜S›	ˆð	Ø×0Ñ0Ô2ð Ðøô #ô 	6ÜÐ4Ó5Ð5ð	6ûô ô 	Ø�z‰z× Ñ  CÔ'Ü˜s“mÐ#àûð		ús#   ¬A' ÁB Á'A>ÂB8Â'B3Â3B8c                óÄ  €  V P                  V4      pTf   \        T4      hT P                  e?   Rp\        T P                  P                  P                  RT P                  ,           4      pMa T P                  P                  P                  T4      p\        T\        4      '       d   TP                  R4      p\        T4      pTR,          p\'        T P                  P                  Y$4      pT P)                  T P                  TTRR7      #   \         d    \        R4      hi ; i  \         d-   pTP                   P"                  R8X  d   \%        T4      hh Rp?ii ; i)	z=Retrieve a member from this collection without looking it up.r—  NÚ#r¿   r˜  rÀ   F)rŸ   r¡   )r™  rš  r%  rß   Úcollection_ofr   rL   rÅ   Ú
markup_urlr©   r$   r=   rÂ   rÃ   r   r   r3  r+  r+   r  rŒ   )r   r&   rç   rŸ   rÀ   Úurl_getÚerrorrž   s   &&      r   r5  Ú%CollectionWithKeyBasedLookup.__call__2  sC  € ð	6Ø×'Ñ'¨Ó,ˆCð Š;Ü˜S“/Ð!à×ÑÒ)ð "ˆNÜ!(Ø—
‘
× Ñ ×+Ñ+¨S°4×3EÑ3EÕ-Eó"Ñð	ØŸ*™*×-Ñ-×1Ñ1°#Ó6�Ü˜g¤{×3Ò3Ø%Ÿn™n¨WÓ5�GÜ!& w£�ð "0Ð0DÕ!EÐä §
¡
× 0Ñ 0°#ÓJˆØ×*Ñ*Ø�J‰JØØ)Ø,1ð	 +ó 
ð 	
øôM #ô 	6ÜÐ4Ó5Ð5ð	6ûô8 ô à—>‘>×(Ñ(¨CÔ/Ü" 3›-Ð'Øûð	ús$   ‚D Á/AD( ÄD%Ä(EÄ3'EÅENc                ó   € \        4       h)z2Transform the unique ID of an object into its URL.)rš  )r   r&   s   &&r   r™  Ú-CollectionWithKeyBasedLookup._get_url_from_idh  s   € ä!Ó#Ð#r!   rE   )r/   r0   r1   r2   r3   r-   r5  r   r™  r4   r5   r  r  s   @@r   r   r     s&   ù‡ € ñõò,0
ðh €M÷$ò $r!   c                   ó:   a € ] tR tRt o RtRR ltR tR tRtV t	R# )	rÞ   im  z8The contents of a file hosted by a lazr.restful service.Nc                ól  € VP                   P                  V n        VR 8X  d©   Ve   \        R4      hVe   \        R4      hVP                  P                  P                  V P                  RR7      w  rVVR,          pVP                  R4      pVR,          p\        V4      ^,          p	\        V	P                  R	4      R,          4      pM5VR
8X  d$   RpVf   \        R4      hVf   \        R4      hRpM\        R4      hWn	        W n
        W0n        W@n        Wpn        \        P                  ! W4       R# )rÜ   Nz8Files opened for read access can't specify content_type.z4Files opened for read access can't specify filename.T)Úreturn_responser9  zlast-modifiedzcontent-locationrð   rÝ   r!   z8Files opened for write access must specify content_type.z4Files opened for write access must specify filename.rÛ   r™   )rM   rç   rß   rL   r©   r$   r   r   ÚsplitÚhosted_filerà   rá   râ   Úlast_modifiedr	   r   )
r   r«  rà   rá   râ   r3  r,   r¬  Úcontent_locationÚpaths
   &&&&&     r   r   ÚHostedFileBuffer.__init__p  sB  € Ø×-Ñ-×1Ñ1ˆŒØ�3Œ;ØÒ'Ü ð,óð ð Ò#Ü ØMóð ð *×/Ñ/×8Ñ8×<Ñ<Ø—‘¨$ð =ó ‰OˆHð $ NÕ3ˆLØ$ŸL™L¨Ó9ˆMð  (Ð(:Õ;ÐÜÐ,Ó-¨aÕ0ˆDÜ˜tŸz™z¨#›¨rÕ2Ó3‰HØ�SŒ[ØˆEØÒ#Ü ð,óð ð ÒÜ ØMóð ð !‰MäÐFÓGÐGà&ÔØŒ	Ø(ÔØ ŒØ*ÔÜ×Ò˜Ö%r!   c                ó&  € V P                   R 8X  dj   RV P                  ,          pV P                  P                  P                  P                  V P                  V P                  4       V P                  RV/4       \        P                  ! V 4       R# )rÝ   zattachment; filename="%s"zContent-DispositionN)rà   râ   r«  rL   r©   Úputrç   Úgetvaluerá   r	   Úclose)r   Údispositions   & r   r³  ÚHostedFileBuffer.closeŸ  sk   € Ø�9‰9˜ÔØ5¸¿¹ÕEˆKØ×Ñ×"Ñ"×+Ñ+×/Ñ/Ø—‘Ø—‘“Ø×!Ñ!Ø&¨Ð4ô	ô 	�Š�dÖr!   c                ó2   € \         P                  ! W4       R # r   )r	   Úwrite)r   Úbs   &&r   r·  ÚHostedFileBuffer.writeª  s   € Ü�Š�dÖr!   )rá   râ   r«  r¬  rà   rç   rÏ   )
r/   r0   r1   r2   r3   r   r³  r·  r4   r5   r6   s   @r   rÞ   rÞ   m  s   ø‡ € ÙBô-&ò^	÷ð r!   rÞ   )r   r   r   r   r   r   )4r3   r&  Ú__metaclass__Ú__all__Úemail.messager   Úior	   Újsonr
   r   Úurllib.parser   r   r   r   r   ÚImportErrorÚurllibÚsysÚversion_inforñ   Ú	text_typeÚbytesrÂ   ÚunicodeÚwadllib.applicationr   r  Úlazr.restfulclientr   Úlazr.restfulclient._browserr   r   Úlazr.restfulclient._jsonr   Úlazr.restfulclient.errorsr   Úlazr.urir   rÐ   r*   r   r9   rÕ   rÙ   r   r   r   r   r   rÞ   rE   r!   r   Ú<module>rÍ     s"  ðñ& 0à€ò€õ "Ý ß ð*çLÕLó
 à×Ñ�AÕ˜!ÔØ€IØ�Kà€IØ€Kå 8å *ß <Ý 8Ý /Ý á
‹(€÷ñ ÷6ñ ô0k!ˆ{ô k!ô\	2�(ô 2ô
�ô 
ôBv
�(ô v
ôrb�[ô bôJd:ˆHô d:ôNB�ô BôJU$ :ô U$ôp>�wö >øðM" ô *ß4Ñ4ß)Ñ)ð*ús   žC7 Ã7DÄD