Beispiel #1
0
    def __init__(self, public_key, private_key):
        """
        初始化 BucketManager 实例

        @param public_key: string类型, 账户API公私钥的公钥
        @param private_key: string类型,账户API公私钥的私钥
        @return None,如果为非法的公私钥则抛出ValueError异常
        """
        self.__auth = Auth(public_key, private_key)