fix: remove expand parameter from ConfluenceLoader by label (#4181)

expand is not an allowed parameter for the method
confluence.get_all_pages_by_label, since it doesn't return the body of
the text but just metadata of documents

Co-authored-by: Andrea Biondo <a.biondo@reply.it>
parallel_dir_loader
obbiondo 1 year ago committed by GitHub
parent 84cfa76e00
commit b1e2e29222
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -217,7 +217,6 @@ class ConfluenceLoader(BaseLoader):
label=label,
limit=limit,
max_pages=max_pages,
expand="body.storage.value",
)
ids_by_label = [page["id"] for page in pages]
if page_ids:

Loading…
Cancel
Save