async def client(client: CompanionClient, name: str) -> CrashLog: response = await client.stub.crash_show(CrashShowRequest(name=name)) return _to_crash_log(response)
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)
async def crash_show(self, name: str) -> CrashLog: response = await self.stub.crash_show(CrashShowRequest(name=name)) return _to_crash_log(response)