code: def from_dict(cls, d):
      if d:
          object_type = list(d.keys())[0]
          obj_data = cls(None, None, object_type, as_list=False)
          obj_data._data_dict = d.pop(object_type, {})
          return obj_data
      else:
          return None
  
imports: from collections import defaultdict
  import os
  import eta.core.serial
  import fiftyone.core.odm.dataset
label_desc: Use image node_id 5 for calling the OpenLABELObjectData obj's underlying member method code with example usage: obj.from_dict(cls, d) and returns: obj_data, None