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

Commit caa519f

Browse files
Fix type annotation (#51)
1 parent 47aaa98 commit caa519f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/betterproto2_compiler/templates/template.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ class {{ service.py_name }}Base(ServiceBase):
235235

236236
{% endfor %}
237237

238-
def __mapping__(self) -> "dict[str, grpclib.const.Handler":
238+
def __mapping__(self) -> "dict[str, grpclib.const.Handler]":
239239
return {
240240
{% for method in service.methods %}
241241
"{{ method.route }}": grpclib.const.Handler(

0 commit comments

Comments
 (0)