class_docstr: Internal record evaluation callable class.
class_docstr_tok: ["Internal","record","evaluation","callable","class","."]
code: def __init__(self, eval_result: _EvalResultDict) -> None:
      self.order = 20
      self.before_iteration = False
  
      if not isinstance(eval_result, dict):
          raise TypeError("eval_result should be a dictionary")
      self.eval_result = eval_result
  
imports: from collections import OrderedDict
  from dataclasses import dataclass
  from functools import partial
  from typing import TYPE_CHECKING, Any, Callable, Dict, List, Optional, Union
  from .basic import Booster, _ConfigAliases, _LGBM_BoosterEvalMethodResultType, _LGBM_BoosterEvalMethodResultWithStandardDeviationType, _log_info, _log_warning
label_desc: Use image node_id 1 to create a new _RecordEvaluationCallback object  with example: obj = _RecordEvaluationCallback(eval_result)