Sometimes in custom APP frappe's whitelist API can be use in different way.
Example 1:
import frappe
@frappe.whitelist()
def test():
pass
Example 2:
from frappe import whitelist
@whitelist()
def test():
pass
Or may possible other decorator is used and in that decorator whitelisting done
Example 3:
@api_wrapper()
def test():
pass
Currently here,
|
def find_all_occurrences_of_whitelist(path: str, app_name: str): |
only checks for
@frappe.whitelist
Sometimes in custom APP frappe's
whitelistAPI can be use in different way.Example 1:
Example 2:
Or may possible other decorator is used and in that decorator whitelisting done
Example 3:
Currently here,
commit/commit/commit/code_analysis/apis.py
Line 11 in ae0c24d
@frappe.whitelist