Skip to content

Commit

Permalink
adding cahcing to testcases route in backend api
Browse files Browse the repository at this point in the history
  • Loading branch information
ooemperor committed May 19, 2024
1 parent c6aae7d commit 813bf84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions codeGrader/backend/api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,7 @@ def testcase(id_) -> dict:


@app.route("/testcases", methods=['GET'])
@cache.cached(config.cache_timeout, unless=cache_bypass, query_string=True)
@authentication
def testcases() -> dict:
"""
Expand Down

0 comments on commit 813bf84

Please sign in to comment.