mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-08 20:08:36 +02:00
Backport Test (#2958)
This commit is contained in:
parent
1f2be542f0
commit
e8dfed959e
@ -231,5 +231,7 @@ if __name__ == "__main__":
|
||||
print("All docs", all_docs)
|
||||
current = datetime.datetime.now().timestamp()
|
||||
one_day_ago = current - 30 * 24 * 60 * 60 # 30 days
|
||||
|
||||
latest_docs = list(test_connector.poll_source(one_day_ago, current))
|
||||
|
||||
print("Latest docs", latest_docs)
|
||||
|
Loading…
x
Reference in New Issue
Block a user