from enum import Enum class UnitVolume(str, Enum): """The valid types of volume units.""" # noqa: E501 """# Cubic centimeters (cc or cm³) """ # noqa: E501 CUBIC_CENTIMETRES = "cubic_centimetres" """# Cubic feet (ft³) """ # noqa: E501 CUBIC_FEET = "cubic_feet" """# Cubic inches (cu in or in³) """ # noqa: E501 CUBIC_INCHES = "cubic_inches" """# Cubic metres (m³) """ # noqa: E501 CUBIC_METRES = "cubic_metres" """# Cubic yards (yd³) """ # noqa: E501 CUBIC_YARDS = "cubic_yards" """# Cups """ # noqa: E501 CUPS = "cups" """# Drams """ # noqa: E501 DRAMS = "drams" """# Drops """ # noqa: E501 DROPS = "drops" """# US Fluid Ounces (fl oz) """ # noqa: E501 FLUID_OUNCES = "fluid_ounces" """# UK Fluid Ounces (fl oz) """ # noqa: E501 FLUID_OUNCES_UK = "fluid_ounces_uk" """# US Gallons (gal US) """ # noqa: E501 GALLONS = "gallons" """# UK/Imperial Gallons (gal) """ # noqa: E501 GALLONS_UK = "gallons_uk" """# Liters (l) """ # noqa: E501 LITRES = "litres" """# Milliliters (ml) """ # noqa: E501 MILLILITRES = "millilitres" """# Pints """ # noqa: E501 PINTS = "pints" """# Pints in the United Kingdom (UK) """ # noqa: E501 PINTS_UK = "pints_uk" """# Quarts """ # noqa: E501 QUARTS = "quarts" """# Tablespoons (tbsp) """ # noqa: E501 TABLESPOONS = "tablespoons" """# Teaspoons (tsp) """ # noqa: E501 TEASPOONS = "teaspoons" def __str__(self) -> str: return str(self.value)