mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-09 14:39:40 +02:00
Sharepoint Logging (#1218)
This commit is contained in:
parent
4036e7c6c6
commit
f45e2476d0
@ -186,10 +186,11 @@ class SharepointConnector(LoadConnector, PollConnector):
|
|||||||
end=end,
|
end=end,
|
||||||
)
|
)
|
||||||
|
|
||||||
# goes over all urls, converts them into Document objects and then yjelds them in batches
|
# goes over all urls, converts them into Document objects and then yields them in batches
|
||||||
doc_batch: list[Document] = []
|
doc_batch: list[Document] = []
|
||||||
batch_count = 0
|
batch_count = 0
|
||||||
for driveitem_object in driveitem_list:
|
for driveitem_object in driveitem_list:
|
||||||
|
logger.debug(f"Processing: {driveitem_object.web_url}")
|
||||||
doc_batch.append(
|
doc_batch.append(
|
||||||
self.convert_driveitem_object_to_document(driveitem_object)
|
self.convert_driveitem_object_to_document(driveitem_object)
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user