Skip to content

Commit 2689f34

Browse files
authored
Merge pull request #397 from qiniu/enhance
去掉bucket_name注释
2 parents fabc8c5 + d385c08 commit 2689f34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qiniu/services/storage/uploader.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def put_file(up_token, key, file_path, params=None,
6262
hostscache_dir: host请求 缓存文件保存位置
6363
version 分片上传版本 目前支持v1/v2版本 默认v1
6464
part_size 分片上传v2必传字段 默认大小为4MB 分片大小范围为1 MB - 1 GB
65-
bucket_name 分片上传v2字段必传字段 空间名称
65+
bucket_name 分片上传v2字段 空间名称
6666
6767
Returns:
6868
一个dict变量,类似 {"hash": "<Hash string>", "key": "<Key string>"}
@@ -162,7 +162,7 @@ class _Resume(object):
162162
hostscache_dir: host请求 缓存文件保存位置
163163
version 分片上传版本 目前支持v1/v2版本 默认v1
164164
part_size 分片上传v2必传字段 分片大小范围为1 MB - 1 GB
165-
bucket_name 分片上传v2字段必传字段 空间名称
165+
bucket_name 分片上传v2字段 空间名称
166166
"""
167167

168168
def __init__(self, up_token, key, input_stream, file_name, data_size, hostscache_dir, params, mime_type,

0 commit comments

Comments
 (0)