StructField.name

Returns the name of the struct field.

property name : str

Query Example

from glider import *


def query():
  contracts = Contracts().with_name("DefaultReserveInterestRateStrategy").exec(1)

  for contract in contracts:
    for struct in contract.structs().exec():
      for struct_field in struct.fields:
        print(struct_field.name)

  return contracts

Example Output

Last updated