Open dblock opened 1 year ago
In https://github.com/opensearch-project/opensearch-py/pull/594 I had to put back code that relies on errors for importing the async client. If iohttp is not available, an exception is raised and the async client is not imported.
iohttp
A more reliable way to check for iohttp. There could be other errors during loading which are currently being lumped together. This potentially hides real bugs.
Do nothing.
Is your feature request related to a problem?
In https://github.com/opensearch-project/opensearch-py/pull/594 I had to put back code that relies on errors for importing the async client. If
iohttp
is not available, an exception is raised and the async client is not imported.What solution would you like?
A more reliable way to check for iohttp. There could be other errors during loading which are currently being lumped together. This potentially hides real bugs.
What alternatives have you considered?
Do nothing.