+
    ~jb                       ^ RI Ht ^ RIt^ RIHt ^ RIt^RIHt ^RIHtH	t	H
t
HtHtHtHtHt ^RIHtHtHt ^RIHt ^RIHtHt ^R	IHtHt ^R
IHtHtHtH t  ^RI!H"t"H#t# ^RI$H%t%H&t&H't' ^RI(H)t) ^RI*H+t+ ^RI,H-t- ^RI.H/t/ RR.t0 ! R R]4      t1 ! R R]4      t2 ! R R4      t3 ! R R4      t4 ! R R4      t5 ! R R4      t6R# )    )annotationsN)Literal)_legacy_response)BodyOmitQueryHeadersNotGivenSequenceNotStromit	not_given)path_templatemaybe_transformasync_maybe_transform)cached_property)SyncAPIResourceAsyncAPIResource)to_streamed_response_wrapper"async_to_streamed_response_wrapper)SyncPage	AsyncPageSyncConversationCursorPageAsyncConversationCursorPage)AsyncPaginatormake_request_options)permission_list_paramspermission_create_paramspermission_retrieve_params)PermissionListResponse)PermissionCreateResponse)PermissionDeleteResponse)PermissionRetrieveResponsePermissionsAsyncPermissionsc                     ] tR t^tRt]R R l4       t]R R l4       tRRRRR	RR
]/R R llt	]
P                  ! R4      R]R]R]R]RRRRR	RR
]/R R ll4       tR]R]R]R]RRRRR	RR
]/R R lltRRRRR	RR
]/R R lltRtR# )r#   IManage fine-tuning jobs to tailor a model to your specific training data.c                   V ^8  d   QhRR/# )   returnPermissionsWithRawResponse )formats   "ډ/Users/mitch_tango/dev/rabbit-r1-livekit/agent/.venv/lib/python3.14/site-packages/openai/resources/fine_tuning/checkpoints/permissions.py__annotate__Permissions.__annotate__#   s     0 0#= 0    c                    \        V 4      # z
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*   selfs   &r-   with_raw_responsePermissions.with_raw_response"   s     *$//r0   c                   V ^8  d   QhRR/# )r(   r)    PermissionsWithStreamingResponser+   )r,   s   "r-   r.   r/   -   s     6 6)I 6r0   c                    \        V 4      # 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
)r8   r3   s   &r-   with_streaming_response#Permissions.with_streaming_response,   s     055r0   extra_headersNextra_query
extra_bodytimeoutc               4    V ^8  d   QhRRRRRRRRR	R
RRRR/# )r(   fine_tuned_model_checkpointstrproject_idsSequenceNotStr[str]r=   Headers | Noner>   Query | Noner?   Body | Noner@   'float | httpx.Timeout | None | NotGivenr)   z"SyncPage[PermissionCreateResponse]r+   )r,   s   "r-   r.   r/   5   sP     1
 1
%(1
 )	1
 &1
 "1
  1
 91
 
,1
r0   c                   V'       g   \        RV: 24      hV P                  \        RVR7      \        \        ,          \        RV/\        P                  4      \        VVVVRR/R7      \        RR	7      # 
a  
**NOTE:** Calling this endpoint requires an [admin API key](../admin-api-keys).

This enables organization owners to share fine-tuned models with other projects
in their organization.

Args:
  project_ids: The project identifiers to grant access to.

  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
