code: def from_dict(cls, d):
          
          def _from_dict(_d):
              return AdfKey.from_dict(_d) if _d is not None else None
  
          operation = d.get("operation")
          title = d.get("title")
          basis_set = _from_dict(d.get("basis_set"))
          xc = _from_dict(d.get("xc"))
          units = _from_dict(d.get("units"))
          scf = _from_dict(d.get("scf"))
          others = [AdfKey.from_dict(o) for o in d.get("others", [])]
          geo = _from_dict(d.get("geo"))
  
          return cls(operation, basis_set, xc, title, units, geo.subkeys, scf,
                     others)
docs: Construct a MSONable AdfTask object from the JSON dict.
  
          Parameters
          ----------
          d : dict
              A dict of saved attributes.
  
          Returns
          -------
          task : AdfTask
              An AdfTask object recovered from the JSON dict ``d``.