

def enter_InlineFragment(self, node):
    type_condition_ast = node.type_condition
    type = (type_from_ast(self._schema, type_condition_ast) if type_condition_ast else self.get_type())
    self._type_stack.append(type)

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