def description(self): # PEP 249 if self._description is None and self.has_result_set: schema = rpc.get_result_schema(self.service, self._last_operation_handle) self._description = schema return self._description
def _execute_sync(self, operation_fn): # operation_fn should set self._last_operation_string and # self._last_operation_handle self._reset_state() operation_fn() self._last_operation_active = True self._wait_to_finish() # make execute synchronous if self.has_result_set: schema = rpc.get_result_schema(self.service, self._last_operation_handle) self._description = [tup + (None, None, None, None, None) for tup in schema]
def _execute_sync(self, operation_fn): # operation_fn should set self._last_operation_string and # self._last_operation_handle self._reset_state() operation_fn() self._last_operation_active = True self._wait_to_finish() # make execute synchronous if self.has_result_set: schema = rpc.get_result_schema(self.service, self._last_operation_handle) self._description = schema