Skip to content

Commit 9565401

Browse files
authored
Merge pull request #269 from 563750789/master
update ci demo
2 parents 83a1390 + 122253c commit 9565401

File tree

9 files changed

+19
-9
lines changed

9 files changed

+19
-9
lines changed

demo/ci_audit.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@
1111

1212
# 腾讯云COSV5Python SDK, 目前可以支持Python2.6与Python2.7以及Python3.x
1313

14-
# https://cloud.tencent.com/document/product/436/46782
14+
# 审核相关API 请参考如下文档
15+
# 图片审核 https://cloud.tencent.com/document/product/436/45434
16+
# 视频审核 https://cloud.tencent.com/document/product/436/47316
17+
# 音频审核 https://cloud.tencent.com/document/product/436/54063
18+
# 文本审核 https://cloud.tencent.com/document/product/436/56289
19+
# 文档审核 https://cloud.tencent.com/document/product/436/59381
1520

1621
logging.basicConfig(level=logging.INFO, stream=sys.stdout)
1722

@@ -308,4 +313,4 @@ def ci_auditing_report_badcase():
308313
# ci_get_object_sensitive_content_recognition()
309314
# ci_auditing_audio_submit()
310315
# ci_auditing_document_submit()
311-
ci_auditing_report_badcase()
316+
ci_auditing_report_badcase()

demo/ci_compress.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88

99
# 腾讯云COSV5Python SDK, 目前可以支持Python2.6与Python2.7以及Python3.x
1010

11-
# https://cloud.tencent.com/document/product/436/48987
11+
# 高级图片压缩 TPG压缩相关API请参考 https://cloud.tencent.com/document/product/460/60526
12+
# 高级图片压缩 HEIF压缩相关API请参考 https://cloud.tencent.com/document/product/460/60525
1213

1314
logging.basicConfig(level=logging.INFO, stream=sys.stdout)
1415

demo/ci_doc_preview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
# 腾讯云COSV5Python SDK, 目前可以支持Python2.6与Python2.7以及Python3.x
1111

12-
# https://cloud.tencent.com/document/product/436/46782
12+
# 文档预览相关API请参考 https://cloud.tencent.com/document/product/460/46942
1313

1414
logging.basicConfig(level=logging.INFO, stream=sys.stdout)
1515

demo/ci_file_process.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010

1111
# 腾讯云COSV5Python SDK, 目前可以支持Python2.6与Python2.7以及Python3.x
1212

13-
# https://cloud.tencent.com/document/product/436/46782
13+
# 哈希计算相关API请参考 https://cloud.tencent.com/document/product/460/83084
14+
# 文件压缩相关API请参考 https://cloud.tencent.com/document/product/460/83091
15+
# 文件解压相关API请参考 https://cloud.tencent.com/document/product/460/83087
1416

1517
logging.basicConfig(level=logging.INFO, stream=sys.stdout)
1618

demo/ci_image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# 腾讯云COSV5Python SDK, 目前可以支持Python2.6与Python2.7以及Python3.x
1717

18-
# https://cloud.tencent.com/document/product/436/46782
18+
# 图片处理相关API请参考 https://cloud.tencent.com/document/product/460/18147
1919

2020
logging.basicConfig(level=logging.INFO, stream=sys.stdout)
2121

demo/ci_media.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
# 腾讯云COSV5Python SDK, 目前可以支持Python2.6与Python2.7以及Python3.x
1212

13-
# https://cloud.tencent.com/document/product/436/48987
13+
# 媒体处理相关API请参考 https://cloud.tencent.com/document/product/460/84790
1414

1515
logging.basicConfig(level=logging.INFO, stream=sys.stdout)
1616

demo/ci_template.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212

1313
# 腾讯云COSV5Python SDK, 目前可以支持Python2.6与Python2.7以及Python3.x
1414

15-
# https://cloud.tencent.com/document/product/436/48987
15+
# 媒体处理模板相关API 请参考 https://cloud.tencent.com/document/product/460/84733
16+
# 媒体处理对不同类型的任务有不同的模板,此处指向转码模板
1617

1718
logging.basicConfig(level=logging.INFO, stream=sys.stdout)
1819

demo/ci_watermark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
# 腾讯云COSV5Python SDK, 目前可以支持Python2.6与Python2.7以及Python3.x
1010

11-
# https://cloud.tencent.com/document/product/436/46782
11+
# 图片盲水印相关API 请参考 https://cloud.tencent.com/document/product/436/46782
1212

1313
logging.basicConfig(level=logging.INFO, stream=sys.stdout)
1414

demo/demo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import sys
88
import logging
99

10+
# 基础图片处理相关API 请参考 https://cloud.tencent.com/document/product/460/36540
1011

1112
def percentage(consumed_bytes, total_bytes):
1213
"""进度条回调函数,计算当前上传的百分比

0 commit comments

Comments
 (0)