We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86b4bb1 commit e5cedffCopy full SHA for e5cedff
elasticsearch_async/helpers.py
@@ -1,3 +1,4 @@
1
import asyncio
2
3
-ensure_future = getattr(asyncio, 'ensure_future', asyncio.async)
+ensure_future = (getattr(asyncio, 'ensure_future', None) or
4
+ getattr(asyncio, 'async', None))
0 commit comments