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:
Magicbook1108
2026-04-29 11:29:17 +08:00
committed by GitHub
parent 74fa54f122
commit 3b7a6eaa6c
3 changed files with 12 additions and 6 deletions

View File

@@ -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)