Skip to content

Commit 98fb371

Browse files
[Backport 8.13] Make helpers examples runnable (#2498)
Co-authored-by: Quentin Pradet <[email protected]> (cherry picked from commit 8a97cc1) Co-authored-by: Iulia Feroli <[email protected]>
1 parent d8ed032 commit 98fb371

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)