Skip to content

Commit 4cf8e2c

Browse files
rip?
1 parent 47a7b96 commit 4cf8e2c

File tree

6 files changed

+11
-15
lines changed

6 files changed

+11
-15
lines changed

asset-manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"files": {
33
"main.css": "/static/css/main.02152627.css",
4-
"main.js": "/static/js/main.cea76b7b.js",
4+
"main.js": "/static/js/main.a2bb3e82.js",
55
"static/media/roboto-all-500-normal.woff": "/static/media/roboto-all-500-normal.0ab669b7a0d19b178f57.woff",
66
"static/media/roboto-all-700-normal.woff": "/static/media/roboto-all-700-normal.a457fde362a540fcadff.woff",
77
"static/media/roboto-all-400-normal.woff": "/static/media/roboto-all-400-normal.c5d001fa922fa66a147f.woff",
@@ -36,10 +36,10 @@
3636
"static/media/roboto-greek-ext-700-normal.woff2": "/static/media/roboto-greek-ext-700-normal.bd9854c751441ccc1a70.woff2",
3737
"index.html": "/index.html",
3838
"main.02152627.css.map": "/static/css/main.02152627.css.map",
39-
"main.cea76b7b.js.map": "/static/js/main.cea76b7b.js.map"
39+
"main.a2bb3e82.js.map": "/static/js/main.a2bb3e82.js.map"
4040
},
4141
"entrypoints": [
4242
"static/css/main.02152627.css",
43-
"static/js/main.cea76b7b.js"
43+
"static/js/main.a2bb3e82.js"
4444
]
4545
}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Pioreactor"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><script defer="defer" src="/static/js/main.cea76b7b.js"></script><link href="/static/css/main.02152627.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
1+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Pioreactor"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><script defer="defer" src="/static/js/main.a2bb3e82.js"></script><link href="/static/css/main.02152627.css" rel="stylesheet"></head><body><div id="root"></div></body></html>

pioreactorui/unit_api.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,6 @@ def stop_jobs() -> ResponseReturnValue:
295295
job_source = request.args.get("job_source")
296296
job_id = request.args.get("job_id") # note job_id is typically an int, so you might convert it.
297297

298-
# If you need at least one query param:
299298
if not any([job_name, experiment, job_source, job_id]):
300299
return abort(400, "No job filter specified")
301300

@@ -313,26 +312,23 @@ def stop_jobs() -> ResponseReturnValue:
313312
return create_task_response(task)
314313

315314

316-
317315
@unit_api.route("/jobs/stop/job_name/<job_name>", methods=["PATCH", "POST"])
318316
def stop_job_by_name(job_name: str) -> ResponseReturnValue:
319-
# deprecated
317+
# deprecated, use /jobs/stop?job_name=<job_name>
320318
task = tasks.pio_kill("--job-name", job_name)
321319
return create_task_response(task)
322320

323321

324322
@unit_api.route("/jobs/stop/experiment/<experiment>", methods=["PATCH", "POST"])
325323
def stop_all_jobs_by_experiment(experiment: str) -> ResponseReturnValue:
326-
# deprecated
327-
324+
# deprecated, use /jobs/stop?experiment=<experiment>
328325
task = tasks.pio_kill("--experiment", experiment)
329326
return create_task_response(task)
330327

331328

332329
@unit_api.route("/jobs/stop/job_source/<job_source>", methods=["PATCH", "POST"])
333330
def stop_all_jobs_by_source(job_source: str) -> ResponseReturnValue:
334331
# deprecated
335-
336332
task = tasks.pio_kill("--job-source", job_source)
337333
return create_task_response(task)
338334

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)