Skip to content

Commit

Permalink
Better function names for API
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmkenney committed Dec 5, 2023
1 parent 5583eea commit 6208602
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alchemiscale/interface/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ def cancel_tasks(


@router.post("/bulk/tasks/priority/get")
def tasks_priority_get(
def get_tasks_priority(
*,
tasks: List[ScopedKey] = Body(embed=True),
n4js: Neo4jStore = Depends(get_n4js_depends),
Expand All @@ -530,7 +530,7 @@ def tasks_priority_get(


@router.post("/bulk/tasks/priority/set")
def tasks_priority_set(
def set_tasks_priority(
*,
tasks: List[ScopedKey] = Body(embed=True),
priority: int = Body(embed=True),
Expand Down

0 comments on commit 6208602

Please sign in to comment.