code: def _print_type(type):
      if isinstance(type, GraphQLScalarType):
          return _print_scalar(type)
  
      elif isinstance(type, GraphQLObjectType):
          return _print_object(type)
  
      elif isinstance(type, GraphQLInterfaceType):
          return _print_interface(type)
  
      elif isinstance(type, GraphQLUnionType):
          return _print_union(type)
  
      elif isinstance(type, GraphQLEnumType):
          return _print_enum(type)
  
      assert isinstance(type, GraphQLInputObjectType)
      return _print_input_object(type)
  
imports: from ..language.printer import print_ast
  from ..type.definition import GraphQLEnumType, GraphQLInputObjectType, GraphQLInterfaceType, GraphQLObjectType, GraphQLScalarType, GraphQLUnionType
  from ..type.directives import DEFAULT_DEPRECATION_REASON
  from .ast_from_value import ast_from_value
label_desc: Use image node_id 9 for calling a global function with example usage: _print_type(type) and returns: _print_input_object, _print_scalar, _print_object, _print_interface, _print_union, _print_enum