From 681923e3f70ae28f4c902499a6637ad24989dca2 Mon Sep 17 00:00:00 2001 From: Hussain Nagaria Date: Tue, 24 Mar 2026 15:29:15 +0530 Subject: [PATCH] chore: ignore semgrep on batch details whitelisted method --- lms/lms/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/lms/utils.py b/lms/lms/utils.py index b12e16d3..83bad81b 100644 --- a/lms/lms/utils.py +++ b/lms/lms/utils.py @@ -1089,7 +1089,7 @@ def get_neighbour_lesson(course: str, chapter: int, lesson: int) -> dict: @frappe.whitelist(allow_guest=True) @rate_limit(limit=500, seconds=60 * 60) -def get_batch_details(batch: str): +def get_batch_details(batch: str): # nosemgrep: frappe-semgrep-rules.rules.security.guest-whitelisted-method if not guest_access_allowed(): return {}