Ë
    ²Œj¢  ã                   ó�  — d dl mZmZmZmZmZmZ d dlmZm	Z	m
Z
 ddlmZmZmZmZ g d¢Z ed«      Ze
 G d„ de«      «       Z G d	„ d
ee   ee   ee   «      Z G d„ dee   ee   ee   «      Z G d„ dee   ee   ee   «      Z G d„ dee   ee   ee   «      Z G d„ dee   ee   ee   «      Z G d„ dee   ee   ee   «      Zy)é    )ÚAnyÚListÚGenericÚTypeVarÚOptionalÚcast)ÚProtocolÚoverrideÚruntime_checkableé   )ÚBasePageÚPageInfoÚBaseSyncPageÚBaseAsyncPage)ÚSyncPageÚ	AsyncPageÚSyncCursorPageÚAsyncCursorPageÚSyncConversationCursorPageÚAsyncConversationCursorPageÚ_Tc                   ó   — e Zd ZU ee   ed<   y)ÚCursorPageItemÚidN)Ú__name__Ú
__module__Ú__qualname__r   ÚstrÚ__annotations__© ó    ú[/var/www/html/Fitness-lenito-AI-main/venv/lib/python3.12/site-packages/openai/pagination.pyr   r      s   … à�‰Ôr!   r   c                   óZ   — e Zd ZU dZee   ed<   eed<   edee   fd„«       Z	edd„«       Z
y)	r   úLNote: no pagination actually occurs yet, this is for forwards-compatibility.ÚdataÚobjectÚreturnc                 ó&   — | j                   }|sg S |S ©N©r%   ©Úselfr%   s     r"   Ú_get_page_itemszSyncPage._get_page_items   ó   € à�y‰yˆÙØˆIØˆr!   Nc                  ó   — y©zŒ
        This page represents a response that isn't actually paginated at the API level
        so there will never be a next page.
        Nr    ©r,   s    r"   Únext_page_infozSyncPage.next_page_info&   ó   € ð r!   ©r'   N©r   r   r   Ú__doc__r   r   r   r   r
   r-   r2   r    r!   r"   r   r      óD   … ÙVà
ˆr‰(ƒNØƒKàð  b¡ò ó ðð òó ñr!   r   c                   óZ   — e Zd ZU dZee   ed<   eed<   edee   fd„«       Z	edd„«       Z
y)	r   r$   r%   r&   r'   c                 ó&   — | j                   }|sg S |S r)   r*   r+   s     r"   r-   zAsyncPage._get_page_items5   r.   r!   Nc                  ó   — yr0   r    r1   s    r"   r2   zAsyncPage.next_page_info<   r3   r!   r4   r5   r    r!   r"   r   r   /   r7   r!   r   c                   óŒ   ‡ — e Zd ZU ee   ed<   dZee   ed<   e	dee   fd„«       Z
e	defˆ fd„«       Ze	dee   fd„«       Zˆ xZS )r   r%   NÚhas_morer'   c                 ó&   — | j                   }|sg S |S r)   r*   r+   s     r"   r-   zSyncCursorPage._get_page_itemsI   r.   r!   c                 óF   •— | j                   }|�|du ryt        ‰| �	  «       S ©NF©r<   ÚsuperÚhas_next_page©r,   r<   Ú	__class__s     €r"   rB   zSyncCursorPage.has_next_pageP   ó*   ø€ à—=‘=ˆØÐ H°Ñ$5Øä‰wÑ$Ó&Ð&r!   c                 ó°   — | j                   }|sy t        t        |d   «      }t        |t        «      r|j
                  €y t        d|j
                  i¬«      S ©NéÿÿÿÿÚafter©Úparams©r%   r   r   Ú
isinstancer   r   r   ©r,   r%   Úitems      r"   r2   zSyncCursorPage.next_page_infoX   óJ   € à�y‰yˆÙØä”C˜˜b™Ó"ˆÜ˜$¤Ô/°4·7±7°?àä ¨¯©Ð1Ô2Ð2r!   ©r   r   r   r   r   r   r<   r   Úboolr
   r-   rB   r   r2   Ú__classcell__©rD   s   @r"   r   r   E   ór   ø… Ø
