U
    Zh"                     @  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lmZmZmZmZmZmZ ddlmZmZmZmZ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   )Jobs	AsyncJobsJobsWithRawResponseAsyncJobsWithRawResponseJobsWithStreamingResponseAsyncJobsWithStreamingResponse)SyncAPIResourceAsyncAPIResource)Alpha
AsyncAlphaAlphaWithRawResponseAsyncAlphaWithRawResponseAlphaWithStreamingResponseAsyncAlphaWithStreamingResponse)CheckpointsAsyncCheckpointsCheckpointsWithRawResponseAsyncCheckpointsWithRawResponse CheckpointsWithStreamingResponse%AsyncCheckpointsWithStreamingResponse
FineTuningAsyncFineTuningc                   @  sf   e Zd ZeddddZeddd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/fine_tuning.pyjobs$   s    zFineTuning.jobsr   c                 C  s
   t | jS r   )r   r   r    r"   r"   r#   checkpoints(   s    zFineTuning.checkpointsr   c                 C  s
   t | jS r   )r   r   r    r"   r"   r#   alpha,   s    zFineTuning.alphaFineTuningWithRawResponsec                 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_response0   s    zFineTuning.with_raw_responseFineTuningWithStreamingResponsec                 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"FineTuning.with_streaming_responseN	__name__
__module____qualname__r   r$   r%   r&   r)   r,   r"   r"   r"   r#   r   #   s   	c                   @  sf   e Zd ZeddddZeddd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$   E   s    zAsyncFineTuning.jobsr   c                 C  s
   t | jS r   )r   r   r    r"   r"   r#   r%   I   s    zAsyncFineTuning.checkpointsr   c                 C  s
   t | jS r   )r   r   r    r"   r"   r#   r&   M   s    zAsyncFineTuning.alphaAsyncFineTuningWithRawResponsec                 C  s   t | S r(   )r1   r    r"   r"   r#   r)   Q   s    z!AsyncFineTuning.with_raw_response$AsyncFineTuningWithStreamingResponsec                 C  s   t | S r+   )r2   r    r"   r"   r#   r,   [   s    z'AsyncFineTuning.with_streaming_responseNr-   r"   r"   r"   r#   r   D   s   	c                   @  sR   e Zd ZdddddZedddd	Zed
dddZeddddZdS )r'   r   Nonefine_tuningr   c                 C  s
   || _ d S r   _fine_tuningr!   r5   r"   r"   r#   __init__f   s    z"FineTuningWithRawResponse.__init__r   r   c                 C  s   t | jjS r   )r   r7   r$   r    r"   r"   r#   r$   i   s    zFineTuningWithRawResponse.jobsr   c                 C  s   t | jjS r   )r   r7   r%   r    r"   r"   r#   r%   m   s    z%FineTuningWithRawResponse.checkpointsr   c                 C  s   t | jjS r   )r   r7   r&   r    r"   r"   r#   r&   q   s    zFineTuningWithRawResponse.alphaNr.   r/   r0   r9   r   r$   r%   r&   r"   r"   r"   r#   r'   e   s   r'   c                   @  sR   e Zd ZdddddZedddd	Zed
dddZeddddZdS )r1   r   r3   r4   c                 C  s
   || _ d S r   r6   r8   r"   r"   r#   r9   w   s    z'AsyncFineTuningWithRawResponse.__init__r	   r   c                 C  s   t | jjS r   )r	   r7   r$   r    r"   r"   r#   r$   z   s    z#AsyncFineTuningWithRawResponse.jobsr   c                 C  s   t | jjS r   )r   r7   r%   r    r"   r"   r#   r%   ~   s    z*AsyncFineTuningWithRawResponse.checkpointsr   c                 C  s   t | jjS r   )r   r7   r&   r    r"   r"   r#   r&      s    z$AsyncFineTuningWithRawResponse.alphaNr:   r"   r"   r"   r#   r1   v   s   r1   c                   @  sR   e Zd ZdddddZedddd	Zed
dddZeddddZdS )r*   r   r3   r4   c                 C  s
   || _ d S r   r6   r8   r"   r"   r#   r9      s    z(FineTuningWithStreamingResponse.__init__r
   r   c                 C  s   t | jjS r   )r
   r7   r$   r    r"   r"   r#   r$      s    z$FineTuningWithStreamingResponse.jobsr   c                 C  s   t | jjS r   )r   r7   r%   r    r"   r"   r#   r%      s    z+FineTuningWithStreamingResponse.checkpointsr   c                 C  s   t | jjS r   )r   r7   r&   r    r"   r"   r#   r&      s    z%FineTuningWithStreamingResponse.alphaNr:   r"   r"   r"   r#   r*      s   r*   c                   @  sR   e Zd ZdddddZedddd	Zed
dddZeddddZdS )r2   r   r3   r4   c                 C  s
   || _ d S r   r6   r8   r"   r"   r#   r9      s    z-AsyncFineTuningWithStreamingResponse.__init__r   r   c                 C  s   t | jjS r   )r   r7   r$   r    r"   r"   r#   r$      s    z)AsyncFineTuningWithStreamingResponse.jobsr   c                 C  s   t | jjS r   )r   r7   r%   r    r"   r"   r#   r%      s    z0AsyncFineTuningWithStreamingResponse.checkpointsr   c                 C  s   t | jjS r   )r   r7   r&   r    r"   r"   r#   r&      s    z*AsyncFineTuningWithStreamingResponse.alphaNr:   r"   r"   r"   r#   r2      s   r2   N)#
__future__r   _compatr   Z	jobs.jobsr   r   r   r	   r
   r   Z	_resourcer   r   Zalpha.alphar   r   r   r   r   r   Zcheckpoints.checkpointsr   r   r   r   r   r   __all__r   r   r'   r1   r*   r2   r"   r"   r"   r#   <module>   s      	!!