Functions.with_one_of_the_modifier_name_regexes()

with_one_of_the_modifier_name_regexes(regexes: List[str]) → Functions

Adds a filter to get functions that have a modifier whose name matches one of the given regexes.

Example

from glider import *

def query():
  
  # Fetch a list of functions with modifiers matching regex list
  functions = Functions().with_one_of_the_modifier_name_regexes(['^only.*', 'admin']).exec(10)

  return functions

Output

Last updated