def METHOD_NAME(self, uid: int) -> TrialInterface:
    """Fetches a single trial.
    Args:
      uid: Unique identifier of the trial within study.
    Returns:
      Trial.
    Raises:
      ResourceNotFoundError: If trial does not exist.
    """