File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/galaxy/webapps/galaxy/api Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11"""
2- API for asynchronous job running mechanisms can use to fetch or put files related to running and queued jobs.
2+ API that asynchronous job running mechanisms can use to fetch or put files related to running and queued jobs.
33"""
44
55import logging
@@ -60,7 +60,7 @@ def path_query_or_form(
6060
6161 This method does not force the client to provide the parameter, it could simply not submit the parameter in either
6262 format. To force the client to provide the parameter, coerce the output of the method to a string, i.e.
63- `path: str = Depends(path_query_or_form)` so that FastAPI responds with status code 500 when the parameter is not
63+ `path: str = Depends(path_query_or_form)` so that FastAPI responds with status code 400 when the parameter is not
6464 provided.
6565 """
6666 return path_query or path
@@ -92,7 +92,7 @@ def job_key_query_or_form(
9292
9393 This method does not force the client to provide the parameter, it could simply not submit the parameter in either
9494 format. To force the client to provide the parameter, coerce the output of the method to a string, i.e.
95- `job_key: str = Depends(job_key_query_or_form)` so that FastAPI responds with status code 500 when the parameter is
95+ `job_key: str = Depends(job_key_query_or_form)` so that FastAPI responds with status code 400 when the parameter is
9696 not provided.
9797 """
9898 return job_key_query or job_key
You can’t perform that action at this time.
0 commit comments