mirror of
https://github.com/hwchase17/langchain.git
synced 2026-02-22 07:05:36 +00:00
Merge branch 'master' of https://github.com/octoml/langchain
This commit is contained in:
@@ -118,3 +118,6 @@ class SnowflakeLoader(BaseLoader):
|
||||
metadata = {k: v for k, v in row.items() if k in metadata_columns}
|
||||
doc = Document(page_content=page_content, metadata=metadata)
|
||||
yield doc
|
||||
|
||||
def load(self) -> List[Document]:
|
||||
return list(self.lazy_load())
|
||||
|
||||
Reference in New Issue
Block a user