Skip to content

Commit 59df6c6

Browse files
committed
fix: more mypy errors
1 parent d0888ef commit 59df6c6

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

python/cocoindex/setup.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,29 +55,33 @@ 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=flow_full_names))
58+
return SetupChangeBundle(_engine.make_setup_bundle(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=flow_full_names))
66+
return SetupChangeBundle(_engine.make_drop_bundle(flow_full_names))
6767

6868

6969
def setup_all_flows(report_to_stdout: bool = False) -> None:
7070
"""
7171
Setup all flows registered in the current process.
7272
"""
73-
make_setup_bundle(flow.flow_names()).apply(report_to_stdout=report_to_stdout)
73+
make_setup_bundle(flow_full_names=flow.flow_full_names()).apply(
74+
report_to_stdout=report_to_stdout
75+
)
7476

7577

7678
def drop_all_flows(report_to_stdout: bool = False) -> None:
7779
"""
7880
Drop all flows registered in the current process.
7981
"""
80-
make_drop_bundle(flow.flow_names()).apply(report_to_stdout=report_to_stdout)
82+
make_drop_bundle(flow_full_names=flow.flow_full_names()).apply(
83+
report_to_stdout=report_to_stdout
84+
)
8185

8286

8387
def flow_names_with_setup() -> list[str]:

0 commit comments

Comments
 (0)