class_docstr: Callback that records events into a `History` object.
  This callback is automatically applied to
  every SuperModule.
  
  Parameters
  ---------
  trainer : DeepRecoModel
      Model class to train
  verbose : int
      Print results every verbose iteration
class_docstr_tok: ["Callback","that","records","events","into","a","`","History","`","object",".","This","callback","is","automatically","applied","to","every","SuperModule",".","Parameters","--","--","--","--","-","trainer",":","DeepRecoModel","Model","class","to","train","verbose",":","int","Print","results","every","verbose","iteration"]
code: def __getitem__(self, name):
      return self.history[name]
  
imports: import time
  import datetime
  import copy
  import numpy
  from dataclasses import dataclass, field
  from typing import List, Any
  import warnings
label_desc: Use image node_id 6 for calling the History obj's underlying member method code with example usage: obj.__getitem__(name) and returns: self