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

Commit 7af3612

Browse files
committed
Remove useless wrap parameter
1 parent 77a94ca commit 7af3612

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/betterproto2_compiler/plugin/models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,6 @@ def betterproto_field_args(self) -> list[str]:
332332

333333
# Without the lambda function, the type is evaluated right away, which fails since the corresponding
334334
# import is placed at the end of the file to avoid circular imports.
335-
args.append(f"wrap=lambda: {self.py_type}")
336335
args.append(f"unwrap=lambda: {unwrap_type}")
337336

338337
if self.optional:

0 commit comments

Comments
 (0)