code: def enter_VariableDefinition(
      self, node, key, parent, path, ancestors
  ):
      type = type_from_ast(self.context.get_schema(), node.type)
  
      if type and not is_input_type(type):
          self.context.report_error(
              GraphQLError(
                  self.non_input_type_on_variable_message(
                      node.variable.name.value, print_ast(node.type)
                  ),
                  [node.type],
              )
          )
  
file_path: wandb/wandb/vendor/graphql-core-1.1/wandb_graphql/validation/rules/variables_are_input_types.py
imports: from ...error import GraphQLError
  from ...language.printer import print_ast
  from ...type.definition import is_input_type
  from ...utils.type_from_ast import type_from_ast
  from .base import ValidationRule
label_desc: Use image node_id 1 for calling the VariablesAreInputTypes obj's underlying member method code with example usage: obj.enter_VariableDefinition(node, key, parent, path, ancestors) without return types