Contracts.with_name_regex()
Adds a filter to get contracts whose names match the given regex.
with_name_regex(
regex: str
) ->
Contracts
Query Example
from glider import *
def query():
non_interface_contract = Contracts().with_name_regex('^[^I][^A-Z].*').exec(1)
return non_interface_contract
Output Example

Last updated