예제 #1
0
파일: client.py 프로젝트: trantrungtin/idb
 async def crash_show(self, name: str) -> CrashLog:
     response = await self.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
async def client(client: CompanionClient, name: str) -> CrashLog:
    response = await client.stub.crash_show(CrashShowRequest(name=name))
    return _to_crash_log(response)