ˆr‰(ƒNØ#€Hˆh�t‰nÓ#àð  b¡ò ó ðð ð'˜tô 'ó ð'ð ð
3 ¨Ñ 2ò 
3ó ô
3r!   r   c                   óŒ   ‡ — e Zd ZU ee   ed<   dZee   ed<   e	dee   fd„«       Z
e	defˆ fd„«       Ze	dee   fd„«       Zˆ xZS )r   r%   Nr<   r'   c                 ó&   — | j                   }|sg S |S r)   r*   r+   s     r"   r-   zAsyncCursorPage._get_page_itemsj   r.   r!   c                 óF   •— | j                   }|�|du ryt        ‰| �	  «       S r?   r@   rC   s     €r"   rB   zAsyncCursorPage.has_next_pageq   rE   r!   c                 ó°   — | j                   }|sy t        t        |d   «      }t        |t        «      r|j
                  €y t        d|j
                  i¬«      S rG   rL   rN   s      r"   r2   zAsyncCursorPage.next_page_infoy   rP   r!   rQ   rT   s   @r"   r   r   f   rU   r!   r   c                   ó    ‡ — e Zd ZU ee   ed<   dZee   ed<   dZ	ee
   ed<   edee   fd„«       Zedefˆ fd„«       Zedee   fd„«       Zˆ xZS )	r   r%   Nr<   Úlast_idr'   c                 ó&   — | j                   }|sg S |S r)   r*   r+   s     r"   r-   z*SyncConversationCursorPage._get_page_itemsŒ   r.   r!   c                 óF   •— | j                   }|�|du ryt        ‰| �	  «       S r?   r@   rC   s     €r"   rB   z(SyncConversationCursorPage.has_next_page“   rE   r!   c                 ó<   — | j                   }|sy t        d|i¬«      S ©NrI   rJ   ©r[   r   ©r,   r[   s     r"   r2   z)SyncConversationCursorPage.next_page_info›   ó!   € à—,‘,ˆÙØä ¨Ð1Ô2Ð2r!   ©r   r   r   r   r   r   r<   r   rR   r[   r   r
   r-   rB   r   r2   rS   rT   s   @r"   r   r   ‡   ó€   ø… Ø
ˆr‰(ƒNØ#€Hˆh�t‰nÓ#Ø!€GˆX�c‰]Ó!àð  b¡ò ó ðð ð'˜tô 'ó ð'ð ð3 ¨Ñ 2ò 3ó ô3r!   r   c                   ó    ‡ — e Zd ZU ee   ed<   dZee   ed<   dZ	ee
   ed<   edee   fd„«       Zedefˆ fd„«       Zedee   fd„«       Zˆ xZS )	r   r%   Nr<   r[   r'   c                 ó&   — | j                   }|sg S |S r)   r*   r+   s     r"   r-   z+AsyncConversationCursorPage._get_page_items©   r.   r!   c                 óF   •— | j                   }|�|du ryt        ‰| �	  «       S r?   r@   rC   s     €r"   rB   z)AsyncConversationCursorPage.has_next_page°   rE   r!   c                 ó<   — | j                   }|sy t        d|i¬«      S r_   r`   ra   s     r"   r2   z*AsyncConversationCursorPage.next_page_info¸   rb   r!   rc   rT   s   @r"   r   r   ¤   rd   r!   r   N)Útypingr   r   r   r   r   r   Útyping_extensionsr	   r
   r   Ú_base_clientr   r   r   r   Ú__all__r   r   r   r   r   r   r   r   r    r!   r"   Ú<module>rm      sö   ð÷ ?× >ß CÑ Cç IÓ Iò€ñ ˆTƒ]€ð ô�Xó ó ðôˆ|˜BÑ ¨"¡¨w°r©{ô ô,�˜bÑ! 8¨B¡<°¸±ô ô,3�\ "Ñ% x°¡|°W¸R±[ô 3ôB3�m BÑ'¨°"©°w¸r±{ô 3ôB3 ¨bÑ!1°8¸B±<ÀÈÁô 3ô:3 -°Ñ"3°X¸b±\À7È2Á;õ 3r!   