MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / clear_logs

Function clear_logs

tools/mock-cf-dns-api/app.py:846–849  ·  view source on GitHub ↗

Clear request logs.

()

Source from the content-addressed store, hash-verified

844
845@app.route("/api/logs", methods=["DELETE"])
846def clear_logs():
847 """Clear request logs."""
848 request_logs.clear()
849 return jsonify({"success": True})
850
851
852@app.route("/api/records", methods=["GET"])

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected