Skip to content

Commit 9af86cd

Browse files
more references to new namespaces
1 parent ccf1d2d commit 9af86cd

File tree

9 files changed

+35
-3
lines changed

9 files changed

+35
-3
lines changed

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/project.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.. _project:
2+
3+
Project
4+
-------
5+
.. py:module:: elasticsearch.client
6+
:no-index:
7+
8+
.. autoclass:: ProjectClient
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:

docs/sphinx/es_api.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ arguments are required for all calls.
3939
api/ml
4040
api/monitoring
4141
api/nodes
42+
api/project
4243
api/query-rules
4344
api/rollup-indices
4445
api/search-application
@@ -50,6 +51,7 @@ arguments are required for all calls.
5051
api/snapshots
5152
api/snapshottable-features
5253
api/sql
54+
api/streams
5355
api/synonyms
5456
api/tls-ssl
5557
api/tasks

elasticsearch/_async/client/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
from .ml import MlClient
6464
from .monitoring import MonitoringClient
6565
from .nodes import NodesClient
66+
from .project import ProjectClient
6667
from .query_rules import QueryRulesClient
6768
from .rollup import RollupClient
6869
from .search_application import SearchApplicationClient
@@ -74,6 +75,7 @@
7475
from .snapshot import SnapshotClient
7576
from .sql import SqlClient
7677
from .ssl import SslClient
78+
from .streams import StreamsClient
7779
from .synonyms import SynonymsClient
7880
from .tasks import TasksClient
7981
from .text_structure import TextStructureClient
@@ -368,6 +370,7 @@ def __init__(
368370
self.migration = MigrationClient(self)
369371
self.ml = MlClient(self)
370372
self.monitoring = MonitoringClient(self)
373+
self.project = ProjectClient(self)
371374
self.query_rules = QueryRulesClient(self)
372375
self.rollup = RollupClient(self)
373376
self.search_application = SearchApplicationClient(self)
@@ -378,6 +381,7 @@ def __init__(
378381
self.shutdown = ShutdownClient(self)
379382
self.sql = SqlClient(self)
380383
self.ssl = SslClient(self)
384+
self.streams = StreamsClient(self)
381385
self.synonyms = SynonymsClient(self)
382386
self.text_structure = TextStructureClient(self)
383387
self.transform = TransformClient(self)

elasticsearch/_async/client/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
)
2828

2929

30-
class StreamsClient(NamespacedClient):
30+
class ProjectClient(NamespacedClient):
3131

3232
@_rewrite_parameters()
3333
@_stability_warning(Stability.EXPERIMENTAL)

elasticsearch/_sync/client/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
from .ml import MlClient
6464
from .monitoring import MonitoringClient
6565
from .nodes import NodesClient
66+
from .project import ProjectClient
6667
from .query_rules import QueryRulesClient
6768
from .rollup import RollupClient
6869
from .search_application import SearchApplicationClient
@@ -74,6 +75,7 @@
7475
from .snapshot import SnapshotClient
7576
from .sql import SqlClient
7677
from .ssl import SslClient
78+
from .streams import StreamsClient
7779
from .synonyms import SynonymsClient
7880
from .tasks import TasksClient
7981
from .text_structure import TextStructureClient
@@ -368,6 +370,7 @@ def __init__(
368370
self.migration = MigrationClient(self)
369371
self.ml = MlClient(self)
370372
self.monitoring = MonitoringClient(self)
373+
self.project = ProjectClient(self)
371374
self.query_rules = QueryRulesClient(self)
372375
self.rollup = RollupClient(self)
373376
self.search_application = SearchApplicationClient(self)
@@ -378,6 +381,7 @@ def __init__(
378381
self.shutdown = ShutdownClient(self)
379382
self.sql = SqlClient(self)
380383
self.ssl = SslClient(self)
384+
self.streams = StreamsClient(self)
381385
self.synonyms = SynonymsClient(self)
382386
self.text_structure = TextStructureClient(self)
383387
self.transform = TransformClient(self)

elasticsearch/_sync/client/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
)
2828

2929

30-
class StreamsClient(NamespacedClient):
30+
class ProjectClient(NamespacedClient):
3131

3232
@_rewrite_parameters()
3333
@_stability_warning(Stability.EXPERIMENTAL)

elasticsearch/client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
from ._sync.client.ml import MlClient as MlClient # noqa: F401
4848
from ._sync.client.monitoring import MonitoringClient as MonitoringClient # noqa: F401
4949
from ._sync.client.nodes import NodesClient as NodesClient # noqa: F401
50+
from ._sync.client.project import ProjectClient as ProjectClient # noqa: F401
5051
from ._sync.client.query_rules import QueryRulesClient as QueryRulesClient # noqa: F401
5152
from ._sync.client.rollup import RollupClient as RollupClient # noqa: F401
5253
from ._sync.client.search_application import ( # noqa: F401
@@ -62,6 +63,7 @@
6263
from ._sync.client.snapshot import SnapshotClient as SnapshotClient # noqa: F401
6364
from ._sync.client.sql import SqlClient as SqlClient # noqa: F401
6465
from ._sync.client.ssl import SslClient as SslClient # noqa: F401
66+
from ._sync.client.streams import StreamsClient as StreamsClient # noqa: F401
6567
from ._sync.client.synonyms import SynonymsClient as SynonymsClient # noqa: F401
6668
from ._sync.client.tasks import TasksClient as TasksClient # noqa: F401
6769
from ._sync.client.text_structure import ( # noqa: F401
@@ -105,6 +107,7 @@
105107
"MlClient",
106108
"MonitoringClient",
107109
"NodesClient",
110+
"ProjectClient",
108111
"RollupClient",
109112
"SearchApplicationClient",
110113
"SearchableSnapshotsClient",
@@ -115,6 +118,7 @@
115118
"SnapshotClient",
116119
"SqlClient",
117120
"SslClient",
121+
"StreamsClient",
118122
"TasksClient",
119123
"TextStructureClient",
120124
"TransformClient",

0 commit comments

Comments
 (0)