🔥 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:
Gabriel Luiz Freitas Almeida 2023-08-04 00:19:52 -03:00
commit d5a33d56bf
2 changed files with 0 additions and 6 deletions

View file

@ -67,6 +67,3 @@ class Component(BaseModel):
template_config["beta"] = ast.literal_eval(item_value)
return template_config
def build(self):
raise NotImplementedError

View file

@ -189,6 +189,3 @@ class CustomComponent(Component, extra=Extra.allow):
if not flow:
raise ValueError(f"Flow {flow_name or flow_id} not found")
return self.load_flow(flow.id, tweaks)
def build(self):
raise NotImplementedError