diff options
author | 2022-06-26 19:23:46 +0400 | |
---|---|---|
committer | 2022-06-26 20:17:26 +0400 | |
commit | f17f947006ae55f3baca2eeec7ce804dbfdac238 (patch) | |
tree | 7fccd43d33013ae9a4d18093a6fb04708f5aa9c0 /botcore | |
parent | Fix Docstring For Role Change Wrapper Util (diff) |
Fix Incorrect Typehints & Docstrings
Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'botcore')
-rw-r--r-- | botcore/site_api.py | 2 | ||||
-rw-r--r-- | botcore/utils/scheduling.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/botcore/site_api.py b/botcore/site_api.py index dbdf4f3b..d3a58b9c 100644 --- a/botcore/site_api.py +++ b/botcore/site_api.py @@ -26,7 +26,7 @@ class ResponseCodeError(ValueError): Args: response (:obj:`aiohttp.ClientResponse`): The response object from the request. response_json: The JSON response returned from the request, if any. - request_text: The text of the request, if any. + response_text: The text of the request, if any. """ self.status = response.status self.response_json = response_json or {} diff --git a/botcore/utils/scheduling.py b/botcore/utils/scheduling.py index 164f6b10..d9c3937a 100644 --- a/botcore/utils/scheduling.py +++ b/botcore/utils/scheduling.py @@ -209,7 +209,7 @@ class Scheduler: def create_task( - coro: typing.Awaitable, + coro: typing.Coroutine, *, suppressed_exceptions: tuple[typing.Type[Exception]] = (), event_loop: typing.Optional[asyncio.AbstractEventLoop] = None, |