Skip to content

Commit

Permalink
Update airspeed/operators.py
Browse files Browse the repository at this point in the history
Co-authored-by: Waldemar Hummer <[email protected]>
  • Loading branch information
calvernaz and whummer authored Sep 18, 2023
1 parent 73f4a0a commit d4020a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions airspeed/operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ def dict_put(self, key, value):
return existing


def dict_to_string(self):
return "{" + ", ".join([f"{k}={v}" for k, v in self.items()]) + "}"
def dict_to_string(obj: dict) -> str:
return "{" + ", ".join([f"{k}={v}" for k, v in obj.items()]) + "}"


__additional_methods__ = {
Expand Down

0 comments on commit d4020a7

Please sign in to comment.