From 6d6bf8250168100c5789eb18cef1c3d884895fbc Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 21 Jul 2025 13:02:46 -1000 Subject: [PATCH] cleanup --- script/api_protobuf/api_protobuf.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/script/api_protobuf/api_protobuf.py b/script/api_protobuf/api_protobuf.py index d26a7bb621..d39e7422fb 100755 --- a/script/api_protobuf/api_protobuf.py +++ b/script/api_protobuf/api_protobuf.py @@ -927,11 +927,6 @@ class FixedArrayRepeatedType(TypeInfo): # No decode methods needed - fixed arrays don't support decoding # The base class TypeInfo already returns None for all decode properties - @property - def _ti_is_bool(self) -> bool: - # std::array doesn't have the same specialization issues as std::vector for bool - return False - @property def encode_content(self) -> str: o = f"for (const auto &it : this->{self.field_name}) {{\n" @@ -951,9 +946,6 @@ class FixedArrayRepeatedType(TypeInfo): o += "}\n" return o - def dump(self, _: str): - pass - def get_size_calculation(self, name: str, force: bool = False) -> str: # For fixed arrays, we always encode all elements # Check if this is a fixed-size type by seeing if it has a fixed byte count