🔧 chore(custom_component.py): refactor class variables to use assignment instead of type annotations for better readability and consistency
This commit is contained in:
parent
1a8825f491
commit
4f2a4ce13c
1 changed files with 2 additions and 2 deletions
|
|
@ -15,8 +15,8 @@ import yaml
|
|||
|
||||
|
||||
class CustomComponent(Component, extra="allow"):
|
||||
display_name: ClassVar[str] = "Custom Component"
|
||||
description: ClassVar[str] = "Custom Component"
|
||||
display_name = "Custom Component"
|
||||
description = "Custom Component"
|
||||
code: Optional[str] = None
|
||||
field_config: dict = {}
|
||||
code_class_base_inheritance: ClassVar[Dict] = "CustomComponent"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue