added stubs for set_run and update_run

This commit is contained in:
2026-06-09 11:54:21 +02:00
parent 776ab04aed
commit e508e854dc
+14
View File
@@ -53,4 +53,18 @@ def append_run(beamline: Beamline, pgroup: PGroup, run: int, entries: dict[str,
grid.append(entries)
@router.put("/pgroups/{pgroup}/runs/{run}")
def set_run(beamline: Beamline, pgroup: PGroup, run: int, entries: dict[str, Any]):
pass
# lib.set_row(pgroup, run, entries)
# grids[pgroup].set_row(run, entries)
@router.patch("/pgroups/{pgroup}/runs/{run}")
def update_run(beamline: Beamline, pgroup: PGroup, run: int, entries: dict[str, Any]):
pass
# lib.update_row(pgroup, run, entries)
# grids[pgroup].update_row(run, entries)