katana_public_api_client.api.variant.get_variant¶
katana_public_api_client.api.variant.get_variant
¶
Classes¶
Functions¶
asyncio(id, *, client, extend=UNSET)
async
¶
Retrieve a variant
Retrieves the details of an existing variant 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 | VariantResponse | None–Union[ErrorResponse, VariantResponse]
Source code in katana_public_api_client/api/variant/get_variant.py
asyncio_detailed(id, *, client, extend=UNSET)
async
¶
Retrieve a variant
Retrieves the details of an existing variant 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 | VariantResponse]–Response[Union[ErrorResponse, VariantResponse]]
Source code in katana_public_api_client/api/variant/get_variant.py
sync(id, *, client, extend=UNSET)
¶
Retrieve a variant
Retrieves the details of an existing variant 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 | VariantResponse | None–Union[ErrorResponse, VariantResponse]
Source code in katana_public_api_client/api/variant/get_variant.py
sync_detailed(id, *, client, extend=UNSET)
¶
Retrieve a variant
Retrieves the details of an existing variant 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 | VariantResponse]–Response[Union[ErrorResponse, VariantResponse]]