Skip to content

Commit

Permalink
Fixed lint error. (#875)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Loyko <alex.loyko96@gmail.com>
  • Loading branch information
AlexLoyko authored Dec 21, 2024
1 parent 9777ebe commit 4091816
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion opensearchpy/_async/http_aiohttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
2 changes: 1 addition & 1 deletion opensearchpy/connection/http_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

0 comments on commit 4091816

Please sign in to comment.