class_docstr: 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.
class_docstr_tok: ["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","."]
code: def __repr__(self) -> str:
      return str(self)
  
imports: import enum
label_desc: Use image node_id 1 for calling the TrialState obj's underlying member method code with example usage: obj.__repr__() and returns: str