Skip to content

Commit 181e59b

Browse files
more references to new namespaces
1 parent d2275eb commit 181e59b

File tree

6 files changed

+17
-1
lines changed

6 files changed

+17
-1
lines changed

docs/sphinx/api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ arguments are required for all calls.
5050
api/snapshots
5151
api/snapshottable-features
5252
api/sql
53+
api/streams
5354
api/synonyms
5455
api/tls-ssl
5556
api/tasks

docs/sphinx/api/indices.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ Indices
66
:no-index:
77

88
.. autoclass:: IndicesClient
9-
:members:
9+
:members:

docs/sphinx/api/streams.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.. _streams:
2+
3+
Streams
4+
-------
5+
.. py:module:: elasticsearch.client
6+
:no-index:
7+
8+
.. autoclass:: StreamsClient
9+
:members:

elasticsearch/_async/client/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
from .snapshot import SnapshotClient
7676
from .sql import SqlClient
7777
from .ssl import SslClient
78+
from .streams import StreamsClient
7879
from .synonyms import SynonymsClient
7980
from .tasks import TasksClient
8081
from .text_structure import TextStructureClient
@@ -470,6 +471,7 @@ def __init__(
470471
self.shutdown = ShutdownClient(self)
471472
self.sql = SqlClient(self)
472473
self.ssl = SslClient(self)
474+
self.streams = StreamsClient(self)
473475
self.synonyms = SynonymsClient(self)
474476
self.text_structure = TextStructureClient(self)
475477
self.transform = TransformClient(self)

elasticsearch/_sync/client/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
from .snapshot import SnapshotClient
7676
from .sql import SqlClient
7777
from .ssl import SslClient
78+
from .streams import StreamsClient
7879
from .synonyms import SynonymsClient
7980
from .tasks import TasksClient
8081
from .text_structure import TextStructureClient
@@ -470,6 +471,7 @@ def __init__(
470471
self.shutdown = ShutdownClient(self)
471472
self.sql = SqlClient(self)
472473
self.ssl = SslClient(self)
474+
self.streams = StreamsClient(self)
473475
self.synonyms = SynonymsClient(self)
474476
self.text_structure = TextStructureClient(self)
475477
self.transform = TransformClient(self)

elasticsearch/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
from ._sync.client.snapshot import SnapshotClient as SnapshotClient # noqa: F401
6363
from ._sync.client.sql import SqlClient as SqlClient # noqa: F401
6464
from ._sync.client.ssl import SslClient as SslClient # noqa: F401
65+
from ._sync.client.streams import StreamsClient as StreamsClient # noqa: F401
6566
from ._sync.client.synonyms import SynonymsClient as SynonymsClient # noqa: F401
6667
from ._sync.client.tasks import TasksClient as TasksClient # noqa: F401
6768
from ._sync.client.text_structure import ( # noqa: F401
@@ -115,6 +116,7 @@
115116
"SnapshotClient",
116117
"SqlClient",
117118
"SslClient",
119+
"StreamsClient",
118120
"TasksClient",
119121
"TextStructureClient",
120122
"TransformClient",

0 commit comments

Comments
 (0)