Returns Contracts object for the contracts from which the contract was inherited directly.
Last updated 6 days ago
parent_contracts() β Contracts
parent_contracts() β
Contracts
from glider import * def query(): contracts = Contracts().exec(1,1) for contract in contracts: parent_contracts = contract.parent_contracts().exec() for parent_contract in parent_contracts: print(parent_contract.name) return contracts