code: def ingest_volumes_param(self, volumes):
          
          data = {}
  
          for volume in volumes:
              if volume.get('host', {}).get('sourcePath'):
                  data[volume.get('name')] = {
                      'path': volume.get('host', {}).get('sourcePath'),
                      'readonly': volume.get('readOnly', False)
                  }
              else:
                  data[volume.get('name')] = {
                      'path': '/tmp/{}'.format(uuid.uuid4().hex[:8]),
                      'readonly': volume.get('readOnly', False)
                  }
          return data
docs: This is for ingesting the "volumes" of a task description