def getAsyncRequest(self, asynchronous_request_id: int) -> models.AsynchronousRequest: asyncRequest = self._post('async/getAsyncRequest', { 'asyncRequest': asynchronous_request_id, }) asyncRequest['asyncResponse'] = models.AsynchronousResponse(asyncRequest['asyncResponse']) return models.AsynchronousRequest(asyncRequest)
def make_model(self, source): return models.AsynchronousResponse(source)