refactor: Import langflow.custom.Component and CustomComponent in loading.py

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-06-21 09:35:40 -03:00
commit 5a288e9c51

View file

@ -8,12 +8,12 @@ import orjson
from loguru import logger
from pydantic import PydanticDeprecatedSince20
from langflow.custom import Component, CustomComponent
from langflow.custom.eval import eval_custom_component_code
from langflow.schema import Data
from langflow.schema.artifact import get_artifact_type, post_process_raw
if TYPE_CHECKING:
from langflow.custom import Component, CustomComponent
from langflow.graph.vertex.base import Vertex