danielgtaylor / danielgtaylor/python-betterproto

Suggestion: use abstract base class and abstractmethod for ServiceBase and/or Stub

Open
#376 1 comment 1 reaction 0 assignees View on GitHub
enhancement good first issue small
Dominant language
Python
Stars
1.8k
Forks
234
PR merge metrics
No merged PRs in 30d

Description

python-betterprot is awesome.
However, users may forget to implement some service-methods declared in proto file, which cause no error on the server-side.
`@abstractmethod` may give user some hints to realize it.
One question: why user should implement method `echo_stream` in EchoService while the related rpc method named `EchoStream` in proto file?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.