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

Commit a30710c

Browse files
committed
Remove useless code
1 parent 1ef0c1f commit a30710c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/betterproto2_compiler/plugin/models.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -355,10 +355,7 @@ def field_wraps(self) -> str | None:
355355

356356
@property
357357
def repeated(self) -> bool:
358-
return self.proto_obj.label == FieldDescriptorProtoLabel.LABEL_REPEATED and not is_map(
359-
self.proto_obj,
360-
self.message,
361-
)
358+
return self.proto_obj.label == FieldDescriptorProtoLabel.LABEL_REPEATED
362359

363360
@property
364361
def optional(self) -> bool:

0 commit comments

Comments
 (0)