File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " betterproto"
3- version = " 2.0.0b5+pachv1.0.0 "
3+ version = " 2.0.0b5+pachv1.0.1 "
44description = " A better Protobuf / gRPC generator & library"
55authors = [" Daniel G. Taylor <danielgtaylor@gmail.com>" ]
66readme = " README.md"
Original file line number Diff line number Diff line change 1+ # TODO: This file isn't necessary for clients, might be necessary for servers.
12from typing import Dict , TYPE_CHECKING
23from abc import ABC , abstractmethod
34
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ import betterproto.lib.google.protobuf as betterproto_lib_google_protobuf
2222{% endfor %}
2323{% if output_file .services %}
2424import grpc
25- from betterproto.grpc.grpcio_server import ServicerBase
2625{% endif %}
2726
2827from typing import TYPE_CHECKING
@@ -174,7 +173,7 @@ class {{ service.py_name }}Stub:
174173{% endfor %}
175174
176175{% for service in output_file .services %}
177- class {{ service.py_name }}Base(ServicerBase) :
176+ class {{ service.py_name }}Base:
178177 {% if service .comment %}
179178{{ service.comment }}
180179
You can’t perform that action at this time.
0 commit comments