JExpected a non-empty value for `fine_tuned_model_checkpoint` but received B/fine_tuning/checkpoints/{fine_tuned_model_checkpoint}/permissionsrB   rD   bearer_authTr=   r>   r?   r@   securitypost)pagebodyoptionsmodelmethod)	
ValueError_get_api_listr   r   r    r   r   PermissionCreateParamsr   r4   rB   rD   r=   r>   r?   r@   s   &&$$$$$r-   createPermissions.create5   s    : +\]x\{|  !!T,G 23 -!=?W?n?no(+'%'. + " 
 	
r0   IRetrieve is deprecated. Please swap to the paginated list method instead.afterlimitorder
project_idc               @    V ^8  d   QhRRRRRRRRR	RR
RRRRRRRRR/
# r(   rB   rC   r_   
str | Omitr`   
int | Omitra   )Literal['ascending', 'descending'] | Omitrb   r=   rF   r>   rG   r?   rH   r@   rI   r)   r"   r+   )r,   s   "r-   r.   r/   i   z     @
 @
%(@
 	@

 @
 9@
 @
 &@
 "@
  @
 9@
 
$@
r0   c                   V'       g   \        RV: 24      hV P                  \        RVR7      \        VVVV	\	        RVRVRVRV/\
        P                  4      RR	/R
7      \        R7      # )  
**NOTE:** This endpoint requires an [admin API key](../admin-api-keys).

Organization owners can use this endpoint to view all permissions for a
fine-tuned model checkpoint.

Args:
  after: Identifier for the last permission ID from the previous pagination request.

  limit: Number of permissions to retrieve.

  order: The order in which to retrieve permissions.

  project_id: The ID of the project to get permissions for.

  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
rL   rM   rN   r_   r`   ra   rb   rO   Tr=   r>   r?   r@   queryrQ   rU   cast_to)rX   _getr   r   r   r   PermissionRetrieveParamsr"   
r4   rB   r_   r`   ra   rb   r=   r>   r?   r@   s
   &&$$$$$$$$r-   retrievePermissions.retrieveh   s    N +\]x\{|  yyT,G )+'%%$j	 /GG (.  /+  
 	
r0   c               @    V ^8  d   QhRRRRRRRRR	RR
RRRRRRRRR/
# )r(   rB   rC   r_   re   r`   rf   ra   rg   rb   r=   rF   r>   rG   r?   rH   r@   rI   r)   z2SyncConversationCursorPage[PermissionListResponse]r+   )r,   s   "r-   r.   r/      sz     A
 A
%(A
 	A

 A
 9A
 A
 &A
 "A
  A
 9A
 
<A
r0   c                   V'       g   \        RV: 24      hV P                  \        RVR7      \        \        ,          \        VVVV	\        RVRVRVRV/\        P                  4      RR	/R
7      \        R7      # rj   rL   rM   rN   r_   r`   ra   rb   rO   Trk   )rS   rU   rV   )	rX   rY   r   r   r   r   r   r   PermissionListParamsrq   s
   &&$$$$$$$$r-   listPermissions.list   s    L +\]x\{|  !!T,G ,,BC(+'%%$j	 +?? (.  )- " 
 	
r0   c               4    V ^8  d   QhRRRRRRRRRR	R
RRR/# r(   permission_idrC   rB   r=   rF   r>   rG   r?   rH   r@   rI   r)   r!   r+   )r,   s   "r-   r.   r/      P     /
 /
/
 &)	/
 &/
 "/
  /
 9/
 
"/
r0   c                   V'       g   \        RV: 24      hV'       g   \        RV: 24      hV P                  \        RVVR7      \        VVVVRR/R7      \        R7      # )	  
**NOTE:** This endpoint requires an [admin API key](../admin-api-keys).

Organization owners can use this endpoint to delete a permission for a
fine-tuned model checkpoint.

Args:
  extra_headers: Send extra headers

  extra_query: Add additional query parameters to the request

  extra_body: Add additional JSON properties to the request

  timeout: Override the client-level default timeout for this request, in seconds
rL   <Expected a non-empty value for `permission_id` but received R/fine_tuning/checkpoints/{fine_tuned_model_checkpoint}/permissions/{permission_id}rB   r|   rO   TrP   rm   rX   _deleter   r   r!   r4   r|   rB   r=   r>   r?   r@   s   &&$$$$$r-   deletePermissions.delete   s    6 +\]x\{|  [\i[lmnn||d,G+
 )+'%'. -  
 	
r0   r+   __name__
__module____qualname____firstlineno____doc__r   r5   r;   r   r\   typing_extensions
deprecatedr   rr   rx   r   __static_attributes__r+   r0   r-   r#   r#      sl   S0 0 6 61
 )-1
 %)1
 #'1
 <E1
f !!"mn@
 !	@

 !@
 <@@
 "&@
 )-@
 %)@
 #'@
 <E@
 o@
DA
 !	A

 !A
 <@A
 "&A
 )-A
 %)A
 #'A
 <EA
F/
 )-/
 %)/
 #'/
 <E/
 /
