Skip to content

Commit

Permalink
Removed type hinting to support Python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven committed Nov 12, 2024
1 parent 4966a19 commit 7a44645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gazu/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def delete(path, params=None, client=default_client):
return response.text


def get_message_from_response(response: requests.Request, default_message: str = "No additional information") -> str:
def get_message_from_response(response: requests.Request, default_message: str = "No additional information"):
"""
A utility function that handles Zou's inconsistent message keys.
For a given request, checks if any error messages or regular messages were given and returns their value.
Expand Down

0 comments on commit 7a44645

Please sign in to comment.