Ë
    ¡©]hy  ã                   óÂ   — d dl mZmZmZmZ d dlmZ d dlmZ ddl	m
Z
 ddlmZ ddlmZmZmZ ddlmZmZ erdd	lmZ  G d
„ de«      Z G d„ de«      Z G d„ de«      Zy)é    )ÚCallableÚListÚOptionalÚTYPE_CHECKING)ÚAsyncPageIterator)ÚHttpResponseErroré   )Ú
parse_tags)ÚFilterBlobItem)ÚContainerPropertiesÚFilteredBlobÚparse_page_list)Úprocess_storage_errorÚreturn_context_and_deserialized)ÚBlobPropertiesc                   óÀ   ‡ — e Zd ZU dZee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee	   ed<   	 dˆ fd	„	Z
d
„ Zd„ Zed„ «       Zˆ xZS )ÚContainerPropertiesPageda²  An Iterable of Container properties.

    :param Callable command: Function to retrieve the next page of items.
    :param Optional[str] prefix: Filters the results to return only containers whose names
        begin with the specified prefix.
    :param Optional[int] results_per_page: The maximum number of container names to retrieve per
        call.
    :param Optional[str] continuation_token: An opaque continuation token.
    Úservice_endpointÚprefixÚmarkerÚresults_per_pageÚcontinuation_tokenÚlocation_modeÚcurrent_pagec                 óÄ   •— t         t        |   | j                  | j                  |xs d¬«       || _        d | _        || _        d | _        || _	        d | _
        g | _        y ©NÚ )Úget_nextÚextract_datar   )Úsuperr   Ú__init__Ú_get_next_cbÚ_extract_data_cbÚ_commandr   r   r   r   r   r   )ÚselfÚcommandr   r   r   Ú	__class__s        €úd/var/www/core.comfia.cic-ware.com/crm/lib/python3.12/site-packages/azure/storage/blob/aio/_models.pyr!   z!ContainerPropertiesPaged.__init__1   si   ø€ ÜÔ&¨Ñ6Ø×&Ñ&Ø×.Ñ.Ø1Ò7°Rð 	7ô 	
ð
  ˆŒØ $ˆÔØˆŒØˆŒØ 0ˆÔØ!ˆÔØˆÕó    c              ƒ   óÄ   K  — 	 | j                  |xs d | j                  t        | j                  ¬«      ƒ d {  –—† S 7 Œ# t        $ r}t        |«       Y d }~y d }~ww xY w­w©N)r   Ú
maxresultsÚclsÚuse_location©r$   r   r   r   r   r   ©r%   r   Úerrors      r(   r"   z%ContainerPropertiesPaged._get_next_cb?   ód   è ø€ ð	)ØŸ™Ø)Ò1¨TØ×0Ñ0Ü3Ø!×/Ñ/ð	 'ó 1÷ 1ð 1ð 1ùô
 !ò 	)Ü! %×(Ñ(ûð	)üó7   ‚A „4? ¸=¹? ¼A ½? ¿	AÁAÁA ÁAÁA c              ƒ   óÆ  K  — |\  | _         | _        | j                  j                  | _        | j                  j                  | _        | j                  j                  | _        | j                  j
                  | _        | j                  j                  D cg c]  }| j                  |«      ‘Œ c}| _	        | j                  j                  xs d | j                  fS c c}w ­w©N)r   Ú	_responser   r   r   Úmax_resultsr   Úcontainer_itemsÚ_build_itemr   Únext_marker©r%   Úget_next_returnÚitems      r(   r#   z)ContainerPropertiesPaged._extract_data_cbI   s©   è ø€ Ø-<Ñ*ˆÔ˜DœNØ $§¡× ?Ñ ?ˆÔØ—n‘n×+Ñ+ˆŒØ—n‘n×+Ñ+ˆŒØ $§¡× :Ñ :ˆÔØ@DÇÁ×@^Ñ@^Ö_¸˜T×-Ñ-¨dÕ3Ò_ˆÔà~‰~×)Ñ)Ò1¨T°4×3DÑ3DÐDÐDùò `ùs   ‚BC!ÂCÂ.3C!c                 ó,   — t        j                  | «      S r5   )r   Ú_from_generated)r=   s    r(   r9   z$ContainerPropertiesPaged._build_itemS   s   € ä"×2Ñ2°4Ó8Ð8r)   )NNN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   ÚstrÚ__annotations__Úintr   r   r!   r"   r#   Ústaticmethodr9   Ú__classcell__©r'   s   @r(   r   r      s   ø… ñð ˜s‘mÓ#ØØS‰MÓØ@ØS‰MÓØ@Ø˜s‘mÓ#Ø?Ø  ™Ó%ØFØ˜C‘=Ó ð6àÐ*Ñ+Ó+Ø-õò)òEð ñ9ó ô9r)   r   c                   ó  ‡ — e Zd ZU dZee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 eed      ed	<   	 ee   ed
<   	 	 	 	 	 dde	d
ee   dee   dee   dee   ddfˆ fd„Z
d„ Zd„ Zed„ «       Zˆ xZS )ÚFilteredBlobPageda@  An Iterable of Blob properties.

    :param Callable command: Function to retrieve the next page of items.
    :param Optional[str] container: The name of the container.
    :param Optional[int] results_per_page: The maximum number of blobs to retrieve per
        call.
    :param Optional[str] continuation_token: An opaque continuation token.
    :param Optional[str] location_mode:
    Specifies the location the request should be sent to. This mode only applies for RA-GRS accounts
        which allow secondary read access. Options include 'primary' or 'secondary'.
    r   r   r   r   r   r   r   r   Ú	containerNr&   Úreturnc                 óÄ   •— t         t        |   | j                  | j                  |xs d¬«       || _        d | _        || _        || _        || _	        d | _
        || _        y r   )r    rK   r!   r"   r#   r$   r   r   r   rL   r   r   )r%   r&   rL   r   r   r   r'   s         €r(   r!   zFilteredBlobPaged.__init__w   sk   ø€ ô 	Ô Ñ/Ø×&Ñ&Ø×.Ñ.Ø1Ò7°Rð 	0ô 	
