@property
def trial_id(self):
    'Return the trial ID.\n\n        .. deprecated:: 0.19.0\n            The direct use of this attribute is deprecated and it is recommended that you use\n            :attr:`~optuna.trial.FrozenTrial.number` instead.\n\n        Returns:\n            The trial ID.\n        '
    warnings.warn('The use of `FrozenTrial.trial_id` is deprecated. Please use `FrozenTrial.number` instead.', DeprecationWarning)
    logger = logging.get_logger(__name__)
    logger.warning('The use of `FrozenTrial.trial_id` is deprecated. Please use `FrozenTrial.number` instead.')
    return self._trial_id
Return the trial ID.

.. deprecated:: 0.19.0
    The direct use of this attribute is deprecated and it is recommended that you use
    :attr:`~optuna.trial.FrozenTrial.number` instead.

Returns:
    The trial ID.
@property
def trial_id(self):
    'Return the trial ID.\n\n        .. deprecated:: 0.19.0\n            The direct use of this attribute is deprecated and it is recommended that you use\n            :attr:`~optuna.trial.FrozenTrial.number` instead.\n\n        Returns:\n            The trial ID.\n        '
    warnings.warn('The use of `FrozenTrial.trial_id` is deprecated. Please use `FrozenTrial.number` instead.', DeprecationWarning)
    logger = logging.get_logger(__name__)
    logger.warning('The use of `FrozenTrial.trial_id` is deprecated. Please use `FrozenTrial.number` instead.')
    return self._trial_id