import gzip
import io


def decompress(data):
    """Decompress a gzip compressed string in one shot.
    Return the decompressed string.
    """

    with gzip.GzipFile(fileobj=io.BytesIO(data)) as f:
        data = f.read()

    return data