Skip to content

Commit

Permalink
Remove MessageCompiler.annotation (danielgtaylor#634)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienVannson authored Oct 24, 2024
1 parent a99be78 commit 335eee7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/betterproto/plugin/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,12 +328,6 @@ def proto_name(self) -> str:
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:
Expand Down

0 comments on commit 335eee7

Please sign in to comment.