From fd1c5cc84e606275e8eb41c875118ad704fe443f Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Mon, 1 Jul 2024 13:30:46 -0300 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20(code=5Fparser.py):=20remo?= =?UTF-8?q?ve=20redundant=20condition=20that=20caused=20Component=20to=20n?= =?UTF-8?q?ot=20be=20parsed=20(#2406)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- src/backend/base/langflow/custom/code_parser/code_parser.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/backend/base/langflow/custom/code_parser/code_parser.py b/src/backend/base/langflow/custom/code_parser/code_parser.py index 9dc736dc0..8fc276efd 100644 --- a/src/backend/base/langflow/custom/code_parser/code_parser.py +++ b/src/backend/base/langflow/custom/code_parser/code_parser.py @@ -329,8 +329,6 @@ class CodeParser: """ Extracts "classes" from the code, including inheritance and init methods. """ - if node.name in ["CustomComponent", "Component", "BaseComponent"]: - return bases = self.get_base_classes() nodes = [] for base in bases: