code: def type_incompatible_spread_message(
      frag_name, parent_type, frag_type
  ):
      return "Fragment {} cannot be spread here as objects of type {} can never be of type {}".format(
          frag_name, parent_type, frag_type
      )
  
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 4 for calling the PossibleFragmentSpreads obj's underlying member method code with example usage: obj.type_incompatible_spread_message(frag_name, parent_type, frag_type) and returns: str