🔥 refactor(component.py): remove unused build method from Component class
🔥 refactor(custom_component.py): remove unused build method from CustomComponent class
This commit is contained in:
parent
3fe6a029fc
commit
d5a33d56bf
2 changed files with 0 additions and 6 deletions
|
|
@ -67,6 +67,3 @@ class Component(BaseModel):
|
||||||
template_config["beta"] = ast.literal_eval(item_value)
|
template_config["beta"] = ast.literal_eval(item_value)
|
||||||
|
|
||||||
return template_config
|
return template_config
|
||||||
|
|
||||||
def build(self):
|
|
||||||
raise NotImplementedError
|
|
||||||
|
|
|
||||||
|
|
@ -189,6 +189,3 @@ class CustomComponent(Component, extra=Extra.allow):
|
||||||
if not flow:
|
if not flow:
|
||||||
raise ValueError(f"Flow {flow_name or flow_id} not found")
|
raise ValueError(f"Flow {flow_name or flow_id} not found")
|
||||||
return self.load_flow(flow.id, tweaks)
|
return self.load_flow(flow.id, tweaks)
|
||||||
|
|
||||||
def build(self):
|
|
||||||
raise NotImplementedError
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue