katana_public_api_client.api.material.get_material¶
katana_public_api_client.api.material.get_material
¶
Classes¶
Functions¶
asyncio(id, *, client, extend=UNSET)
async
¶
Retrieve a material
Retrieves the details of an existing material based on ID.
Parameters:
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
ErrorResponse | Material | None–Union[ErrorResponse, Material]
Source code in katana_public_api_client/api/material/get_material.py
asyncio_detailed(id, *, client, extend=UNSET)
async
¶
Retrieve a material
Retrieves the details of an existing material based on ID.
Parameters:
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
Response[ErrorResponse | Material]–Response[Union[ErrorResponse, Material]]
Source code in katana_public_api_client/api/material/get_material.py
sync(id, *, client, extend=UNSET)
¶
Retrieve a material
Retrieves the details of an existing material based on ID.
Parameters:
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
ErrorResponse | Material | None–Union[ErrorResponse, Material]
Source code in katana_public_api_client/api/material/get_material.py
sync_detailed(id, *, client, extend=UNSET)
¶
Retrieve a material
Retrieves the details of an existing material based on ID.
Parameters:
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
Response[ErrorResponse | Material]–Response[Union[ErrorResponse, Material]]