def _s3walk(self):
    if self.data is None:
      # XXX Calling s4cmd s3walk() cause race condition in thread pool.
      #     use boto library directly here for now. Will fit it later.
      conn = S3Connection(*S3Handler.S3_KEYS)
      s3url = S3URL(self.path)
      bucket = conn.lookup(s3url.bucket)
      self.data = []
      for key in  bucket.list(s3url.path, PATH_SEP):
        self.data.append(key)
      conn.close()

    return self.data
Walk s3 path to get detailed information, cache the result.
dataset/ETHPy150Open bloomreach/briefly/src/briefly/fs.py/S3FileSystem._s3walk