mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-26 22:05:29 +00:00
core[patch]: Add versionadded to get_by_ids (#23728)
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user