Get info necessary to train a model Args: fine_tune_id (str): Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.
(
*,
client: AuthenticatedClient,
fine_tune_id: str,
)
| 81 | |
| 82 | |
| 83 | def sync( |
| 84 | *, |
| 85 | client: AuthenticatedClient, |
| 86 | fine_tune_id: str, |
| 87 | ) -> Optional[GetTrainingInfoResponse200]: |
| 88 | """Get info necessary to train a model |
| 89 | |
| 90 | Args: |
| 91 | fine_tune_id (str): |
| 92 | |
| 93 | Raises: |
| 94 | errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
| 95 | httpx.TimeoutException: If the request takes longer than Client.timeout. |
| 96 | |
| 97 | Returns: |
| 98 | GetTrainingInfoResponse200 |
| 99 | """ |
| 100 | |
| 101 | return sync_detailed( |
| 102 | client=client, |
| 103 | fine_tune_id=fine_tune_id, |
| 104 | ).parsed |
| 105 | |
| 106 | |
| 107 | async def asyncio_detailed( |
nothing calls this directly
no test coverage detected