
    gB                        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e      Z G d
 de      Z G d d      Z G d d      Z G d d      Z G d d      Zy)    )annotations   )cached_property   )Jobs	AsyncJobsJobsWithRawResponseAsyncJobsWithRawResponseJobsWithStreamingResponseAsyncJobsWithStreamingResponse)SyncAPIResourceAsyncAPIResource
FineTuningAsyncFineTuningc                  B    e Zd Zedd       Zedd       Zedd       Zy)r   c                ,    t        | j                        S N)r   _clientselfs    ]/var/www/openai/venv/lib/python3.12/site-packages/openai/resources/fine_tuning/fine_tuning.pyjobszFineTuning.jobs   s    DLL!!    c                    t        |       S a  
        This property can be used as a prefix for any HTTP method call to return the
        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
        )FineTuningWithRawResponser   s    r   with_raw_responsezFineTuning.with_raw_response   s     )..r   c                    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
        )FineTuningWithStreamingResponser   s    r   with_streaming_responsez"FineTuning.with_streaming_response"   s     /t44r   N)returnr   )r"   r   )r"   r    __name__
__module____qualname__r   r   r   r!    r   r   r   r      s<    " " / / 5 5r   c                  B    e Zd Zedd       Zedd       Zedd       Zy)r   c                ,    t        | j                        S r   )r   r   r   s    r   r   zAsyncFineTuning.jobs-   s    &&r   c                    t        |       S r   )AsyncFineTuningWithRawResponser   s    r   r   z!AsyncFineTuning.with_raw_response1   s     .d33r   c                    t        |       S r   )$AsyncFineTuningWithStreamingResponser   s    r   r!   z'AsyncFineTuning.with_streaming_response;   s     4D99r   N)r"   r   )r"   r+   )r"   r-   r#   r'   r   r   r   r   ,   s<    ' ' 4 4 : :r   c                  &    e Zd ZddZedd       Zy)r   c                    || _         y r   _fine_tuningr   fine_tunings     r   __init__z"FineTuningWithRawResponse.__init__F   
    'r   c                @    t        | j                  j                        S r   )r	   r1   r   r   s    r   r   zFineTuningWithRawResponse.jobsI   s    "4#4#4#9#9::r   Nr3   r   r"   None)r"   r	   r$   r%   r&   r4   r   r   r'   r   r   r   r   E   s    ( ; ;r   r   c                  &    e Zd ZddZedd       Zy)r+   c                    || _         y r   r0   r2   s     r   r4   z'AsyncFineTuningWithRawResponse.__init__O   r5   r   c                @    t        | j                  j                        S r   )r
   r1   r   r   s    r   r   z#AsyncFineTuningWithRawResponse.jobsR   s    '(9(9(>(>??r   Nr3   r   r"   r8   )r"   r
   r9   r'   r   r   r+   r+   N   s    ( @ @r   r+   c                  &    e Zd ZddZedd       Zy)r    c                    || _         y r   r0   r2   s     r   r4   z(FineTuningWithStreamingResponse.__init__X   r5   r   c                @    t        | j                  j                        S r   )r   r1   r   r   s    r   r   z$FineTuningWithStreamingResponse.jobs[   s    ():):)?)?@@r   Nr7   )r"   r   r9   r'   r   r   r    r    W   s    ( A Ar   r    c                  &    e Zd ZddZedd       Zy)r-   c                    || _         y r   r0   r2   s     r   r4   z-AsyncFineTuningWithStreamingResponse.__init__a   r5   r   c                @    t        | j                  j                        S r   )r   r1   r   r   s    r   r   z)AsyncFineTuningWithStreamingResponse.jobsd   s    -d.?.?.D.DEEr   Nr=   )r"   r   r9   r'   r   r   r-   r-   `   s    ( F Fr   r-   N)
__future__r   _compatr   	jobs.jobsr   r   r	   r
   r   r   	_resourcer   r   __all__r   r   r   r+   r    r-   r'   r   r   <module>rI      sn    # &  ;*
+5 52:& :2; ;@ @A AF Fr   