added stubs for set_run and update_run
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user