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