Skip to content

Commit 8a97cc1

Browse files
Make helpers examples runnable (#2483)
Co-authored-by: Quentin Pradet <[email protected]>
1 parent 794341d commit 8a97cc1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/sphinx/helpers.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ Helpers
55

66
Collection of simple helper functions that abstract some specifics of the raw API.
77

8+
Connecting
9+
----------
10+
11+
.. code-block:: python
12+
13+
from elasticsearch import Elasticsearch
14+
15+
client = Elasticsearch("https://.../", api_key="YOUR_API_KEY")
16+
817
918
Bulk helpers
1019
------------

0 commit comments

Comments
 (0)