Skip to content

Commit

Permalink
Merge pull request #342 from stevenpince/master
Browse files Browse the repository at this point in the history
Removed type hinting to support Python 2.7
frankrousseau authored Nov 12, 2024

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
2 parents 4966a19 + 7a44645 commit 8ccf884
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
@@ -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.

0 comments on commit 8ccf884

Please sign in to comment.