def METHOD_NAME(self) -> Union[DeclarativeMeta, AliasedClass]:
    """_summary_
    Returns:
        Union[DeclarativeMeta, AliasedClass]: _description_
    """
    if not self.sampler:
        raise RuntimeError(
            "You must create a sampler first `<instance>.create_sampler(...)`."
        )
    return self.sampler.random_sample()