katana_public_api_client.api.factory.get_factory¶
katana_public_api_client.api.factory.get_factory
¶
Classes¶
Functions¶
asyncio(*, client)
async
¶
Retrieve the current factory
Returns the general information about the factory.
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 | Factory | None–Union[ErrorResponse, Factory]
Source code in katana_public_api_client/api/factory/get_factory.py
asyncio_detailed(*, client)
async
¶
Retrieve the current factory
Returns the general information about the factory.
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 | Factory]–Response[Union[ErrorResponse, Factory]]
Source code in katana_public_api_client/api/factory/get_factory.py
sync(*, client)
¶
Retrieve the current factory
Returns the general information about the factory.
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 | Factory | None–Union[ErrorResponse, Factory]
Source code in katana_public_api_client/api/factory/get_factory.py
sync_detailed(*, client)
¶
Retrieve the current factory
Returns the general information about the factory.
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 | Factory]–Response[Union[ErrorResponse, Factory]]