Пример #1
0
async def client(client: CompanionClient, name: str) -> CrashLog:
    response = await client.stub.crash_show(CrashShowRequest(name=name))
    return _to_crash_log(response)
Пример #2
0
 async def crash_show(self, name: str) -> CrashLog:
     async with self.get_stub() as stub:
         response = await stub.crash_show(CrashShowRequest(name=name))
         return _to_crash_log(response)
Пример #3
0
 async def crash_show(self, name: str) -> CrashLog:
     response = await self.stub.crash_show(CrashShowRequest(name=name))
     return _to_crash_log(response)