

def enter_Field(self, node):
    parent_type = self.get_parent_type()
    field_def = None
    if parent_type:
        field_def = self._get_field_def_fn(self._schema, parent_type, node)
    self._field_def_stack.append(field_def)
    self._type_stack.append((field_def and field_def.type))

dataset/ETHPy150Open graphql-python/graphql-core/graphql/core/utils/type_info.py TypeInfo.enter_Field/original