
    -ji                     6    S SK r  " S S\ R                  5      rg)    Nc                   f    \ rS rSrSrSrSrSrSrSr	\
R                  R                  rS\4S jrS	rg
)
TrialState   a  State of a :class:`~optuna.trial.Trial`.

Attributes:
    RUNNING:
        The :class:`~optuna.trial.Trial` is running.
    WAITING:
        The :class:`~optuna.trial.Trial` is waiting and unfinished.
    COMPLETE:
        The :class:`~optuna.trial.Trial` has been finished without any error.
    PRUNED:
        The :class:`~optuna.trial.Trial` has been pruned with
        :class:`~optuna.exceptions.TrialPruned`.
    FAIL:
        The :class:`~optuna.trial.Trial` has failed due to an uncaught error.
r            returnc                 \    U [         R                  :g  =(       a    U [         R                  :g  $ )zReturn a bool value to represent whether the trial state is unfinished or not.

The unfinished state is either ``RUNNING`` or ``WAITING``.
)r   RUNNINGWAITING)selfs    M/home/james-whalen/.local/lib/python3.13/site-packages/optuna/trial/_state.pyis_finishedTrialState.is_finished   s%     z)))Hdj6H6H.HH     N)__name__
__module____qualname____firstlineno____doc__r   COMPLETEPRUNEDFAILr   enumEnum__str__boolr   __static_attributes__r   r   r   r   r      s?      GHFDGiiGIT Ir   r   )r   IntEnumr   r   r   r   <module>r!      s    I Ir   