From b3abebfb37a6fc338f48e0a02702928aeb8890a0 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 21 Jul 2025 13:08:51 -1000 Subject: [PATCH] cleanup --- script/api_protobuf/api_protobuf.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/script/api_protobuf/api_protobuf.py b/script/api_protobuf/api_protobuf.py index ab96ecd62b..dedd58d5a1 100755 --- a/script/api_protobuf/api_protobuf.py +++ b/script/api_protobuf/api_protobuf.py @@ -970,11 +970,7 @@ class FixedArrayRepeatedType(TypeInfo): def get_estimated_size(self) -> int: # For fixed arrays, estimate underlying type size * array size - underlying_size = ( - self._ti.get_estimated_size() - if hasattr(self._ti, "get_estimated_size") - else 8 - ) + underlying_size = self._ti.get_estimated_size() return underlying_size * self.array_size