We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b718fc0 commit cb58370Copy full SHA for cb58370
src/aleph/sdk/utils.py
@@ -80,7 +80,7 @@ def check_unix_socket_valid(unix_socket_path: str) -> bool:
80
81
82
def enum_as_str(obj: Union[str, Enum]) -> str:
83
- """Returns the value of an Enum, or the string itself when passign a string.
+ """Returns the value of an Enum, or the string itself when passing a string.
84
85
Python 3.11 adds a new formatting of string enums.
86
`str(MyEnum.value)` becomes `MyEnum.value` instead of `value`.
0 commit comments