o
    +i  ã                   @  s¬   d dl mZ ddlmZ ddlmZmZmZmZm	Z	m
Z
 ddlmZmZ ddgZG d	d„ deƒZG d
d„ deƒZG dd„ dƒZG dd„ dƒZG dd„ dƒZG dd„ dƒZdS )é    )Úannotationsé   )Úcached_propertyé   )ÚPermissionsÚAsyncPermissionsÚPermissionsWithRawResponseÚAsyncPermissionsWithRawResponseÚ PermissionsWithStreamingResponseÚ%AsyncPermissionsWithStreamingResponse)ÚSyncAPIResourceÚAsyncAPIResourceÚCheckpointsÚAsyncCheckpointsc                   @  ó6   e Zd Zeddd„ƒZeddd„ƒZedd	d
„ƒZdS )r   Úreturnr   c                 C  ó
   t | jƒS ©N)r   Ú_client©Úself© r   úg/var/www/html/venv/lib/python3.10/site-packages/openai/resources/fine_tuning/checkpoints/checkpoints.pyÚpermissions   ó   
zCheckpoints.permissionsÚCheckpointsWithRawResponsec                 C  ó   t | ƒS ©a  
        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/openai/openai-python#accessing-raw-response-data-eg-headers
        )r   r   r   r   r   Úwith_raw_response   ó   zCheckpoints.with_raw_responseÚ CheckpointsWithStreamingResponsec                 C  r   ©zÌ
        An alternative to `.with_raw_response` that doesn't eagerly read the response body.

        For more information, see https://www.github.com/openai/openai-python#with_streaming_response
        )r    r   r   r   r   Úwith_streaming_response"   ó   z#Checkpoints.with_streaming_responseN)r   r   )r   r   )r   r    ©Ú__name__Ú
__module__Ú__qualname__r   r   r   r"   r   r   r   r   r      ó    	c                   @  r   )r   r   r   c                 C  r   r   )r   r   r   r   r   r   r   -   r   zAsyncCheckpoints.permissionsÚAsyncCheckpointsWithRawResponsec                 C  r   r   )r)   r   r   r   r   r   1   r   z"AsyncCheckpoints.with_raw_responseÚ%AsyncCheckpointsWithStreamingResponsec                 C  r   r!   )r*   r   r   r   r   r"   ;   r#   z(AsyncCheckpoints.with_streaming_responseN)r   r   )r   r)   )r   r*   r$   r   r   r   r   r   ,   r(   c                   @  ó$   e Zd Zddd„Zeddd	„ƒZd
S )r   Úcheckpointsr   r   ÚNonec                 C  ó
   || _ d S r   ©Ú_checkpoints©r   r,   r   r   r   Ú__init__F   ó   
z#CheckpointsWithRawResponse.__init__r   c                 C  ó   t | jjƒS r   )r   r0   r   r   r   r   r   r   I   ó   z&CheckpointsWithRawResponse.permissionsN©r,   r   r   r-   )r   r   ©r%   r&   r'   r2   r   r   r   r   r   r   r   E   ó    
r   c                   @  r+   )r)   r,   r   r   r-   c                 C  r.   r   r/   r1   r   r   r   r2   O   r3   z(AsyncCheckpointsWithRawResponse.__init__r	   c                 C  r4   r   )r	   r0   r   r   r   r   r   r   R   r5   z+AsyncCheckpointsWithRawResponse.permissionsN©r,   r   r   r-   )r   r	   r7   r   r   r   r   r)   N   r8   r)   c                   @  r+   )r    r,   r   r   r-   c                 C  r.   r   r/   r1   r   r   r   r2   X   r3   z)CheckpointsWithStreamingResponse.__init__r
   c                 C  r4   r   )r
   r0   r   r   r   r   r   r   [   r5   z,CheckpointsWithStreamingResponse.permissionsNr6   )r   r
   r7   r   r   r   r   r    W   r8   r    c                   @  r+   )r*   r,   r   r   r-   c                 C  r.   r   r/   r1   r   r   r   r2   a   r3   z.AsyncCheckpointsWithStreamingResponse.__init__r   c                 C  r4   r   )r   r0   r   r   r   r   r   r   d   r5   z1AsyncCheckpointsWithStreamingResponse.permissionsNr9   )r   r   r7   r   r   r   r   r*   `   r8   r*   N)Ú
__future__r   Ú_compatr   r   r   r   r   r	   r
   r   Ú	_resourcer   r   Ú__all__r   r   r   r)   r    r*   r   r   r   r   Ú<module>   s    			