Contract.derived_contracts()
Returns Contracts object for the contracts which were derived from the contract.
derived_contracts() →
Contracts
Example query
from glider import *
def query():
contracts = Contracts().exec(1)
for contract in contracts:
derived_contracts = contract.derived_contracts().exec()
print(f"Contract name: {contract.name}")
for derived_contract in derived_contracts:
print(f"Derived contract name: {derived_contract.name}")
return []
Example Output

Last updated