Fixed lint error. (#875)

Signed-off-by: Alex Loyko <alex.loyko96@gmail.com>
This commit is contained in:
Oleksandr Loyko
2024-12-21 08:39:12 -05:00
committed by GitHub
parent 9777ebe4f8
commit 4091816f84
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -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
+1 -1
View File
@@ -386,4 +386,4 @@ class OpenSearchClientResponse(aiohttp.ClientResponse): # type: ignore
if self._body is None:
await self.read()
return self._body.decode("utf-8", "surrogatepass") # type: ignore
return self._body.decode("utf-8", "surrogatepass")
+1 -1
View File
@@ -298,4 +298,4 @@ class OpenSearchClientResponse(aiohttp.ClientResponse): # type: ignore
if self._body is None:
await self.read()
return self._body.decode("utf-8", "surrogatepass") # type: ignore
return self._body.decode("utf-8", "surrogatepass")