Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 9d48c62

Browse files
authored
async is a keyword on 3.7
Fixes #44
1 parent 9a603a3 commit 9d48c62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch_async/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import asyncio
22

3-
ensure_future = getattr(asyncio, 'ensure_future', asyncio.async)
3+
ensure_future = getattr(asyncio, 'ensure_future', getattr(asyncio, 'async'))

0 commit comments

Comments
 (0)