MCPcopy Create free account
hub / github.com/OpenPipe/OpenPipe / asyncio

Function asyncio

trainer/src/api_client/api/default/get_training_info.py:134–157  ·  view source on GitHub ↗

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,
)

Source from the content-addressed store, hash-verified

132
133
134async 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

Callers

nothing calls this directly

Calls 1

asyncio_detailedFunction · 0.70

Tested by

no test coverage detected