mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-11 13:55:03 +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:
|
Returns:
|
||||||
List of Documents.
|
List of Documents.
|
||||||
|
|
||||||
|
.. versionadded:: 0.2.11
|
||||||
"""
|
"""
|
||||||
raise NotImplementedError(
|
raise NotImplementedError(
|
||||||
f"{self.__class__.__name__} does not yet support get_by_ids."
|
f"{self.__class__.__name__} does not yet support get_by_ids."
|
||||||
@ -148,6 +150,8 @@ class VectorStore(ABC):
|
|||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
List of Documents.
|
List of Documents.
|
||||||
|
|
||||||
|
.. versionadded:: 0.2.11
|
||||||
"""
|
"""
|
||||||
return await run_in_executor(None, self.get_by_ids, ids)
|
return await run_in_executor(None, self.get_by_ids, ids)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user