Fix typechecker compatiblity checks in server streaming methods (#413)
This commit is contained in:
parent
591ec5efb3
commit
8fbf4476a8
@ -179,6 +179,9 @@ class {{ service.py_name }}Base(ServiceBase):
|
||||
|
||||
{% endif %}
|
||||
raise grpclib.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
||||
{% if method.server_streaming %}
|
||||
yield {{ method.py_output_message_type }}()
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user