from enum import Enum class UnitVolume(str, Enum): """ The valid types of volume units. """ # noqa: E501 """# Cubic centimeters (cc or cm³) """ # noqa: E501 CM3 = 'cm3' """# Cubic feet (ft³) """ # noqa: E501 FT3 = 'ft3' """# Cubic inches (cu in or in³) """ # noqa: E501 IN3 = 'in3' """# Cubic meters (m³) """ # noqa: E501 M3 = 'm3' """# Cubic yards (yd³) """ # noqa: E501 YD3 = 'yd3' """# US Fluid Ounces (fl oz) """ # noqa: E501 USFLOZ = 'usfloz' """# US Gallons (gal US) """ # noqa: E501 USGAL = 'usgal' """# Liters (l) """ # noqa: E501 L = 'l' """# Milliliters (ml) """ # noqa: E501 ML = 'ml' def __str__(self) -> str: return str(self.value)