from enum import Enum class UnitMassFormat(str, Enum): """The valid types of mass unit formats.""" # noqa: E501 """# """ # noqa: E501 GRAM = "gram" """# """ # noqa: E501 KILOGRAM = "kilogram" """# """ # noqa: E501 METRIC_TON = "metric_ton" """# """ # noqa: E501 POUND = "pound" """# """ # noqa: E501 LONG_TON = "long_ton" """# """ # noqa: E501 SHORT_TON = "short_ton" """# """ # noqa: E501 STONE = "stone" """# """ # noqa: E501 OUNCE = "ounce" """# """ # noqa: E501 CARAT = "carat" """# """ # noqa: E501 SLUG = "slug" def __str__(self) -> str: return str(self.value)