Skip to content

Commit

Permalink
Merge pull request #343 from stevenpince/master
Browse files Browse the repository at this point in the history
More type hint removal for python 2.7
  • Loading branch information
EvanBldy authored Nov 12, 2024
2 parents 8ccf884 + 618a298 commit 265615a
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"):
def get_message_from_response(response, default_message="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 265615a

Please sign in to comment.