We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c67a86f commit f990322Copy full SHA for f990322
docs/sphinx/conf.py
@@ -44,6 +44,8 @@ def add_client_usage_example(app, what, name, obj, options, lines):
44
" :class:`~elasticsearch.Elasticsearch` client. For example::"
45
)
46
lines.append("")
47
+ lines.append(" from elasticsearch import Elasticsearch")
48
+ lines.append("")
49
lines.append(" # Create the client instance")
50
lines.append(" client = Elasticsearch(...)")
51
lines.append(f" # Use the {sub_client_name} client")
0 commit comments