refac: align with the module structure
This commit is contained in:
parent
a81cc1d81e
commit
4b96a3f221
2 changed files with 5 additions and 2 deletions
|
|
@ -1,7 +1,9 @@
|
||||||
from typing import Any, Union
|
|
||||||
from pydantic import BaseModel
|
from pydantic import BaseModel
|
||||||
|
|
||||||
|
|
||||||
|
from typing import Any, Union
|
||||||
|
|
||||||
|
|
||||||
class Field(BaseModel):
|
class Field(BaseModel):
|
||||||
field_type: str = "str"
|
field_type: str = "str"
|
||||||
required: bool = False
|
required: bool = False
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
from langflow.template.template import Field, FrontendNode, Template
|
from langflow.template.base import Field, Template
|
||||||
|
from langflow.template.base import FrontendNode
|
||||||
from langchain.agents.mrkl import prompt
|
from langchain.agents.mrkl import prompt
|
||||||
from langflow.utils.constants import DEFAULT_PYTHON_FUNCTION
|
from langflow.utils.constants import DEFAULT_PYTHON_FUNCTION
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue