mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
core[patch]: Add versionadded to get_by_ids (#23728)
This commit is contained in:
parent
e800f6bb57
commit
ebcee4f610
@ -121,6 +121,8 @@ class VectorStore(ABC):
|
||||
|
||||
Returns:
|
||||
List of Documents.
|
||||
|
||||
.. versionadded:: 0.2.11
|
||||
"""
|
||||
raise NotImplementedError(
|
||||
f"{self.__class__.__name__} does not yet support get_by_ids."
|
||||
@ -148,6 +150,8 @@ class VectorStore(ABC):
|
||||
|
||||
Returns:
|
||||
List of Documents.
|
||||
|
||||
.. versionadded:: 0.2.11
|
||||
"""
|
||||
return await run_in_executor(None, self.get_by_ids, ids)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user