r0   c                     ] tR tRtRt]R R l4       t]R R l4       tRRR	RR
RR]/R R llt	]
P                  ! R4      R]R]R]R]RRR	RR
RR]/R R ll4       tR]R]R]R]RRR	RR
RR]/R R lltRRR	RR
RR]/R R lltRtR# )r$   i   r&   c                   V ^8  d   QhRR/# )r(   r)   AsyncPermissionsWithRawResponser+   )r,   s   "r-   r.   AsyncPermissions.__annotate__$  s     5 5#B 5r0   c                    \        V 4      # r2   )r   r3   s   &r-   r5   "AsyncPermissions.with_raw_response#  s     /t44r0   c                   V ^8  d   QhRR/# )r(   r)   %AsyncPermissionsWithStreamingResponser+   )r,   s   "r-   r.   r   .  s     ; ;)N ;r0   c                    \        V 4      # r:   )r   r3   s   &r-   r;   (AsyncPermissions.with_streaming_response-  s     5T::r0   r=   Nr>   r?   r@   c               4    V ^8  d   QhRRRRRRRRR	R
RRRR/# )r(   rB   rC   rD   rE   r=   rF   r>   rG   r?   rH   r@   rI   r)   zMAsyncPaginator[PermissionCreateResponse, AsyncPage[PermissionCreateResponse]]r+   )r,   s   "r-   r.   r   6  sQ     1
 1
%(1
 )	1
 &1
 "1
  1
 91
 
W1
r0   c                   V'       g   \        RV: 24      hV P                  \        RVR7      \        \        ,          \        RV/\        P                  4      \        VVVVRR/R7      \        RR	7      # rK   )	rX   rY   r   r   r    r   r   rZ   r   r[   s   &&$$$$$r-   r\   AsyncPermissions.create6  s    : +\]x\{|  !!T,G 34 -!=?W?n?no(+'%'. + " 
 	
r0   r^   r_   r`   ra   rb   c               @    V ^8  d   QhRRRRRRRRR	RR
RRRRRRRRR/
# rd   r+   )r,   s   "r-   r.   r   j  rh   r0   c                 "   V'       g   \        RV: 24      hT P                  \        RVR7      \        TTTT	\	        RVRVRVRV/\
        P                  4      G Rj  xL
 R	R
/R7      \        R7      G Rj  xL
 #  L L5i)rj   rL   rM   rN   r_   r`   ra   rb   NrO   Trk   rm   )rX   ro   r   r   r   r   rp   r"   rq   s
   &&$$$$$$$$r-   rr   AsyncPermissions.retrievei  s     N +\]x\{|  YYT,G )+'%1$j	 /GG  (.  /+  
 
 	

s$   ABA> B9B :B Bc               @    V ^8  d   QhRRRRRRRRR	RR
RRRRRRRRR/
# )r(   rB   rC   r_   re   r`   rf   ra   rg   rb   r=   rF   r>   rG   r?   rH   r@   rI   r)   z[AsyncPaginator[PermissionListResponse, AsyncConversationCursorPage[PermissionListResponse]]r+   )r,   s   "r-   r.   r     s{     A
 A
%(A
 	A

 A
 9A
 A
 &A
 "A
  A
 9A
 
eA
r0   c                   V'       g   \        RV: 24      hV P                  \        RVR7      \        \        ,          \        VVVV	\        RVRVRVRV/\        P                  4      RR	/R
7      \        R7      # rv   )	rX   rY   r   r   r   r   r   r   rw   rq   s
   &&$$$$$$$$r-   rx   AsyncPermissions.list  s    L +\]x\{|  !!T,G --CD(+'%%$j	 +?? (.  )- " 
 	
r0   c               4    V ^8  d   QhRRRRRRRRRR	R
RRR/# r{   r+   )r,   s   "r-   r.   r     r}   r0   c                  "   V'       g   \        RV: 24      hV'       g   \        RV: 24      hV P                  \        RVVR7      \        VVVVRR/R7      \        R7      G R	j  xL
 #  L5i)
r   rL   r   r   r   rO   TrP   rm   Nr   r   s   &&$$$$$r-   r   AsyncPermissions.delete  s     6 +\]x\{|  [\i[lmnn\\d,G+
 )+'%'. - " 
 
 	
 
s   A/AA/(A-)A/r+   r   r+   r0   r-   r$   r$      sl   S5 5 ; ;1
 )-1
 %)1
 #'1
 <E1
f !!"mn@
 !	@

 !@
 <@@
 "&@
 )-@
 %)@
 #'@
 <E@
 o@
