mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-10-09 12:47:13 +02:00
Backport Test 5 (#2969)
This commit is contained in:
@@ -441,6 +441,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
current = time.time()
|
current = time.time()
|
||||||
one_day_ago = current - 24 * 60 * 60 # 1 day
|
one_day_ago = current - 24 * 60 * 60 # 1 day
|
||||||
|
|
||||||
document_batches = connector.poll_source(one_day_ago, current)
|
document_batches = connector.poll_source(one_day_ago, current)
|
||||||
|
|
||||||
print(next(document_batches))
|
print(next(document_batches))
|
||||||
|
Reference in New Issue
Block a user