+
    QV-j(  ã                   ór   € R t ^ RIHt ^ RIt^RIHtHtHtHt ]P                  ! ]
4      tR R ltR R ltR# )z;Contains utilities to handle pagination on Huggingface Hub.)ÚIterableN)Úget_sessionÚhf_raise_for_statusÚhttp_backoffÚloggingc                óH   € V ^8„  d   QhR\         R\        R\        R\        /# )é   ÚpathÚparamsÚheadersÚreturn)ÚstrÚdictr   )Úformats   "Úr/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/huggingface_hub/utils/_pagination.pyÚ__annotate__r      s(   € ÷ &ñ &”3ð &¤ð &¬tð &¼ñ &ó    c              #  ó^  "  € \        4       pVP                  WVR7      p\        V4       VP                  4        Rj  x€L
  \	        V4      pVeV   \
        P                  RV 24       \        RWRR7      p\        V4       VP                  4        Rj  x€L
  \	        V4      pKY  R#  Lj L5i)a  Fetch a list of models/datasets/spaces and paginate through results.

This is using the same "Link" header format as GitHub.
See:
- https://requests.readthedocs.io/en/latest/api/#requests.Response.links
- https://docs.github.com/en/rest/guides/traversing-with-pagination#link-header
)r
   r   Nz+Pagination detected. Requesting next page: ÚGET)r   )r   Úgetr   ÚjsonÚ_get_next_pageÚloggerÚdebugr   )r	   r
   r   ÚsessionÚrÚ	next_pages   &&&   r   Úpaginater      s™   é € ô ‹m€GØ�‰�D°ˆÓ9€AÜ˜ÔØ�v‰v‹x×Ðô ˜qÓ!€IØ
Ò
Ü�‰ÐBÀ9À+ÐNÔOÜ˜ 	Ô;ˆÜ˜AÔØ—6‘6“8×ÐÜ" 1Ó%Š	ñ  ñ ñ 	ùs"   ‚<B-¾B)¿AB-ÂB+ÂB-Â+B-c                óR   € V ^8„  d   QhR\         P                  R\        R,          /# )r   Úresponser   N)ÚhttpxÚResponser   )r   s   "r   r   r   2   s"   € ÷ 5ñ 5œUŸ^™^ð 5´°dµ
ñ 5r   c                 óX   € V P                   P                  R / 4      P                  R4      # )ÚnextÚurl)Úlinksr   )r   s   &r   r   r   2   s$   € Ø�>‰>×Ñ˜f bÓ)×-Ñ-¨eÓ4Ð4r   )Ú__doc__Úcollections.abcr   r    Ú r   r   r   r   Ú
get_loggerÚ__name__r   r   r   © r   r   Ú<module>r,      s3   ðñ Bå $ã ç EÓ Eð 
×	Ò	˜HÓ	%€õ&÷05r   