Skip to content

Commit f523369

Browse files
runasync dsl
1 parent 3edc221 commit f523369

File tree

7 files changed

+8
-6
lines changed

7 files changed

+8
-6
lines changed

examples/dsl/async/semantic_text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
2222
Requirements:
2323
24-
$ pip install "elasticsearch-dsl[async]" tqdm
24+
$ pip install "elasticsearch[async]" tqdm
2525
2626
Before running this example, an ELSER inference endpoint must be created in the
2727
Elasticsearch cluster. This can be done manually from Kibana, or with the

examples/dsl/async/sparse_vectors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
2121
Requirements:
2222
23-
$ pip install nltk tqdm elasticsearch-dsl[async]
23+
$ pip install nltk tqdm elasticsearch[async]
2424
2525
Before running this example, the ELSER v2 model must be downloaded and deployed
2626
to the Elasticsearch cluster, and an ingest pipeline must be defined. This can

examples/dsl/async/vectors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
2121
Requirements:
2222
23-
$ pip install nltk sentence_transformers tqdm elasticsearch-dsl[async]
23+
$ pip install nltk sentence_transformers tqdm elasticsearch[async]
2424
2525
To run the example:
2626

examples/dsl/semantic_text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
2222
Requirements:
2323
24-
$ pip install "elasticsearch-dsl" tqdm
24+
$ pip install "elasticsearch" tqdm
2525
2626
Before running this example, an ELSER inference endpoint must be created in the
2727
Elasticsearch cluster. This can be done manually from Kibana, or with the

examples/dsl/sparse_vectors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
2121
Requirements:
2222
23-
$ pip install nltk tqdm elasticsearch-dsl
23+
$ pip install nltk tqdm elasticsearch
2424
2525
Before running this example, the ELSER v2 model must be downloaded and deployed
2626
to the Elasticsearch cluster, and an ingest pipeline must be defined. This can

examples/dsl/vectors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
2121
Requirements:
2222
23-
$ pip install nltk sentence_transformers tqdm elasticsearch-dsl
23+
$ pip install nltk sentence_transformers tqdm elasticsearch
2424
2525
To run the example:
2626

noxfile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def format(session):
7070
session.install("black~=24.0", "isort", "flynt", "unasync>=0.6.0")
7171

7272
session.run("python", "utils/run-unasync.py")
73+
session.run("python", "utils/run-unasync-dsl.py")
7374
session.run("isort", "--profile=black", *SOURCE_FILES)
7475
session.run("flynt", *SOURCE_FILES)
7576
session.run("black", *SOURCE_FILES)
@@ -97,6 +98,7 @@ def lint(session):
9798
session.run("isort", "--check", "--profile=black", *SOURCE_FILES)
9899
session.run("black", "--check", *SOURCE_FILES)
99100
session.run("python", "utils/run-unasync.py", "--check")
101+
session.run("python", "utils/run-unasync-dsl.py", "--check")
100102
session.run("flake8", *SOURCE_FILES)
101103
session.run("python", "utils/license-headers.py", "check", *SOURCE_FILES)
102104

0 commit comments

Comments
 (0)