10000 Fix message text in NotImplementedError (#325) · Gobot1234/python-betterproto@d991040 · GitHub
[go: up one dir, main page]

Skip to content

Commit d991040

Browse files
authored
Fix message text in NotImplementedError (danielgtaylor#325)
1 parent d260f07 commit d991040

File tree

1 fi BE96 le changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/betterproto/plugin/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ def py_type(self) -> str:
524524
source_type=self.proto_obj.type_name,
525525
)
526526
else:
527-
raise NotImplementedError(f"Unknown type {field.type}")
527+
raise NotImplementedError(f"Unknown type {self.proto_obj.type}")
528528

529529
@property
530530
def annotation(self) -> str:

0 commit comments

Comments
 (0)
0