Skip to content

Commit 8509483

Browse files
author
Ben Bonenfant
authored
Remove reference to ServicerBase (#1)
This should allow packages to use the real betterproto as a dependency rather than this fork.
1 parent 32cb21c commit 8509483

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "betterproto"
3-
version = "2.0.0b5+pachv1.0.0"
3+
version = "2.0.0b5+pachv1.0.1"
44
description = "A better Protobuf / gRPC generator & library"
55
authors = ["Daniel G. Taylor <danielgtaylor@gmail.com>"]
66
readme = "README.md"

src/betterproto/grpc/grpcio_server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# TODO: This file isn't necessary for clients, might be necessary for servers.
12
from typing import Dict, TYPE_CHECKING
23
from abc import ABC, abstractmethod
34

src/betterproto/templates/template.py.j2

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import betterproto.lib.google.protobuf as betterproto_lib_google_protobuf
2222
{% endfor %}
2323
{% if output_file.services%}
2424
import grpc
25-
from betterproto.grpc.grpcio_server import ServicerBase
2625
{% endif %}
2726

2827
from 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

0 commit comments

Comments
 (0)