🐛 fix(custom_component.py): change repr_value type from str to Any to allow any type of value to be assigned
This commit is contained in:
parent
938fcbab62
commit
fb7513f7cb
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ class CustomComponent(Component, extra=Extra.allow):
|
|||
function_entrypoint_name = "build"
|
||||
function: Optional[Callable] = None
|
||||
return_type_valid_list = list(CUSTOM_COMPONENT_SUPPORTED_TYPES.keys())
|
||||
repr_value: Optional[str] = ""
|
||||
repr_value: Optional[Any] = ""
|
||||
|
||||
def __init__(self, **data):
|
||||
super().__init__(**data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue