class_docstr: Exception raised when a sample is duplicated.
class_docstr_tok: ["Exception","raised","when","a","sample","is","duplicated","."]
code: def __init__(self, sample):
      super().__init__(f"Duplicated sample found: {sample}")
  
file_path: nni/nni/nas/strategy/utils.py
imports: from __future__ import annotations
  import logging
  from typing import Any, Type, TypeVar, Callable
  from nni.mutable import SampleValidationError
label_desc: Use image node_id 1 to create a new DuplicationError object from inherited base classes: SampleValidationError with example: obj = DuplicationError(sample)