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,
)
| 132 | |
| 133 | |
| 134 | async def asyncio( |
| 135 | *, |
| 136 | client: AuthenticatedClient, |
| 137 | fine_tune_id: str, |
| 138 | ) -> Optional[GetTrainingInfoResponse200]: |
| 139 | """Get info necessary to train a model |
| 140 | |
| 141 | Args: |
| 142 | fine_tune_id (str): |
| 143 | |
| 144 | Raises: |
| 145 | errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. |
| 146 | httpx.TimeoutException: If the request takes longer than Client.timeout. |
| 147 | |
| 148 | Returns: |
| 149 | GetTrainingInfoResponse200 |
| 150 | """ |
| 151 | |
| 152 | return ( |
| 153 | await asyncio_detailed( |
| 154 | client=client, |
| 155 | fine_tune_id=fine_tune_id, |
| 156 | ) |
| 157 | ).parsed |
nothing calls this directly
no test coverage detected