示例#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
文件: grpc.py 项目: zeng4250538/idb
 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
文件: grpc.py 项目: page66688/idb
 async def crash_show(self, name: str) -> CrashLog:
     response = await self.stub.crash_show(CrashShowRequest(name=name))
     return _to_crash_log(response)