diff --git a/src/backend/base/langflow/custom/custom_component/custom_component.py b/src/backend/base/langflow/custom/custom_component/custom_component.py index aa2f7bff4..c9bc1bfdf 100644 --- a/src/backend/base/langflow/custom/custom_component/custom_component.py +++ b/src/backend/base/langflow/custom/custom_component/custom_component.py @@ -91,7 +91,7 @@ class CustomComponent(BaseComponent): except Exception as e: raise ValueError(f"Error updating state: {e}") - def stop(self, output_name: str | None): + def stop(self, output_name: str | None = None): if not output_name and self.vertex and len(self.vertex.outputs) == 1: output_name = self.vertex.outputs[0]["name"] else: