def __init__(self, *args, **kwargs):
    message = 'The use of `optuna.structs.TrialPruned` is deprecated. Please use `optuna.exceptions.TrialPruned` instead.'
    warnings.warn(message, DeprecationWarning)
    logger = logging.get_logger(__name__)
    logger.warning(message)
def __init__(self, *args, **kwargs):
    message = 'The use of `optuna.structs.TrialPruned` is deprecated. Please use `optuna.exceptions.TrialPruned` instead.'
    warnings.warn(message, DeprecationWarning)
    logger = logging.get_logger(__name__)
    logger.warning(message)