Update api spec (#162)

* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Jess Frazelle
2023-11-27 16:01:20 -08:00
committed by GitHub
parent 4f29f55190
commit 6b2fe3decb
287 changed files with 22901 additions and 24513 deletions

View File

@ -2,23 +2,24 @@ from enum import Enum
class UnitFrequency(str, Enum):
""" The valid types of frequency units. """ # noqa: E501
"""# Gigahertz <https://en.wikipedia.org/wiki/Hertz> """ # noqa: E501
GIGAHERTZ = 'gigahertz'
"""# Hertz <https://en.wikipedia.org/wiki/Hertz> """ # noqa: E501
HERTZ = 'hertz'
"""# Kilohertz <https://en.wikipedia.org/wiki/Hertz> """ # noqa: E501
KILOHERTZ = 'kilohertz'
"""# Megahertz <https://en.wikipedia.org/wiki/Hertz> """ # noqa: E501
MEGAHERTZ = 'megahertz'
"""# Microhertz <https://en.wikipedia.org/wiki/Hertz> """ # noqa: E501
MICROHERTZ = 'microhertz'
"""# Millihertz <https://en.wikipedia.org/wiki/Hertz> """ # noqa: E501
MILLIHERTZ = 'millihertz'
"""# Nanohertz <https://en.wikipedia.org/wiki/Hertz> """ # noqa: E501
NANOHERTZ = 'nanohertz'
"""# Terahertz <https://en.wikipedia.org/wiki/Hertz> """ # noqa: E501
TERAHERTZ = 'terahertz'
"""The valid types of frequency units.""" # noqa: E501
def __str__(self) -> str:
return str(self.value)
"""# Gigahertz <https://en.wikipedia.org/wiki/Hertz> """ # noqa: E501
GIGAHERTZ = "gigahertz"
"""# Hertz <https://en.wikipedia.org/wiki/Hertz> """ # noqa: E501
HERTZ = "hertz"
"""# Kilohertz <https://en.wikipedia.org/wiki/Hertz> """ # noqa: E501
KILOHERTZ = "kilohertz"
"""# Megahertz <https://en.wikipedia.org/wiki/Hertz> """ # noqa: E501
MEGAHERTZ = "megahertz"
"""# Microhertz <https://en.wikipedia.org/wiki/Hertz> """ # noqa: E501
MICROHERTZ = "microhertz"
"""# Millihertz <https://en.wikipedia.org/wiki/Hertz> """ # noqa: E501
MILLIHERTZ = "millihertz"
"""# Nanohertz <https://en.wikipedia.org/wiki/Hertz> """ # noqa: E501
NANOHERTZ = "nanohertz"
"""# Terahertz <https://en.wikipedia.org/wiki/Hertz> """ # noqa: E501
TERAHERTZ = "terahertz"
def __str__(self) -> str:
return str(self.value)