mirror of
https://github.com/esphome/esphome.git
synced 2025-07-25 20:56:38 +00:00
cleans to dump
This commit is contained in:
parent
fbd3c051ec
commit
3d35b9679a
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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user