Skip to content

Commit e0c4df0

Browse files
committed
Update API generator for async
1 parent a549a2d commit e0c4df0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+9091
-66
lines changed

dev-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ black; python_version>="3.6"
1818
# Requirements for testing [async] extra
1919
aiohttp; python_version>="3.6"
2020
pytest-asyncio; python_version>="3.6"
21+
unasync; python_version>="3.6"

elasticsearch/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@
7373

7474
from ._async.http_aiohttp import AIOHttpConnection
7575
from ._async.transport import AsyncTransport
76+
from ._async.client import AsyncElasticsearch
7677

77-
__all__ += ["AIOHttpConnection", "AsyncTransport"]
78+
__all__ += ["AIOHttpConnection", "AsyncTransport", "AsyncElasticsearch"]
7879
except (ImportError, SyntaxError):
7980
pass

0 commit comments

Comments
 (0)