mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-10-08 12:18:58 +08:00
Add a comment line for the default query values
This commit is contained in:
1 parent
5bd1d5538a
commit
bef9fb9e27
1 file changed
+1
@@ -191,6 +191,7 @@ def create_app(
|
||||
@app.get("/api/studies/<study_id:int>")
|
||||
@json_api_view
|
||||
def get_study_detail(study_id: int) -> dict[str, Any]:
|
||||
# Use the following default values if not specified in request.params.
|
||||
query_params = dict(after=0, limit=1000)
|
||||
for query_key in query_params:
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user