Skip to content

Commit 8b7f21d

Browse files
committed
fix(cli): ls only needs flow names, flows don't need to be built
1 parent 0f80d15 commit 8b7f21d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/cocoindex/cli.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import asyncio
21
import click
32
import datetime
43
from rich.console import Console
@@ -21,7 +20,7 @@ def ls(show_all: bool):
2120
"""
2221
List all flows.
2322
"""
24-
current_flow_names = [fl.name for fl in flow.flows()]
23+
current_flow_names = flow.flow_names()
2524
persisted_flow_names = flow_names_with_setup()
2625
remaining_persisted_flow_names = set(persisted_flow_names)
2726

0 commit comments

Comments
 (0)