def _unpack_name(self, b, is_supercol_name=False): if not self.autopack_names: return b if b is None: return if is_supercol_name: d_type = self.supercol_name_data_type else: d_type = self.col_name_data_type return util.unpack(b, d_type)
def _unpack_value(self, value, col_name): if not self.autopack_values: return value return util.unpack(value, self._get_data_type_for_col(col_name))
def _unpack_key(self, b): if not self.autopack_keys: return b return util.unpack(b, self.key_validation_class)