code: def extend(self, validators: Iterable[RecordValidatorBase]) -> None:
      for new_validator in validators:
          for existing_validator in self._validators:
              if existing_validator.merge_with(new_validator):
                  break
          else:
              self._validators.append(new_validator)
      self._validators.sort(key=lambda item: item.priority)
  
file_path: hivemind/hivemind/dht/validation.py
imports: import dataclasses
  from abc import ABC, abstractmethod
  from typing import Iterable
label_desc: Use image node_id 2 for calling the CompositeValidator obj's underlying member method code with example usage: obj.extend(validators) without return types