Skip to content

Commit 5b82b0a

Browse files
committed
fix(example): clean up zombie code
1 parent bd77c9f commit 5b82b0a

File tree

1 file changed

+0
-6
lines changed
  • examples/amazon_s3_embedding

1 file changed

+0
-6
lines changed

examples/amazon_s3_embedding/main.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,6 @@ def _main() -> None:
102102

103103
amazon_s3_text_embedding_flow.setup()
104104
with cocoindex.FlowLiveUpdater(amazon_s3_text_embedding_flow) as updater:
105-
while True:
106-
updates = updater.next_status_updates()
107-
print(f"Updates: {updates}")
108-
if not updates.active_sources:
109-
break
110-
111105
# Run queries in a loop to demonstrate the query capabilities.
112106
while True:
113107
query = input("Enter search query (or Enter to quit): ")

0 commit comments

Comments
 (0)