Skip to content

Commit 5da758e

Browse files
committed
✨ Update get_solver function signature to improve clarity
1 parent 13c775e commit 5da758e

File tree

1 file changed

+1
-1
lines changed
  • services/api-server/src/simcore_service_api_server/api/routes

1 file changed

+1
-1
lines changed

services/api-server/src/simcore_service_api_server/api/routes/solvers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ async def get_solver(
156156
solver_service: Annotated[SolverService, Depends(SolverService)],
157157
url_for: Annotated[Callable, Depends(get_reverse_url_mapper)],
158158
product_name: Annotated[str, Depends(get_product_name)],
159-
) -> Solver:
159+
):
160160
"""Gets latest release of a solver"""
161161
# IMPORTANT: by adding /latest, we avoid changing the order of this entry in the router list
162162
# otherwise, {solver_key:path} will override and consume any of the paths that follow.

0 commit comments

Comments
 (0)