Files
kittycad.py/kittycad/models/unit_volume.py
Jess Frazelle 4c3f497d73 Fixes (#115)
* regenerate

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes and cleanup

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* I have generated the latest API!

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-31 12:50:30 -07:00

28 lines
1.1 KiB
Python

from enum import Enum
class UnitVolume(str, Enum):
"""The valid types of volume units.""" # noqa: E501
"""# Cubic centimetres (cc or cm³) <https://en.wikipedia.org/wiki/Cubic_centimetre> """ # noqa: E501
CM3 = "cm3"
"""# Cubic feet (ft³) <https://en.wikipedia.org/wiki/Cubic_foot> """ # noqa: E501
FT3 = "ft3"
"""# Cubic inches (cu in or in³) <https://en.wikipedia.org/wiki/Cubic_inch> """ # noqa: E501
IN3 = "in3"
"""# Cubic metres (m³) <https://en.wikipedia.org/wiki/Cubic_metre> """ # noqa: E501
M3 = "m3"
"""# Cubic yards (yd³) <https://en.wikipedia.org/wiki/Cubic_yard> """ # noqa: E501
YD3 = "yd3"
"""# US Fluid Ounces (fl oz) <https://en.wikipedia.org/wiki/Fluid_ounce> """ # noqa: E501
USFLOZ = "usfloz"
"""# US Gallons (gal US) <https://en.wikipedia.org/wiki/Gallon> """ # noqa: E501
USGAL = "usgal"
"""# Liters (l) <https://en.wikipedia.org/wiki/Litre> """ # noqa: E501
L = "l"
"""# Milliliters (ml) <https://en.wikipedia.org/wiki/Litre> """ # noqa: E501
ML = "ml"
def __str__(self) -> str:
return str(self.value)