Skip to content

Commit

Permalink
fix: pylint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kreczko committed Oct 15, 2024
1 parent 8af41f4 commit 1415cb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/fasthep_flow/operators/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class ResultType:
exit_code: int

def to_dict(self) -> dict[str, Any]:
"""Convert the ResultType to a dictionary."""
return {
"result": self.result,
"stdout": self.stdout,
Expand Down
2 changes: 2 additions & 0 deletions src/fasthep_flow/operators/py_call.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@


class PythonOperator(Operator):
"""A Python operator. This operator wraps a Python callable."""

python_callable: Callable[..., Any]
arguments: list[Any]

Expand Down

0 comments on commit 1415cb4

Please sign in to comment.