Restore staticmethod.
This commit is contained in:
parent
14c4022c15
commit
a76ef67b0d
1 changed files with 1 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ from langflow.template.frontend_node.base import FrontendNode
|
||||||
|
|
||||||
|
|
||||||
class DocumentLoaderFrontNode(FrontendNode):
|
class DocumentLoaderFrontNode(FrontendNode):
|
||||||
|
@staticmethod
|
||||||
def build_template(
|
def build_template(
|
||||||
suffixes: list, fileTypes: list, name: str = "file_path"
|
suffixes: list, fileTypes: list, name: str = "file_path"
|
||||||
) -> TemplateField:
|
) -> TemplateField:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue