kittycad.api.unit.get_power_unit_conversion

Functions

asyncio(input_unit, output_unit, value, *, ...)

Convert a power unit value to another power unit value.

asyncio_detailed(input_unit, output_unit, ...)

rtype:

Response[Union[UnitPowerConversion, Error, None]]

sync(input_unit, output_unit, value, *, client)

Convert a power unit value to another power unit value.

sync_detailed(input_unit, output_unit, ...)

rtype:

Response[Union[UnitPowerConversion, Error, None]]

kittycad.api.unit.get_power_unit_conversion._build_response(*, response)[source][source]
Return type:

Response[Union[UnitPowerConversion, Error, None]]

kittycad.api.unit.get_power_unit_conversion._get_kwargs(input_unit, output_unit, value, *, client)[source][source]
Return type:

Dict[str, Any]

kittycad.api.unit.get_power_unit_conversion._parse_response(*, response)[source][source]
Return type:

Union[UnitPowerConversion, Error, None]

async kittycad.api.unit.get_power_unit_conversion.asyncio(input_unit, output_unit, value, *, client)[source][source]

Convert a power unit value to another power unit value. This is a nice endpoint to use for helper functions.

Return type:

Union[UnitPowerConversion, Error, None]

async kittycad.api.unit.get_power_unit_conversion.asyncio_detailed(input_unit, output_unit, value, *, client)[source][source]
Return type:

Response[Union[UnitPowerConversion, Error, None]]

kittycad.api.unit.get_power_unit_conversion.sync(input_unit, output_unit, value, *, client)[source][source]

Convert a power unit value to another power unit value. This is a nice endpoint to use for helper functions.

Return type:

Union[UnitPowerConversion, Error, None]

kittycad.api.unit.get_power_unit_conversion.sync_detailed(input_unit, output_unit, value, *, client)[source][source]
Return type:

Response[Union[UnitPowerConversion, Error, None]]