mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-26 02:32:20 +08:00
🐛 fix(custom_component.py): fix custom_repr method to return a string representation of repr_value
This commit is contained in:
@ -23,7 +23,7 @@ class CustomComponent(Component, extra=Extra.allow):
|
||||
super().__init__(**data)
|
||||
|
||||
def custom_repr(self):
|
||||
return self.repr_value
|
||||
return str(self.repr_value)
|
||||
|
||||
def build_config(self):
|
||||
return self.field_config
|
||||
|
||||
Reference in New Issue
Block a user