code: def _get_ds_meta(self, ds: hub.Dataset):
      return {
          "path": ds.path,
          "version": ds.meta.version,
          "info": ds.info._info,  # Info might contain keys such as "description" and "title"
          "tensors": {
              k: self._tensor_meta(v) for k, v in ds.tensors.items()
          },
          "num_samples": len(ds),
      }
  
imports: from aim.storage.object import CustomObject
  import hub
label_desc: Use image node_id 2 for calling the HubDataset obj's underlying member method code with example usage: obj._get_ds_meta(ds) and returns: dict