util/python/alibabacloud_ha3_util/client.py (13 lines of code) (raw):
# -*- coding: utf-8 -*-
# This file is auto-generated, don't edit it. Thanks.
class Client:
"""
Compress data by specified compress type, use isCompressorAvailable to check if the compress type is supported.
@param src the data to be compressed
@param compressType the compress type
@return the compressed data
@throws error if the compress type is not supported or the compress failed
"""
def __init__(self):
pass
@staticmethod
def deflate_compress(
src: bytes,
) -> bytes:
raise Exception('Un-implemented')
@staticmethod
async def deflate_compress_async(
src: bytes,
) -> bytes:
raise Exception('Un-implemented')