Skip to content

Commit 7b741fb

Browse files
authored
Add ndjson logic for 'fleet.msearch' API
1 parent 20efd21 commit 7b741fb

File tree

4 files changed

+24
-4
lines changed

4 files changed

+24
-4
lines changed

elasticsearch/_async/client/fleet.py

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

18-
from .utils import SKIP_IN_PATH, NamespacedClient, _make_path, query_params
18+
from .utils import SKIP_IN_PATH, NamespacedClient, _bulk_body, _make_path, query_params
1919

2020

2121
class FleetClient(NamespacedClient):

elasticsearch/_async/client/fleet.pyi

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

18-
from typing import Any, Collection, Dict, MutableMapping, Optional, Tuple, Union
18+
from typing import (
19+
Any,
20+
Collection,
21+
Dict,
22+
Mapping,
23+
MutableMapping,
24+
Optional,
25+
Sequence,
26+
Tuple,
27+
Union,
28+
)
1929

2030
from .utils import NamespacedClient
2131

elasticsearch/client/fleet.py

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

18-
from .utils import SKIP_IN_PATH, NamespacedClient, _make_path, query_params
18+
from .utils import SKIP_IN_PATH, NamespacedClient, _bulk_body, _make_path, query_params
1919

2020

2121
class FleetClient(NamespacedClient):

elasticsearch/client/fleet.pyi

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

18-
from typing import Any, Collection, Dict, MutableMapping, Optional, Tuple, Union
18+
from typing import (
19+
Any,
20+
Collection,
21+
Dict,
22+
Mapping,
23+
MutableMapping,
24+
Optional,
25+
Sequence,
26+
Tuple,
27+
Union,
28+
)
1929

2030
from .utils import NamespacedClient
2131

0 commit comments

Comments
 (0)