Update type hints in document loaders
This commit is contained in:
parent
a291564b4e
commit
6f54fe6579
3 changed files with 2 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
from langflow import CustomComponent
|
from langflow import CustomComponent
|
||||||
from typing import Optional, Dict, List
|
from typing import List
|
||||||
from langchain_community.document_loaders.csv_loader import CSVLoader
|
from langchain_community.document_loaders.csv_loader import CSVLoader
|
||||||
from langchain.docstore.document import Document
|
from langchain.docstore.document import Document
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
from langflow import CustomComponent
|
from langflow import CustomComponent
|
||||||
from langchain.docstore.document import Document
|
from langchain.docstore.document import Document
|
||||||
from typing import Optional, Dict
|
|
||||||
from langflow.field_typing import TemplateField
|
from langflow.field_typing import TemplateField
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
from langflow import CustomComponent
|
from langflow import CustomComponent
|
||||||
from langchain.docstore.document import Document
|
from langchain.docstore.document import Document
|
||||||
from typing import Optional, Dict
|
from typing import Optional
|
||||||
|
|
||||||
class CollegeConfidentialLoaderComponent(CustomComponent):
|
class CollegeConfidentialLoaderComponent(CustomComponent):
|
||||||
display_name = "CollegeConfidentialLoader"
|
display_name = "CollegeConfidentialLoader"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue