diff --git a/CHANGELOG.md b/CHANGELOG.md index 129711b2..f62a9669 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Changed - Small refactor of AWS Signer classes for both sync and async clients ([866](https://github.com/opensearch-project/opensearch-py/pull/866)) - Small refactor to fix overwriting the module files when generating apis ([874](https://github.com/opensearch-project/opensearch-py/pull/874)) +- Fixed a "type ignore" lint error ### Deprecated ### Removed ### Fixed diff --git a/opensearchpy/_async/http_aiohttp.py b/opensearchpy/_async/http_aiohttp.py index 1de47634..a3c98c1a 100644 --- a/opensearchpy/_async/http_aiohttp.py +++ b/opensearchpy/_async/http_aiohttp.py @@ -386,4 +386,4 @@ async def text(self, encoding: Any = None, errors: str = "strict") -> Any: if self._body is None: await self.read() - return self._body.decode("utf-8", "surrogatepass") # type: ignore + return self._body.decode("utf-8", "surrogatepass") diff --git a/opensearchpy/connection/http_async.py b/opensearchpy/connection/http_async.py index 7fb69093..0f3f8004 100644 --- a/opensearchpy/connection/http_async.py +++ b/opensearchpy/connection/http_async.py @@ -298,4 +298,4 @@ async def text(self, encoding: Any = None, errors: str = "strict") -> Any: if self._body is None: await self.read() - return self._body.decode("utf-8", "surrogatepass") # type: ignore + return self._body.decode("utf-8", "surrogatepass")