Add a comment line for the default query values

This commit is contained in:
nabenabe0928 committed 2024-01-19 09:01:15 +01:00
1 parent 5bd1d5538a
commit bef9fb9e27
1 file changed
+1
+1
View File
@@ -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: