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,17 @@
from enum import Enum
class UnitCurrent(str, Enum):
"""The valid types of current units.""" # noqa: E501
"""# Amperes <https://en.wikipedia.org/wiki/Ampere> """ # noqa: E501
AMPERES = "amperes"
"""# Microamperes <https://en.wikipedia.org/wiki/Microampere> """ # noqa: E501
MICROAMPERES = "microamperes"
"""# Milliamperes <https://en.wikipedia.org/wiki/Milliampere> """ # noqa: E501
MILLIAMPERES = "milliamperes"
"""# Nanoamperes <https://en.wikipedia.org/wiki/Nanoampere> """ # noqa: E501
NANOAMPERES = "nanoamperes"
def __str__(self) -> str:
return str(self.value)