🔧 refactor(custom_component.py): make 'code' attribute optional in CustomComponent class to allow instances without explicit code value
This commit is contained in:
parent
b523533d98
commit
75452fb758
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ from langflow.utils import validate
|
|||
|
||||
|
||||
class CustomComponent(Component):
|
||||
code: str
|
||||
code: Optional[str]
|
||||
field_config: dict = {}
|
||||
code_class_base_inheritance = "CustomComponent"
|
||||
function_entrypoint_name = "build"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue