code: def get_record(self, ase, key=None, lock=True):
          # type: (_BaseResumeManager, str, bool) -> object
          
          if key is None:
              key = blobxfer.operations.resume._BaseResumeManager.\
                  generate_record_key(ase)
          with self.datalock(lock):
              try:
                  return self._data[key]
              except KeyError:
                  return None
docs: Get a resume record
          :param _BaseResumeManager self: this
          :param blobxfer.models.azure.StorageEntity ase: Storage Entity
          :param str key: record key
          :param bool lock: acquire lock
          :rtype: object
          :return: resume record object