mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-30 11:39:03 +00:00
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>
This commit is contained in:
parent
84cfa76e00
commit
b1e2e29222
@ -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…
Reference in New Issue
Block a user