katana_public_api_client.api.services.get_service¶
katana_public_api_client.api.services.get_service
¶
Classes¶
Functions¶
asyncio(id, *, client)
async
¶
Get Service
Retrieve a single Service by its ID. (See: Get Service)
Parameters:
-
id(int) –
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:
-
Any | ErrorResponse | Service | None–Union[Any, ErrorResponse, Service]
Source code in katana_public_api_client/api/services/get_service.py
asyncio_detailed(id, *, client)
async
¶
Get Service
Retrieve a single Service by its ID. (See: Get Service)
Parameters:
-
id(int) –
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[Any | ErrorResponse | Service]–Response[Union[Any, ErrorResponse, Service]]
Source code in katana_public_api_client/api/services/get_service.py
sync(id, *, client)
¶
Get Service
Retrieve a single Service by its ID. (See: Get Service)
Parameters:
-
id(int) –
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:
-
Any | ErrorResponse | Service | None–Union[Any, ErrorResponse, Service]
Source code in katana_public_api_client/api/services/get_service.py
sync_detailed(id, *, client)
¶
Get Service
Retrieve a single Service by its ID. (See: Get Service)
Parameters:
-
id(int) –
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[Any | ErrorResponse | Service]–Response[Union[Any, ErrorResponse, Service]]