* YOYO NEW API SPEC! * fixups Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates 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>
16 lines
409 B
Python
16 lines
409 B
Python
from enum import Enum
|
|
|
|
|
|
class CodeLanguage(str, Enum):
|
|
"""The language code is written in.""" # noqa: E501
|
|
|
|
"""# The `go` programming language. """ # noqa: E501
|
|
GO = "go"
|
|
"""# The `python` programming language. """ # noqa: E501
|
|
PYTHON = "python"
|
|
"""# The `node` programming language. """ # noqa: E501
|
|
NODE = "node"
|
|
|
|
def __str__(self) -> str:
|
|
return str(self.value)
|