code: def from_dict(cls, d: dict):
      data = d[cls._DATA]
      if cls._META in d:
          meta = d[cls._META]
      else:
          meta = None
      return cls(data, meta)
  
imports: from typing import Optional
label_desc: Use image node_id 3 for calling the ModelIO obj's underlying member method code with example usage: obj.from_dict(cls, d) and returns: cls