def kill_experiment(args: Namespace) -> None: api.post(args.master, "experiments/{}/kill".format(args.experiment_id)) print("Killed experiment {}".format(args.experiment_id))
def kill_trial(args: Namespace) -> None: api.post(args.master, "trials/{}/kill".format(args.trial_id)) print("Killed trial {}".format(args.trial_id))