core[patch]: Add versionadded to get_by_ids (#23728)

This commit is contained in:
Eugene Yurtsev 2024-07-01 15:16:00 -04:00 committed by GitHub
parent e800f6bb57
commit ebcee4f610
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)