Fixed lint error. (#875)
Signed-off-by: Alex Loyko <alex.loyko96@gmail.com>
This commit is contained in:
@@ -9,6 +9,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|||||||
### Changed
|
### 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 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))
|
- 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
|
### Deprecated
|
||||||
### Removed
|
### Removed
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -386,4 +386,4 @@ class OpenSearchClientResponse(aiohttp.ClientResponse): # type: ignore
|
|||||||
if self._body is None:
|
if self._body is None:
|
||||||
await self.read()
|
await self.read()
|
||||||
|
|
||||||
return self._body.decode("utf-8", "surrogatepass") # type: ignore
|
return self._body.decode("utf-8", "surrogatepass")
|
||||||
|
|||||||
@@ -298,4 +298,4 @@ class OpenSearchClientResponse(aiohttp.ClientResponse): # type: ignore
|
|||||||
if self._body is None:
|
if self._body is None:
|
||||||
await self.read()
|
await self.read()
|
||||||
|
|
||||||
return self._body.decode("utf-8", "surrogatepass") # type: ignore
|
return self._body.decode("utf-8", "surrogatepass")
|
||||||
|
|||||||
Reference in New Issue
Block a user