Skip to content

Commit c83fbe3

Browse files
authored
fix(example): clean up zombie code (#776)
1 parent 8c4fc53 commit c83fbe3

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)