code: def enter_OperationDefinition(
      self, node, key, parent, path, ancestors
  ):
      operation_name = node.name
      if not operation_name:
          return
  
      if operation_name.value in self.known_operation_names:
          self.context.report_error(
              GraphQLError(
                  self.duplicate_operation_name_message(
                      operation_name.value
                  ),
                  [
                      self.known_operation_names[operation_name.value],
                      operation_name,
                  ],
              )
          )
      else:
          self.known_operation_names[
              operation_name.value
          ] = operation_name
      return False
  
file_path: wandb/wandb/vendor/graphql-core-1.1/wandb_graphql/validation/rules/unique_operation_names.py
imports: from ...error import GraphQLError
  from .base import ValidationRule
label_desc: Use image node_id 2 for calling the UniqueOperationNames obj's underlying member method code with example usage: obj.enter_OperationDefinition(node, key, parent, path, ancestors) and returns: False