ð
  ˆŒØ $ˆÔØ(ˆŒØ 0ˆÔØ"ˆŒØ ˆÔØ*ˆÕr)   c              ƒ   óÄ   K  — 	 | j                  |xs d | j                  t        | j                  ¬«      ƒ d {  –—† S 7 Œ# t        $ r}t        |«       Y d }~y d }~ww xY w­wr+   r/   r0   s      r(   r"   zFilteredBlobPaged._get_next_cb‹   r2   r3   c              ƒ   óZ  K  — |\  | _         | _        | j                  j                  | _        | j                  j                  | _        | j                  j
                  D cg c]  }| j                  |«      ‘Œ c}| _        | j                  j                  xs d | j                  fS c c}w ­wr5   )r   r6   r   r:   r   Úblobsr9   r   r;   s      r(   r#   z"FilteredBlobPaged._extract_data_cb•   s†   è ø€ Ø-<Ñ*ˆÔ˜DœNØ $§¡× ?Ñ ?ˆÔØ—n‘n×0Ñ0ˆŒØ@DÇÁ×@TÑ@TÖU¸˜T×-Ñ-¨dÕ3ÒUˆÔà~‰~×)Ñ)Ò1¨T°4×3DÑ3DÐDÐDùò Vùs   ‚AB+Á B&Á83B+c                 ó˜   — t        | t        «      r9t        | j                  «      }t	        | j
                  | j                  |¬«      }|S | S )N)ÚnameÚcontainer_nameÚtags)Ú
isinstancer   r
   rU   r   rS   rT   )r=   rU   Úblobs      r(   r9   zFilteredBlobPaged._build_item   s=   € ädœNÔ+Ü˜dŸi™iÓ(ˆDÜ T§Y¡Y¸t×?RÑ?RÐY]Ô^ˆDØˆKØˆr)   )NNNN)r@   rA   rB   rC   r   rD   rE   rF   r   r   r!   r"   r#   rG   r9   rH   rI   s   @r(   rK   rK   X   sõ   ø… ñ
ð ˜s‘mÓ#ØØS‰MÓØ;ØS‰MÓØ@Ø˜s‘mÓ#Ø?Ø  ™Ó%ØFØ˜C‘=Ó ð6à˜4Ð 0Ñ1Ñ2Ó2Ø-Ø˜‰}ÓØ7ð $(Ø*.Ø,0Ø'+ñ+Øð+à˜C‘=ð+ð # 3™-ð+ð % S™Mð	+ð
   ‘}ð+ð 
õ+ò()òEð ñó ôr)   rK   c                   ó<   ‡ — e Zd Zdˆ fd„	Zd„ Zd„ Zed„ «       Zˆ xZS )ÚPageRangePagedc                 óš   •— t         t        |   | j                  | j                  |xs d¬«       || _        || _        d | _        g | _        y r   )	r    rY   r!   r"   r#   r$   r   r   r   )r%   r&   r   r   r'   s       €r(   r!   zPageRangePaged.__init__§   sR   ø€ ÜŒn˜dÑ,Ø×&Ñ&Ø×.Ñ.Ø1Ò7°Rð 	-ô 	
ð
  ˆŒØ 0ˆÔØ!ˆÔØˆÕr)   c              ƒ   óÄ   K  — 	 | j                  |xs d | j                  t        | j                  ¬«      ƒ d {  –—† S 7 Œ# t        $ r}t        |«       Y d }~y d }~ww xY w­wr+   r/   r0   s      r(   r"   zPageRangePaged._get_next_cb²   r2   r3   c              ƒ   ó´   K  — |\  | _         | _        | j                  | j                  «      | _        | j                  j                  xs d | j                  fS ­wr5   )r   r6   Ú_build_pager   r:   )r%   r<   s     r(   r#   zPageRangePaged._extract_data_cb¼   sL   è ø€ Ø-<Ñ*ˆÔ˜DœNØ ×,Ñ,¨T¯^©^Ó<ˆÔà~‰~×)Ñ)Ò1¨T°4×3DÑ3DÐDÐDùs   ‚AAc                 ó(   — | st         ‚t        | «      S r5   )ÚStopIterationr   )Úresponses    r(   r]   zPageRangePaged._build_pageÂ   s   € áÜÐä˜xÓ(Ð(r)   )NN)	r@   rA   rB   r!   r"   r#   rG   r]   rH   rI   s   @r(   rY   rY   ¦   s'   ø„ õ	ò)òEð ñ)ó ô)r)   rY   N)Útypingr   r   r   r   Úazure.core.async_pagingr   Úazure.core.exceptionsr   Ú_deserializer
   Ú_generated.modelsr   Ú_modelsr   r   r   Ú_shared.response_handlersr   r   r   r   rK   rY   © r)   r(   ú<module>ri      sS   ð÷ ;Ó :å 5Ý 3å %Ý .ß HÑ Hß ^áÝ(ô?9Ð0ô ?9ôDKÐ)ô Kô\!)Ð&õ !)r)   