Skip to content

Commit

Permalink
Docs: Correct typehint from format_process_state
Browse files Browse the repository at this point in the history
  • Loading branch information
agoscinski committed Jun 18, 2024
1 parent cd0f9ac commit 0fd591b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aiida/tools/query/formatting.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def format_state(process_state: str, paused: bool | None = None, exit_status: in
return f'{symbol} {format_process_state(process_state)}'


def format_process_state(process_state: str) -> str:
def format_process_state(process_state: str | None) -> str:
"""Return a string formatted representation of the given process state.
:param process_state: The process state.
Expand Down

0 comments on commit 0fd591b

Please sign in to comment.