mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-05-31 02:01:16 +02:00
Backport Test 5 (#2969)
This commit is contained in:
parent
e2c4c07c34
commit
d8ad3e73bf
@ -441,6 +441,7 @@ if __name__ == "__main__":
|
||||
|
||||
current = time.time()
|
||||
one_day_ago = current - 24 * 60 * 60 # 1 day
|
||||
|
||||
document_batches = connector.poll_source(one_day_ago, current)
|
||||
|
||||
print(next(document_batches))
|
||||
|
Loading…
x
Reference in New Issue
Block a user