Skip to content

Commit

Permalink
docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravencentric committed Mar 23, 2024
1 parent acc35ce commit cac2bef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
10 changes: 4 additions & 6 deletions src/pyanilist/_clients/_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,8 @@ async def search(
------
ValidationError
Invalid input
pyanilist._exceptions.*
Any exception from the pyanilist._exceptions module may be raised
in case of errors encountered during the POST request.
HTTPStatusError
Anilist returned a non 2xx response.
Returns
-------
Expand Down Expand Up @@ -231,9 +230,8 @@ async def get(self, id: AnilistID) -> Media:
------
ValidationError
Invalid input
pyanilist._exceptions.*
Any exception from the pyanilist._exceptions module may be raised
in case of errors encountered during the POST request.
HTTPStatusError
Anilist returned a non 2xx response.
Returns
-------
Expand Down
10 changes: 4 additions & 6 deletions src/pyanilist/_clients/_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,8 @@ def search(
------
ValidationError
Invalid input
pyanilist._exceptions.*
Any exception from the pyanilist._exceptions module may be raised
in case of errors encountered during the POST request.
HTTPStatusError
Anilist returned a non 2xx response.
Returns
-------
Expand Down Expand Up @@ -230,9 +229,8 @@ def get(self, id: AnilistID) -> Media:
------
ValidationError
Invalid input
pyanilist._exceptions.*
Any exception from the pyanilist._exceptions module may be raised
in case of errors encountered during the POST request.
HTTPStatusError
Anilist returned a non 2xx response.
Returns
-------
Expand Down

0 comments on commit cac2bef

Please sign in to comment.