Exemplo n.º 1
0
 async def crash_delete(self, query: CrashLogQuery) -> List[CrashLogInfo]:
     response = await self.stub.crash_delete(
         _to_crash_log_query_proto(query))
     return _to_crash_log_info_list(response)
Exemplo n.º 2
0
 async def crash_list(self, query: CrashLogQuery) -> List[CrashLogInfo]:
     async with self.get_stub() as stub:
         response = await stub.crash_list(_to_crash_log_query_proto(query))
         return _to_crash_log_info_list(response)
Exemplo n.º 3
0
async def client(client: CompanionClient,
                 query: CrashLogQuery) -> List[CrashLogInfo]:
    response = await client.stub.crash_list(_to_crash_log_query_proto(query))
    return _to_crash_log_info_list(response)