seitime-frappe/frappe/api
Ankush Menat 55a55e7f7b
perf: Avoid checking server script map (#29057)
If I have to hazard a guess, 99% API calls are not server scripts, then
why check it first and pay the costs?

This PR first checks if method is a real method in python code and if
it's not found then only attempts to fetch it from server script map.

I'll revert this if I can bring the costs in acceptable limits with
client-side caching.
2025-01-06 07:40:20 +00:00
..
__init__.py fix: assume v1 if path is not set 2023-10-16 18:13:50 +05:30
utils.py chore: separate out v1 and v2 2023-10-16 18:12:53 +05:30
v1.py refactor: use doc.check_permission (#28317) 2024-11-22 10:41:24 +01:00
v2.py perf: Avoid checking server script map (#29057) 2025-01-06 07:40:20 +00:00