Skip to content

Commit cb58370

Browse files
hohodesenfans
andauthored
Update src/aleph/sdk/utils.py
Co-authored-by: Olivier Desenfans <[email protected]>
1 parent b718fc0 commit cb58370

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aleph/sdk/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def check_unix_socket_valid(unix_socket_path: str) -> bool:
8080

8181

8282
def enum_as_str(obj: Union[str, Enum]) -> str:
83-
"""Returns the value of an Enum, or the string itself when passign a string.
83+
"""Returns the value of an Enum, or the string itself when passing a string.
8484
8585
Python 3.11 adds a new formatting of string enums.
8686
`str(MyEnum.value)` becomes `MyEnum.value` instead of `value`.

0 commit comments

Comments
 (0)