mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-02 09:40:26 +00:00
parent retriever nit (#9570)
if ids are nullable seems like they should have default val None. mirrors VectorStore interface as well. cc @mcantillon21 @jacoblee93
This commit is contained in:
parent
f3ba9ce7f4
commit
81163e3c0c
@ -97,7 +97,7 @@ class ParentDocumentRetriever(BaseRetriever):
|
||||
def add_documents(
|
||||
self,
|
||||
documents: List[Document],
|
||||
ids: Optional[List[str]],
|
||||
ids: Optional[List[str]] = None,
|
||||
add_to_docstore: bool = True,
|
||||
) -> None:
|
||||
"""Adds documents to the docstore and vectorstores.
|
||||
|
Loading…
Reference in New Issue
Block a user