Skip to content

Commit d0888ef

Browse files
committed
fix: mypy errors
1 parent 57fa8cb commit d0888ef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

python/cocoindex/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
# Check if sentence_transformers is available
1313
try:
14-
import sentence_transformers # type: ignore
14+
import sentence_transformers
1515

1616
_SENTENCE_TRANSFORMERS_AVAILABLE = True
1717
except ImportError:

python/cocoindex/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ def make_setup_bundle(*, flow_full_names: list[str]) -> SetupChangeBundle:
5555
Make a bundle to setup flows with the given names.
5656
"""
5757
flow.ensure_all_flows_built()
58-
return SetupChangeBundle(_engine.make_setup_bundle(flow_full_names))
58+
return SetupChangeBundle(_engine.make_setup_bundle(flow_full_names=flow_full_names))
5959

6060

6161
def make_drop_bundle(*, flow_full_names: list[str]) -> SetupChangeBundle:
6262
"""
6363
Make a bundle to drop flows with the given names.
6464
"""
6565
flow.ensure_all_flows_built()
66-
return SetupChangeBundle(_engine.make_drop_bundle(flow_full_names))
66+
return SetupChangeBundle(_engine.make_drop_bundle(flow_full_names=flow_full_names))
6767

6868

6969
def setup_all_flows(report_to_stdout: bool = False) -> None:

0 commit comments

Comments
 (0)