Remove MessageCompiler.annotation (#634)
This commit is contained in:
parent
a99be78fe4
commit
335eee7537
@ -328,12 +328,6 @@ class MessageCompiler(ProtoContentBase):
|
||||
def py_name(self) -> str:
|
||||
return pythonize_class_name(self.proto_name)
|
||||
|
||||
@property
|
||||
def annotation(self) -> str:
|
||||
if self.repeated:
|
||||
return self.typing_compiler.list(self.py_name)
|
||||
return self.py_name
|
||||
|
||||
@property
|
||||
def deprecated_fields(self) -> Iterator[str]:
|
||||
for f in self.fields:
|
||||
|
Loading…
x
Reference in New Issue
Block a user