Adds a filter to get contracts that have a struct with the given name.
Last updated 7 days ago
with_struct_name(name: str, sensitivity: bool = True) β Contracts
with_struct_name(name: str, sensitivity: bool = True) β
Contracts
from glider import * def query(): contracts = ( Contracts() .with_struct_name("User") .exec(1)) structs = contracts[0].structs().exec() for struct in structs: print(struct.name) return contracts