mirror of
https://github.com/esphome/esphome.git
synced 2025-09-06 13:22:19 +01:00
cleans to dump
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -243,7 +243,7 @@ class TypeInfo(ABC):
|
|||||||
@property
|
@property
|
||||||
def dump_content(self) -> str:
|
def dump_content(self) -> str:
|
||||||
# Default implementation - subclasses can override if they need special handling
|
# Default implementation - subclasses can override if they need special handling
|
||||||
return f'dump_field(out, "{self.name}", {self.dump_field_value(f"this->{self.field_name}")});\n'
|
return f'dump_field(out, "{self.name}", {self.dump_field_value(f"this->{self.field_name}")});'
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def dump(self, name: str) -> str:
|
def dump(self, name: str) -> str:
|
||||||
|
Reference in New Issue
Block a user