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

Commit 698ede5

Browse files
committed
Fix typing error
1 parent 2ebf313 commit 698ede5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/betterproto2_compiler/plugin/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def generate_code(request: CodeGeneratorRequest) -> CodeGeneratorResponse:
175175

176176

177177
def read_protobuf_type(
178-
item: DescriptorProto,
178+
item: DescriptorProto | EnumDescriptorProto,
179179
path: list[int],
180180
source_file: "FileDescriptorProto",
181181
output_package: OutputTemplate,

0 commit comments

Comments
 (0)