8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fac0ed3 commit fea05f2Copy full SHA for fea05f2
src/betterproto/__init__.py
@@ -349,7 +349,7 @@ def from_string(cls, name: str) -> "Enum":
349
350
def encode_varint(value: int) -> bytes:
351
"""Encodes a single varint value for serialization."""
352
- b: List[int] = []
+ b: "List[int]" = []
353
354
if value < 0:
355
value += 1 << 64
@@ -704,7 +704,7 @@ def __getattribute__(self, name: str) -> Any:
704
Lazily initialize default values to avoid infinite recursion for recursive
705
message types
706
"""
707
- value = self.__raw_get(name)
+ value = super().__getattribute__(name)
708
if value is not PLACEHOLDER:
709
return value
710
0 commit comments