* 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>
This commit is contained in:
Jess Frazelle
2023-07-31 12:50:30 -07:00
committed by GitHub
parent d678182dcf
commit 4c3f497d73
141 changed files with 1432 additions and 566 deletions

View File

@ -5,31 +5,17 @@ class UnitLength(str, Enum):
"""The valid types of length units.""" # noqa: E501
"""# Centimetres <https://en.wikipedia.org/wiki/Centimetre> """ # noqa: E501
CENTIMETRES = "centimetres"
"""# Decimetres <https://en.wikipedia.org/wiki/Decimetre> """ # noqa: E501
DECIMETRES = "decimetres"
CM = "cm"
"""# Feet <https://en.wikipedia.org/wiki/Foot_(unit)> """ # noqa: E501
FEET = "feet"
"""# Furlongs <https://en.wikipedia.org/wiki/Furlong> """ # noqa: E501
FURLONGS = "furlongs"
"""# Hectometres <https://en.wikipedia.org/wiki/Hectometre> """ # noqa: E501
HECTOMETRES = "hectometres"
FT = "ft"
"""# Inches <https://en.wikipedia.org/wiki/Inch> """ # noqa: E501
INCHES = "inches"
"""# Kilometres <https://en.wikipedia.org/wiki/Kilometre> """ # noqa: E501
KILOMETRES = "kilometres"
IN = "in"
"""# Metres <https://en.wikipedia.org/wiki/Metre> """ # noqa: E501
METRES = "metres"
"""# Micrometres <https://en.wikipedia.org/wiki/Micrometre> """ # noqa: E501
MICROMETRES = "micrometres"
"""# Miles <https://en.wikipedia.org/wiki/Mile> """ # noqa: E501
MILES = "miles"
M = "m"
"""# Millimetres <https://en.wikipedia.org/wiki/Millimetre> """ # noqa: E501
MILLIMETRES = "millimetres"
"""# Nanometres <https://en.wikipedia.org/wiki/Nanometre> """ # noqa: E501
NANOMETRES = "nanometres"
MM = "mm"
"""# Yards <https://en.wikipedia.org/wiki/Yard> """ # noqa: E501
YARDS = "yards"
YD = "yd"
def __str__(self) -> str:
return str(self.value)