Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Commit 5fafd83

Browse files
Remove useless method (#44)
1 parent ea977be commit 5fafd83

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/betterproto2_compiler/plugin/models.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -250,14 +250,6 @@ def has_deprecated_fields(self) -> bool:
250250
def has_oneof_fields(self) -> bool:
251251
return any(isinstance(field, OneOfFieldCompiler) for field in self.fields)
252252

253-
@property
254-
def has_message_field(self) -> bool:
255-
return any(
256-
field.proto_obj.type in PROTO_MESSAGE_TYPES
257-
for field in self.fields
258-
if isinstance(field.proto_obj, FieldDescriptorProto)
259-
)
260-
261253
@property
262254
def custom_methods(self) -> list[str]:
263255
"""

0 commit comments

Comments
 (0)