qcrboxapiclient.api.calculations.get_calculation_by_id¶
- async qcrboxapiclient.api.calculations.get_calculation_by_id.asyncio(id, *, client)¶
Get calculation by ID
Retrieve a calculation by its ID.
- Parameters:
id (str)
client (AuthenticatedClient | Client)
- 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.
- Return type:
Union
[QCrBoxErrorResponse
,QCrBoxResponseCalculationsResponse
,None
]- Returns:
Union[QCrBoxErrorResponse, QCrBoxResponseCalculationsResponse]
- async qcrboxapiclient.api.calculations.get_calculation_by_id.asyncio_detailed(id, *, client)¶
Get calculation by ID
Retrieve a calculation by its ID.
- Parameters:
id (str)
client (AuthenticatedClient | Client)
- 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.
- Return type:
Response
[Union
[QCrBoxErrorResponse
,QCrBoxResponseCalculationsResponse
]]- Returns:
Response[Union[QCrBoxErrorResponse, QCrBoxResponseCalculationsResponse]]
- qcrboxapiclient.api.calculations.get_calculation_by_id.sync(id, *, client)¶
Get calculation by ID
Retrieve a calculation by its ID.
- Parameters:
id (str)
client (AuthenticatedClient | Client)
- 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.
- Return type:
Union
[QCrBoxErrorResponse
,QCrBoxResponseCalculationsResponse
,None
]- Returns:
Union[QCrBoxErrorResponse, QCrBoxResponseCalculationsResponse]
- qcrboxapiclient.api.calculations.get_calculation_by_id.sync_detailed(id, *, client)¶
Get calculation by ID
Retrieve a calculation by its ID.
- Parameters:
id (str)
client (AuthenticatedClient | Client)
- 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.
- Return type:
Response
[Union
[QCrBoxErrorResponse
,QCrBoxResponseCalculationsResponse
]]- Returns:
Response[Union[QCrBoxErrorResponse, QCrBoxResponseCalculationsResponse]]