Generate grpclib service stubs (#170)

This commit is contained in:
Tim Schmidt
2020-12-04 22:22:11 +01:00
committed by GitHub
parent 73cea12e1f
commit 1d54ef8f99
6 changed files with 232 additions and 1 deletions

View File

@@ -553,6 +553,7 @@ class ServiceCompiler(ProtoContentBase):
def __post_init__(self) -> None:
# Add service to output file
self.output_file.services.append(self)
self.output_file.typing_imports.add("Dict")
super().__post_init__() # check for unset fields
@property