Small fixes to docstrings

This commit is contained in:
nocturn9x 2021-10-18 14:50:54 +02:00
parent 7b741b3615
commit c2d8a9dca5
1 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,7 @@ async def send_request(
it all extra positional and keyword arguments
:type method: str
:return: A response object if the request succeeds or an exception if it
the it fails entirely
it fails entirely
:raises ValueError: If the given method does not exist or is invalid
:raises TypeError: If method is not a string (checked via isinstance())
"""
@ -76,6 +76,7 @@ def check_response(
:type value: Union[httpx.Response, httpx.RequestError]
:param verbose: The value of arguments.verbose inside main(), defaults to False
:type verbose: bool, optional
:return: True if the application should exit (error occurred), false otherwise
"""
if isinstance(value, httpx.RequestError):