Skip to content

Commit c9c58a3

Browse files
streams and project namespaces
1 parent 4a957c4 commit c9c58a3

File tree

4 files changed

+50
-4
lines changed

4 files changed

+50
-4
lines changed

elasticsearch/_async/client/project.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,19 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
class C:
18+
import typing as t
1919

20+
from elastic_transport import ObjectApiResponse
21+
22+
from ._base import NamespacedClient
23+
from .utils import (
24+
Stability,
25+
_rewrite_parameters,
26+
_stability_warning,
27+
)
28+
29+
30+
class StreamsClient(NamespacedClient):
2031
@_rewrite_parameters()
2132
@_stability_warning(Stability.EXPERIMENTAL)
2233
async def tags(

elasticsearch/_async/client/streams.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,20 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
class C:
1918

19+
import typing as t
20+
21+
from elastic_transport import ObjectApiResponse, TextApiResponse
22+
23+
from ._base import NamespacedClient
24+
from .utils import (
25+
Stability,
26+
_rewrite_parameters,
27+
_stability_warning,
28+
)
29+
30+
31+
class StreamsClient(NamespacedClient):
2032
@_rewrite_parameters()
2133
@_stability_warning(Stability.EXPERIMENTAL)
2234
async def logs_disable(

elasticsearch/_sync/client/project.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,19 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
class C:
18+
import typing as t
1919

20+
from elastic_transport import ObjectApiResponse
21+
22+
from ._base import NamespacedClient
23+
from .utils import (
24+
Stability,
25+
_rewrite_parameters,
26+
_stability_warning,
27+
)
28+
29+
30+
class StreamsClient(NamespacedClient):
2031
@_rewrite_parameters()
2132
@_stability_warning(Stability.EXPERIMENTAL)
2233
def tags(

elasticsearch/_sync/client/streams.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,20 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
class C:
1918

19+
import typing as t
20+
21+
from elastic_transport import ObjectApiResponse, TextApiResponse
22+
23+
from ._base import NamespacedClient
24+
from .utils import (
25+
Stability,
26+
_rewrite_parameters,
27+
_stability_warning,
28+
)
29+
30+
31+
class StreamsClient(NamespacedClient):
2032
@_rewrite_parameters()
2133
@_stability_warning(Stability.EXPERIMENTAL)
2234
def logs_disable(

0 commit comments

Comments
 (0)