U
    ÅZhÊ  ã                   @  s¬   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
 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é   )ÚGradersÚAsyncGradersÚGradersWithRawResponseÚAsyncGradersWithRawResponseÚGradersWithStreamingResponseÚ!AsyncGradersWithStreamingResponseé   )Úcached_property)ÚSyncAPIResourceÚAsyncAPIResourceÚAlphaÚ
AsyncAlphac                   @  sB   e Zd Zeddœdd„ƒZeddœdd„ƒZeddœd	d
„ƒZdS )r   r   ©Úreturnc                 C  s
   t | jƒS ©N)r   Ú_client©Úself© r   úL/tmp/pip-unpacked-wheel-693nel7n/openai/resources/fine_tuning/alpha/alpha.pyÚgraders   s    zAlpha.gradersÚAlphaWithRawResponsec                 C  s   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   s    zAlpha.with_raw_responseÚAlphaWithStreamingResponsec                 C  s   t | ƒS ©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"   s    zAlpha.with_streaming_responseN©Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   r   r   r      s   	c                   @  sB   e Zd Zeddœdd„ƒZeddœdd„ƒZeddœd	d
„ƒZdS )r   r   r   c                 C  s
   t | jƒS r   )r   r   r   r   r   r   r   -   s    zAsyncAlpha.gradersÚAsyncAlphaWithRawResponsec                 C  s   t | ƒS r   )r#   r   r   r   r   r   1   s    zAsyncAlpha.with_raw_responseÚAsyncAlphaWithStreamingResponsec                 C  s   t | ƒS r   )r$   r   r   r   r   r   ;   s    z"AsyncAlpha.with_streaming_responseNr   r   r   r   r   r   ,   s   	c                   @  s.   e Zd Zdddœdd„Zeddœdd	„ƒZd
S )r   r   ÚNone©Úalphar   c                 C  s
   || _ d S r   ©Ú_alpha©r   r'   r   r   r   Ú__init__F   s    zAlphaWithRawResponse.__init__r   r   c                 C  s   t | jjƒS r   )r   r)   r   r   r   r   r   r   I   s    zAlphaWithRawResponse.gradersN©r    r!   r"   r+   r   r   r   r   r   r   r   E   s   r   c                   @  s.   e Zd Zdddœdd„Zeddœdd	„ƒZd
S )r#   r   r%   r&   c                 C  s
   || _ d S r   r(   r*   r   r   r   r+   O   s    z"AsyncAlphaWithRawResponse.__init__r   r   c                 C  s   t | jjƒS r   )r   r)   r   r   r   r   r   r   R   s    z!AsyncAlphaWithRawResponse.gradersNr,   r   r   r   r   r#   N   s   r#   c                   @  s.   e Zd Zdddœdd„Zeddœdd	„ƒZd
S )r   r   r%   r&   c                 C  s
   || _ d S r   r(   r*   r   r   r   r+   X   s    z#AlphaWithStreamingResponse.__init__r   r   c                 C  s   t | jjƒS r   )r   r)   r   r   r   r   r   r   [   s    z"AlphaWithStreamingResponse.gradersNr,   r   r   r   r   r   W   s   r   c                   @  s.   e Zd Zdddœdd„Zeddœdd	„ƒZd
S )r$   r   r%   r&   c                 C  s
   || _ d S r   r(   r*   r   r   r   r+   a   s    z(AsyncAlphaWithStreamingResponse.__init__r	   r   c                 C  s   t | jjƒS r   )r	   r)   r   r   r   r   r   r   d   s    z'AsyncAlphaWithStreamingResponse.gradersNr,   r   r   r   r   r$   `   s   r$   N)Ú
__future__r   r   r   r   r   r   r   r	   Ú_compatr   Z	_resourcer   r   Ú__all__r   r   r   r#   r   r$   r   r   r   r   Ú<module>   s    			