code: def enter_InlineFragment(self, node, key, parent, path, ancestors):
      frag_type = self.context.get_type()
      parent_type = self.context.get_parent_type()
      schema = self.context.get_schema()
      if (
          frag_type
          and parent_type
          and not do_types_overlap(schema, frag_type, parent_type)
      ):
          self.context.report_error(
              GraphQLError(
                  self.type_incompatible_anon_spread_message(
                      parent_type, frag_type
                  ),
                  [node],
              )
          )
  
file_path: wandb/wandb/vendor/graphql-core-1.1/wandb_graphql/validation/rules/possible_fragment_spreads.py
imports: from ...error import GraphQLError
  from ...utils.type_comparators import do_types_overlap
  from ...utils.type_from_ast import type_from_ast
  from .base import ValidationRule
label_desc: Use image node_id 1 for calling the PossibleFragmentSpreads obj's underlying member method code with example usage: obj.enter_InlineFragment(node, key, parent, path, ancestors) without return types