@property
def code(self):
    if (not self.result):
        raise Exception('No result yet.')
    return int(self.result['code'])
@property
def code(self):
    if (not self.result):
        raise Exception('No result yet.')
    return int(self.result['code'])