forked from opensearch-project/opensearch-py
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reusable async client (opensearch-project#639)
* set aiohttp.ClientSession to None after close() Signed-off-by: odlmarce <[email protected]> * add test Signed-off-by: odlmarce <[email protected]> * update changelog Signed-off-by: odlmarce <[email protected]> * update changelog + format Signed-off-by: odlmarce <[email protected]> * update changelog Signed-off-by: odlmarce <[email protected]> * add tests using `with` and synchronous client Signed-off-by: odlmarce <[email protected]> * fix `urllib3.exceptions.ClosedPoolError` breaking synchronous client after `close` Signed-off-by: odlmarce <[email protected]> * update changelog Signed-off-by: odlmarce <[email protected]> * separate tests Signed-off-by: odlmarce <[email protected]> * refactor pool factory as lambda Signed-off-by: odlmarce <[email protected]> --------- Signed-off-by: odlmarce <[email protected]>
- Loading branch information
1 parent
7b0b58d
commit 3eba72c
Showing
6 changed files
with
39 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters