Returns Contracts object for the contracts from which the contract was inherited directly.
Last updated 1 month 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