chore: ignore semgrep on batch details whitelisted method

This commit is contained in:
Hussain Nagaria
2026-03-24 15:29:15 +05:30
parent e7d2594142
commit 681923e3f7
+1 -1
View File
@@ -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 {}