
    #Ii                     R    S SK rS SKr " S S\R                  R                  5      rg)    Nc                   Z    \ rS rSrSrS r\S 5       r\S 5       r\S 5       r	S r
S rS	rg
)	RateLimit    zx
This class represents RateLimits. The reference can be found here https://docs.github.com/en/rest/reference/rate-limit
c                 P    U R                  SU R                  R                  05      $ )Ncore)get__repr___corevalueselfs    6/venv/lib/python3.13/site-packages/github/RateLimit.py__repr__RateLimit.__repr__%   s"    )9)9 :;;    c                 .    U R                   R                  $ )zL
Rate limit for the non-search-related API

:type: class:`github.Rate.Rate`
)r	   r
   r   s    r   r   RateLimit.core(   s     zzr   c                 .    U R                   R                  $ )zA
Rate limit for the Search API.

:type: class:`github.Rate.Rate`
)_searchr
   r   s    r   searchRateLimit.search1   s     ||!!!r   c                 .    U R                   R                  $ )z_
(Experimental) Rate limit for GraphQL API, use with caution.

:type: class:`github.Rate.Rate`
)_graphqlr
   r   s    r   graphqlRateLimit.graphql:   s     }}"""r   c                     [         R                  R                  U l        [         R                  R                  U l        [         R                  R                  U l        g )N)githubGithubObjectNotSetr	   r   r   r   s    r   _initAttributesRateLimit._initAttributesC   s;    ((//
**11++22r   c                 V   SU;   a2  U R                  [        R                  R                  US   5      U l        SU;   a2  U R                  [        R                  R                  US   5      U l        SU;   a3  U R                  [        R                  R                  US   5      U l        g g )Nr   r   r   )_makeClassAttributer   Rater	   r   r   )r   
attributess     r   _useAttributesRateLimit._useAttributesH   s    Z11&++2B2BJvDVWDJz!33  *X"6DL 
" 44  *Y"7DM #r   )r	   r   r   N)__name__
__module____qualname____firstlineno____doc__r   propertyr   r   r   r   r%   __static_attributes__ r   r   r   r       sR    <     " " # #3

r   r   )github.GithubObjectr   github.Rater   NonCompletableGithubObjectr   r.   r   r   <module>r2      s%   8  2##>> 2r   