DA
 !	A

 !A
 <@A
 "&A
 )-A
 %)A
 #'A
 <EA
F/
 )-/
 %)/
 #'/
 <E/
 /
r0   c                  "    ] tR tRtR R ltRtR# )r*   i!  c                    V ^8  d   QhRRRR/# r(   permissionsr#   r)   Noner+   )r,   s   "r-   r.   'PermissionsWithRawResponse.__annotate__"       
 
K 
D 
r0   c                	:   Wn         \        P                  ! VP                  4      V n        \        P                  ! VP                  4      V n        \        P                  ! VP
                  4      V n        \        P                  ! VP                  4      V n        R # N)_permissionsr   to_raw_response_wrapperr\   rr   rx   r   r4   r   s   &&r-   __init__#PermissionsWithRawResponse.__init__"  s}    '&>>
 44$$ 	
 %<<
	 '>>
r0   r   r\   r   rx   rr   Nr   r   r   r   r   r   r+   r0   r-   r*   r*   !      
 
r0   r*   c                  "    ] tR tRtR R ltRtR# )r   i5  c                    V ^8  d   QhRRRR/# r(   r   r$   r)   r   r+   )r,   s   "r-   r.   ,AsyncPermissionsWithRawResponse.__annotate__6       
 
$4 
 
r0   c                	:   Wn         \        P                  ! VP                  4      V n        \        P                  ! VP                  4      V n        \        P                  ! VP
                  4      V n        \        P                  ! VP                  4      V n        R # r   )r   r   async_to_raw_response_wrapperr\   rr   rx   r   r   s   &&r-   r   (AsyncPermissionsWithRawResponse.__init__6  s}    '&DD
 ::$$ 	
 %BB
	 'DD
r0   r   Nr   r+   r0   r-   r   r   5  r   r0   r   c                  "    ] tR tRtR R ltRtR# )r8   iI  c                    V ^8  d   QhRRRR/# r   r+   )r,   s   "r-   r.   -PermissionsWithStreamingResponse.__annotate__J  r   r0   c                	    Wn         \        VP                  4      V n        \        VP                  4      V n        \        VP                  4      V n        \        VP
                  4      V n        R # r   )r   r   r\   rr   rx   r   r   s   &&r-   r   )PermissionsWithStreamingResponse.__init__J  se    '2
 )$$ 	
 1
	 3
r0   r   Nr   r+   r0   r-   r8   r8   I  r   r0   r8   c                  "    ] tR tRtR R ltRtR# )r   i]  c                    V ^8  d   QhRRRR/# r   r+   )r,   s   "r-   r.   2AsyncPermissionsWithStreamingResponse.__annotate__^  r   r0   c                	    Wn         \        VP                  4      V n        \        VP                  4      V n        \        VP                  4      V n        \        VP
                  4      V n        R # r   )r   r   r\   rr   rx   r   r   s   &&r-   r   .AsyncPermissionsWithStreamingResponse.__init__^  se    '8
 /$$ 	
 7
	 9
r0   r   Nr   r+   r0   r-   r   r   ]  r   r0   r   )7
__future__r   r   r   httpx r   _typesr   r   r   r	   r
   r   r   r   _utilsr   r   r   _compatr   	_resourcer   r   	_responser   r   
paginationr   r   r   r   _base_clientr   r   types.fine_tuning.checkpointsr   r   r   6types.fine_tuning.checkpoints.permission_list_responser   8types.fine_tuning.checkpoints.permission_create_responser    8types.fine_tuning.checkpoints.permission_delete_responser!   :types.fine_tuning.checkpoints.permission_retrieve_responser"   __all__r#   r$   r*   r   r8   r   r+   r0   r-   <module>r      s    #  %  ! \ \ \ L L ' ; Z g g A 
 ^ a a e,
-~
/ ~
B~
' ~
B
 
(
 
(
 
(
 
r0   