Skip to content

Commit

Permalink
Remove broken method
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienVannson committed Oct 17, 2024
1 parent 6a3bbe3 commit 88002f7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/betterproto/plugin/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,13 +484,6 @@ def repeated(self) -> bool:
def optional(self) -> bool:
return self.proto_obj.proto3_optional

@property
def mutable(self) -> bool:
"""True if the field is a mutable type, otherwise False."""
return self.annotation.startswith(
("typing.List[", "typing.Dict[", "dict[", "list[", "Dict[", "List[")
)

@property
def field_type(self) -> str:
"""String representation of proto field type."""
Expand Down

0 comments on commit 88002f7

Please sign in to comment.