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

Commit 45f991e

Browse files
committed
Use a custom list type
1 parent ea977be commit 45f991e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/betterproto2_compiler/plugin/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ def annotation(self) -> str:
411411
if self.use_builtins:
412412
py_type = f"builtins.{py_type}"
413413
if self.repeated:
414-
return f"list[{py_type}]"
414+
return f"betterproto2.List[{py_type}]"
415415
if self.optional:
416416
return f"{py_type} | None"
417417
return py_type

0 commit comments

Comments
 (0)