def _update_config(self, new_list):
        if self.data_type is not None:
            invalid_values = [v for v in new_list if type(v) is not self.data_type]
            if invalid_values:
                raise ValueError("new_list contains invalid values: [%s]" % str(invalid_values))

        return self.zk_config_manager.update_zk(
            json.dumps(self._get_list()), json.dumps(new_list), self.force_config_update)
Clears a datastore or a set of datastores of common prefix
dataset/ETHPy150Open pinterest/kingpin/kingpin/manageddata/managed_datastructures.py/ManagedList._update_config--crossover with--dataset/ETHPy150Open ooici/pyon/pyon/datastore/datastore_admin.py/DatastoreAdmin.clear_datastore