Move ServiceStub to a seperate module and add more rpcs to service test

This commit is contained in:
Nat Noordanus
2020-05-23 23:35:28 +02:00
parent a757da1b29
commit 09f821921f
8 changed files with 336 additions and 137 deletions

5
betterproto/_types.py Normal file
View File

@@ -0,0 +1,5 @@
from typing import TypeVar
# Bound type variable to allow methods to return `self` of subclasses
T = TypeVar("T", bound="Message")
ST = TypeVar("ST", bound="IProtoMessage")