mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-15 20:27:20 +08:00
Feat: sync deleted files in Bitbucket (#14450)
### What problem does this PR solve? Feat: sync deleted files in Bitbucket ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@@ -355,10 +355,7 @@ if __name__ == "__main__":
|
||||
start_time = datetime.fromtimestamp(0, tz=timezone.utc)
|
||||
end_time = datetime.now(timezone.utc)
|
||||
|
||||
for doc_batch in bitbucket.retrieve_all_slim_docs_perm_sync(
|
||||
start=start_time.timestamp(),
|
||||
end=end_time.timestamp(),
|
||||
):
|
||||
for doc_batch in bitbucket.retrieve_all_slim_docs_perm_sync():
|
||||
for doc in doc_batch:
|
||||
print(doc)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user