code: def enter_VariableDefinition(
      self, node, key, parent, path, ancestors
  ):
      variable_name = node.variable.name.value
      if variable_name in self.known_variable_names:
          self.context.report_error(
              GraphQLError(
                  self.duplicate_variable_message(variable_name),
                  [
                      self.known_variable_names[variable_name],
                      node.variable.name,
                  ],
              )
          )
      else:
          self.known_variable_names[variable_name] = node.variable.name
  
file_path: wandb/wandb/vendor/graphql-core-1.1/wandb_graphql/validation/rules/unique_variable_names.py
imports: from ...error import GraphQLError
  from .base import ValidationRule
label_desc: Use image node_id 3 for calling the UniqueVariableNames obj's underlying member method code with example usage: obj.enter_VariableDefinition(node, key, parent, path, ancestors) without return types