Skip to content

Commit

Permalink
post_json_api: fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
bfontaine committed Dec 8, 2023
1 parent cfe8203 commit 38506a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# api-session Changelog

## Unreleased

* `post_json_api`: fix docstring

## 1.3.5 (2023/11/15)

* Add `max_retries` to the constructor
Expand Down
2 changes: 1 addition & 1 deletion api_session/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def post_api(self, path: str, *args, throw: Optional[bool] = None, **kwargs):

def post_json_api(self, path: str, *args, throw=True, **kwargs):
"""
Equivalent of ``.get_api()`` that parses a JSON response.
Equivalent of ``.post_api()`` that parses a JSON response.
:param path: URL path. This must start with a slash
:param throw: if True, throw an exception on error. The default is ``True``, because in the case in which the
Expand Down

0 comments on commit 38506a2

Please sign in to comment.