[7.x] [DOCS] Add missing comma in async example
This commit is contained in:
@@ -36,7 +36,7 @@ and are used in the same way as other APIs, just with an extra ``await``:
|
|||||||
async def main():
|
async def main():
|
||||||
resp = await es.search(
|
resp = await es.search(
|
||||||
index="documents",
|
index="documents",
|
||||||
body={"query": {"match_all": {}}}
|
body={"query": {"match_all": {}}},
|
||||||
size=20,
|
size=20,
|
||||||
)
|
)
|
||||||
print(resp)
|
print(resp)
|
||||||
|
|||||||
Reference in New Issue
Block a user