danielgtaylor / danielgtaylor/python-betterproto
Suggestion: use abstract base class and abstractmethod for ServiceBase and/or Stub
Aperta
enhancement
good first issue
small
- Lingua principale
- Python
- Stelle
- 1.8k
- Fork
- 234
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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?
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.