Skip to content

Feature Request: Use dynamic filters to get list of APIs #95

Description

@Abdeali099

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions