Update api spec (#97)

* YOYO NEW API SPEC!

* updates

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

* attempt fix

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

* fix

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

* fix

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

* fix

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-05-26 12:31:24 -07:00
committed by GitHub
parent 65137564cf
commit 74f5be43fa
108 changed files with 2040 additions and 12172 deletions

View File

@ -0,0 +1,23 @@
from enum import Enum
class UnitForce(str, Enum):
"""The valid types of force units.""" # noqa: E501
"""# Dynes <https://en.wikipedia.org/wiki/Dyne> """ # noqa: E501
DYNES = "dynes"
"""# Kiloponds <https://en.wikipedia.org/wiki/Kilopond> """ # noqa: E501
KILOPONDS = "kiloponds"
"""# Micronewtons <https://en.wikipedia.org/wiki/Newton_(unit)> """ # noqa: E501
MICRONEWTONS = "micronewtons"
"""# Millinewtons <https://en.wikipedia.org/wiki/Newton_(unit)> """ # noqa: E501
MILLINEWTONS = "millinewtons"
"""# Newtons <https://en.wikipedia.org/wiki/Newton_(unit)> """ # noqa: E501
NEWTONS = "newtons"
"""# Poundals <https://en.wikipedia.org/wiki/Poundal> """ # noqa: E501
POUNDALS = "poundals"
"""# Pounds <https://en.wikipedia.org/wiki/Pound_(force)> """ # noqa: E501
POUNDS = "pounds"
def __str__(self) -> str:
return str(self.value)