def create_experiment_config_map(self): name = constants.CONFIG_MAP_NAME.format(uuid=self.experiment_uuid) config_map = config_maps.get_config_map( namespace=self.namespace, project_name=self.project_name, experiment_group_name=self.experiment_group_name, experiment_name=self.experiment_name, project_uuid=self.project_uuid, experiment_group_uuid=self.experiment_group_uuid, experiment_uuid=self.experiment_uuid, original_name=self.original_name, cloning_strategy=self.cloning_strategy, cluster_def=self.get_cluster(), declarations=self.spec.declarations, log_level=self.spec.log_level ) self.create_or_update_config_map(name=name, body=config_map, reraise=True)
def create_experiment_config_map(self): name = constants.CONFIG_MAP_NAME.format(uuid=self.experiment_uuid) config_map = config_maps.get_config_map( namespace=self.namespace, project_name=self.project_name, experiment_group_name=self.experiment_group_name, experiment_name=self.experiment_name, project_uuid=self.project_uuid, experiment_group_uuid=self.experiment_group_uuid, experiment_uuid=self.experiment_uuid, original_name=self.original_name, cloning_strategy=self.cloning_strategy, cluster_def=self.get_cluster(), declarations=self.spec.declarations, log_level=self.spec.log_level) self.create_or_update_config_map(name=name, body=config_map, reraise=True)