def __init__(self, bucket_name, cos_path): """ 类初始化 :param bucket_name: bucket的名称 :param cos_path: cos的绝对路径, 即从bucket下的根/开始 """ self._bucket_name = bucket_name.strip() self._cos_path = cos_path.strip() self._param_check = ParamCheck()
def __init__(self, bucket_name, cos_path): self._bucket_name = bucket_name.strip() self._cos_path = cos_path.strip() self._param_check = ParamCheck()
def __init__(self, appid, secret_id, secret_key): self._appid = appid self._secret_id = secret_id self._secret_key = secret_key self._param_check = ParamCheck()