danielgtaylor / danielgtaylor/python-betterproto

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

Aperta
#376 1 commento 1 reazione 0 assegnatari Vedi su GitHub
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.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.