code: def discover(self):
          
          self._load_metadata()
  
          return dict(datashape=self.datashape,
                      dtype=self.dtype,
                      shape=self.shape,
                      npartitions=self.npartitions,
                      metadata=self.metadata)
docs: Open resource and populate the source attributes.