Skip to content

Commit

Permalink
Merge pull request #397 from qiniu/enhance
Browse files Browse the repository at this point in the history
去掉bucket_name注释
  • Loading branch information
Mei-Zhao authored May 26, 2021
2 parents fabc8c5 + d385c08 commit 2689f34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qiniu/services/storage/uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def put_file(up_token, key, file_path, params=None,
hostscache_dir: host请求 缓存文件保存位置
version 分片上传版本 目前支持v1/v2版本 默认v1
part_size 分片上传v2必传字段 默认大小为4MB 分片大小范围为1 MB - 1 GB
bucket_name 分片上传v2字段必传字段 空间名称
bucket_name 分片上传v2字段 空间名称
Returns:
一个dict变量,类似 {"hash": "<Hash string>", "key": "<Key string>"}
Expand Down Expand Up @@ -162,7 +162,7 @@ class _Resume(object):
hostscache_dir: host请求 缓存文件保存位置
version 分片上传版本 目前支持v1/v2版本 默认v1
part_size 分片上传v2必传字段 分片大小范围为1 MB - 1 GB
bucket_name 分片上传v2字段必传字段 空间名称
bucket_name 分片上传v2字段 空间名称
"""

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

0 comments on commit 2689f34

Please sign in to comment.