ó
    ±"³j¡"  ã                  ó8  • S SK Jr  S SKJr  S SKJr  S SKrSSKJrJ	r	J
r
JrJrJrJr  SSKJr  SSKJrJr  SS	KJrJrJrJr  SS
KJrJr  SSKJrJr  SSKJ r   SS/r! " S S\5      r" " S S\5      r# " S S5      r$ " S S5      r% " S S5      r& " S S5      r'g)é    )Úannotations)ÚOptional)ÚLiteralNé   )ÚBodyÚOmitÚQueryÚHeadersÚNotGivenÚomitÚ	not_given)Úcached_property)ÚSyncAPIResourceÚAsyncAPIResource)Úto_raw_response_wrapperÚto_streamed_response_wrapperÚasync_to_raw_response_wrapperÚ"async_to_streamed_response_wrapper)ÚSyncPageCursorÚAsyncPageCursor)ÚAsyncPaginatorÚmake_request_options)ÚBetaOrganizationRateLimitÚ
RateLimitsÚAsyncRateLimitsc            	      ó~   • \ rS rSr\SS j5       r\S	S j5       r\\\\SSS\S.                 S
S jjr	Sr
g)r   é   c                ó   • [        U 5      $ ©zú
This property can be used as a prefix for any HTTP method call to return
the raw response object instead of the parsed content.

For more information, see https://www.github.com/anthropics/anthropic-sdk-python#accessing-raw-response-data-eg-headers
)ÚRateLimitsWithRawResponse©Úselfs    Ún/home/mande/repo/quber/.venv/lib/python3.13/site-packages/anthropic/resources/beta/organization/rate_limits.pyÚwith_raw_responseÚRateLimits.with_raw_response   s   € ô )¨Ó.Ð.ó    c                ó   • [        U 5      $ ©z¿
An alternative to `.with_raw_response` that doesn't eagerly read the response body.

For more information, see https://www.github.com/anthropics/anthropic-sdk-python#with_streaming_response
)ÚRateLimitsWithStreamingResponser!   s    r#   Úwith_streaming_responseÚ"RateLimits.with_streaming_response#   s   € ô /¨tÓ4Ð4r&   N©Ú
group_typeÚlimitÚmodelÚpageÚextra_headersÚextra_queryÚ
extra_bodyÚtimeoutc               ód   • U R                  S[        [           [        UUUUUUUUS.S9[        S9$ ©aw  
List Messages API rate limits for your organization.

Each entry corresponds to one rate-limit group (either a model family or an
API-surface category such as the Files API or Message Batches) and contains the
set of limiter values that apply to it.

When `limit` is omitted, every matching entry is returned in a single page; when
`limit` truncates the result, follow `next_page` to fetch the remaining entries.

Args:
  group_type: Filter by group type.

  limit: Maximum number of items to return per page. Ranges from `1` to `1000`.

      When omitted, every remaining entry is returned in a single page and `next_page`
      is `null`.

  model: Filter to the single entry containing this model. Accepts full model names and
      aliases. Returns 404 if the model is not found or has no rate limits for this
      organization.

  page: Opaque cursor from a previous response's `next_page`.

  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
z'/v1/organizations/rate_limits?beta=true)r-   r.   r/   r0   )r1   r2   r3   r4   Úquery)r0   Úoptionsr/   )Ú_get_api_listr   r   r   ©	r"   r-   r.   r/   r0   r1   r2   r3   r4   s	            r#   ÚlistÚRateLimits.list,   sS   € ð^ ×!Ñ!Ø5ÜÔ 9Ñ:Ü(Ø+Ø'Ø%Øà",Ø"Ø"Ø ñ	ñô ,ð "ð 
ð 	
r&   © )Úreturnr    )r>   r)   )r-   ú`Optional[Literal['batch', 'files', 'model_group', 'skills', 'token_count', 'web_search']] | Omitr.   úOptional[int] | Omitr/   úOptional[str] | Omitr0   rA   r1   úHeaders | Noner2   úQuery | Noner3   úBody | Noner4   ú(float | httpx2.Timeout | None | NotGivenr>   z)SyncPageCursor[BetaOrganizationRateLimit]©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   r$   r*   r   r   r;   Ú__static_attributes__r=   r&   r#   r   r      s¨   † Øó/ó ð/ð ó5ó ð5ð Ø&*Ø&*Ø%)ð )-Ø$(Ø"&Ø<Eñ?
ðð?
ð
 $ð?
ð $ð?
ð #ð?
ð &ð?
ð "ð?
ð  ð?
ð :ð?
ð 
3÷?
ð ?
r&   c            	      ó~   • \ rS rSr\SS j5       r\S	S j5       r\\\\SSS\S.                 S
S jjr	Sr
g)r   én   c                ó   • [        U 5      $ r   )ÚAsyncRateLimitsWithRawResponser!   s    r#   r$   Ú!AsyncRateLimits.with_raw_responseo   s   € ô .¨dÓ3Ð3r&   c                ó   • [        U 5      $ r(   )Ú$AsyncRateLimitsWithStreamingResponser!   s    r#   r*   Ú'AsyncRateLimits.with_streaming_responsey   s   € ô 4°DÓ9Ð9r&   Nr,   c               ód   • U R                  S[        [           [        UUUUUUUUS.S9[        S9$ r6   )r9   r   r   r   r:   s	            r#   r;   ÚAsyncRateLimits.list‚   sS   € ð^ ×!Ñ!Ø5Ü Ô!:Ñ;Ü(Ø+Ø'Ø%Øà",Ø"Ø"Ø ñ	ñô ,ð "ð 
ð 	
r&   r=   )r>   rO   )r>   rR   )r-   r?   r.   r@   r/   rA   r0   rA   r1   rB   r2   rC   r3   rD   r4   rE   r>   zUAsyncPaginator[BetaOrganizationRateLimit, AsyncPageCursor[BetaOrganizationRateLimit]]rF   r=   r&   r#   r   r   n   s©   † Øó4ó ð4ð ó:ó ð:ð Ø&*Ø&*Ø%)ð )-Ø$(Ø"&Ø<Eñ?
ðð?
ð
 $ð?
ð $ð?
ð #ð?
ð &ð?
ð "ð?
ð  ð?
ð :ð?
ð 
_÷?
ð ?
r&   c                  ó   • \ rS rSrSS jrSrg)r    éÄ   c                óD   • Xl         [        UR                  5      U l        g ©N)Ú_rate_limitsr   r;   ©r"   Úrate_limitss     r#   Ú__init__Ú"RateLimitsWithRawResponse.__init__Å   s   € Ø'Ôä+Ø×Ñó
ˆ�	r&   ©rZ   r;   N©r\   r   r>   ÚNone©rG   rH   rI   rJ   r]   rK   r=   r&   r#   r    r    Ä   ó   † ÷
r&   r    c                  ó   • \ rS rSrSS jrSrg)rO   éÍ   c                óD   • Xl         [        UR                  5      U l        g rY   )rZ   r   r;   r[   s     r#   r]   Ú'AsyncRateLimitsWithRawResponse.__init__Î   s   € Ø'Ôä1Ø×Ñó
ˆ�	r&   r_   N©r\   r   r>   ra   rb   r=   r&   r#   rO   rO   Í   rc   r&   rO   c                  ó   • \ rS rSrSS jrSrg)r)   éÖ   c                óD   • Xl         [        UR                  5      U l        g rY   )rZ   r   r;   r[   s     r#   r]   Ú(RateLimitsWithStreamingResponse.__init__×   s   € Ø'Ôä0Ø×Ñó
ˆ�	r&   r_   Nr`   rb   r=   r&   r#   r)   r)   Ö   rc   r&   r)   c                  ó   • \ rS rSrSS jrSrg)rR   éß   c                óD   • Xl         [        UR                  5      U l        g rY   )rZ   r   r;   r[   s     r#   r]   Ú-AsyncRateLimitsWithStreamingResponse.__init__à   s   € Ø'Ôä6Ø×Ñó
ˆ�	r&   r_   Nrh   rb   r=   r&   r#   rR   rR   ß   rc   r&   rR   )(Ú
__future__r   Útypingr   Útyping_extensionsr   Úhttpx2Ú_typesr   r   r	   r
   r   r   r   Ú_compatr   Ú	_resourcer   r   Ú	_responser   r   r   r   Ú
paginationr   r   Ú_base_clientr   r   Ú4types.beta.organization.beta_organization_rate_limitr   Ú__all__r   r   r    rO   r)   rR   r=   r&   r#   Ú<module>r}      s‡   ðÝ "å Ý %ã ç L× LÑ LÝ 'ß ;÷ó ÷ ;ß AÝ ^àÐ*Ð
+€ôS
�ô S
ôlS
Ð&ô S
÷l
ñ 
÷
ñ 
÷
ñ 
÷
ò 
r&   