From 2f24fca1f275a1a7062e74c6d7cb02a554212d08 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Sun, 9 Jul 2023 11:09:44 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(base.py):=20fix=20issue=20wh?= =?UTF-8?q?ere=20CustomComponentCreator.to=5Flist()=20method=20always=20re?= =?UTF-8?q?turns=20None?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/langflow/interface/custom/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/langflow/interface/custom/base.py b/src/backend/langflow/interface/custom/base.py index bf5ca80d9..8dfa127cc 100644 --- a/src/backend/langflow/interface/custom/base.py +++ b/src/backend/langflow/interface/custom/base.py @@ -37,6 +37,7 @@ class CustomComponentCreator(LangChainTypeCreator): except AttributeError as exc: logger.error(f"CustomComponent {name} not loaded: {exc}") return None + return None def to_list(self) -> List[str]: return list(self.type_to_loader_dict.keys())