Fix session loading issues in test cases

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-01-25 19:44:33 -03:00
commit fccf3eeb25
2 changed files with 13 additions and 11 deletions

View file

@ -5,7 +5,6 @@ from uuid import UUID
import yaml
from cachetools import TTLCache, cachedmethod
from fastapi import HTTPException
from langflow.interface.custom.code_parser.utils import (
extract_inner_type_from_generic_alias,
extract_union_types_from_generic_alias,
@ -174,7 +173,6 @@ class CustomComponent(Component):
return get_index
@property
def get_function(self):
return validate.create_function(self.code, self.function_entrypoint_name)