code: def __init__(self, params: dict[str, Any]) -> None:
      self.params = params
  
file_path: optuna/optuna/testing/samplers.py
imports: from __future__ import annotations
  from typing import Any
  import optuna
  from optuna.distributions import BaseDistribution
label_desc: Use image node_id 1 to create a new DeterministicSampler object from inherited base classes: optuna.samplers with example: obj = DeterministicSampler(params)