tencentcloud-sdk-python-live 3.1.29__tar.gz → 3.1.31__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_live-3.1.29 → tencentcloud_sdk_python_live-3.1.31}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_live-3.1.29 → tencentcloud_sdk_python_live-3.1.31}/setup.py +1 -1
  3. {tencentcloud_sdk_python_live-3.1.29 → tencentcloud_sdk_python_live-3.1.31}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_live-3.1.29 → tencentcloud_sdk_python_live-3.1.31}/tencentcloud/live/v20180801/live_client.py +23 -0
  5. {tencentcloud_sdk_python_live-3.1.29 → tencentcloud_sdk_python_live-3.1.31}/tencentcloud/live/v20180801/live_client_async.py +18 -0
  6. {tencentcloud_sdk_python_live-3.1.29 → tencentcloud_sdk_python_live-3.1.31}/tencentcloud/live/v20180801/models.py +34 -0
  7. {tencentcloud_sdk_python_live-3.1.29 → tencentcloud_sdk_python_live-3.1.31}/tencentcloud_sdk_python_live.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_live-3.1.31/tencentcloud_sdk_python_live.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_live-3.1.29/tencentcloud_sdk_python_live.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_live-3.1.29 → tencentcloud_sdk_python_live-3.1.31}/README.rst +0 -0
  11. {tencentcloud_sdk_python_live-3.1.29 → tencentcloud_sdk_python_live-3.1.31}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_live-3.1.29 → tencentcloud_sdk_python_live-3.1.31}/tencentcloud/live/__init__.py +0 -0
  13. {tencentcloud_sdk_python_live-3.1.29 → tencentcloud_sdk_python_live-3.1.31}/tencentcloud/live/v20180801/__init__.py +0 -0
  14. {tencentcloud_sdk_python_live-3.1.29 → tencentcloud_sdk_python_live-3.1.31}/tencentcloud/live/v20180801/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_live-3.1.29 → tencentcloud_sdk_python_live-3.1.31}/tencentcloud_sdk_python_live.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_live-3.1.29 → tencentcloud_sdk_python_live-3.1.31}/tencentcloud_sdk_python_live.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_live-3.1.29 → tencentcloud_sdk_python_live-3.1.31}/tencentcloud_sdk_python_live.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-live
3
- Version: 3.1.29
3
+ Version: 3.1.31
4
4
  Summary: Tencent Cloud Live SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.29
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.31
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-live',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.29,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.31,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Live SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.29'
17
+ __version__ = '3.1.31'
@@ -281,6 +281,29 @@ class LiveClient(AbstractClient):
281
281
  raise TencentCloudSDKException(type(e).__name__, str(e))
282
282
 
283
283
 
284
+ def CreateAuditKeywordLib(self, request):
285
+ r"""创建关键词库,直播审核功能使用。
286
+
287
+ :param request: Request instance for CreateAuditKeywordLib.
288
+ :type request: :class:`tencentcloud.live.v20180801.models.CreateAuditKeywordLibRequest`
289
+ :rtype: :class:`tencentcloud.live.v20180801.models.CreateAuditKeywordLibResponse`
290
+
291
+ """
292
+ try:
293
+ params = request._serialize()
294
+ headers = request.headers
295
+ body = self.call("CreateAuditKeywordLib", params, headers=headers)
296
+ response = json.loads(body)
297
+ model = models.CreateAuditKeywordLibResponse()
298
+ model._deserialize(response["Response"])
299
+ return model
300
+ except Exception as e:
301
+ if isinstance(e, TencentCloudSDKException):
302
+ raise
303
+ else:
304
+ raise TencentCloudSDKException(type(e).__name__, str(e))
305
+
306
+
284
307
  def CreateAuditKeywords(self, request):
285
308
  r"""创建关键词,并关联到关键词库。
286
309
 
@@ -225,6 +225,24 @@ class LiveClient(AbstractClient):
225
225
 
226
226
  return await self.call_and_deserialize(**kwargs)
227
227
 
228
+ async def CreateAuditKeywordLib(
229
+ self,
230
+ request: models.CreateAuditKeywordLibRequest,
231
+ opts: Dict = None,
232
+ ) -> models.CreateAuditKeywordLibResponse:
233
+ """
234
+ 创建关键词库,直播审核功能使用。
235
+ """
236
+
237
+ kwargs = {}
238
+ kwargs["action"] = "CreateAuditKeywordLib"
239
+ kwargs["params"] = request._serialize()
240
+ kwargs["resp_cls"] = models.CreateAuditKeywordLibResponse
241
+ kwargs["headers"] = request.headers
242
+ kwargs["opts"] = opts or {}
243
+
244
+ return await self.call_and_deserialize(**kwargs)
245
+
228
246
  async def CreateAuditKeywords(
229
247
  self,
230
248
  request: models.CreateAuditKeywordsRequest,
@@ -5670,6 +5670,40 @@ class CopyCasterResponse(AbstractModel):
5670
5670
  self._RequestId = params.get("RequestId")
5671
5671
 
5672
5672
 
5673
+ class CreateAuditKeywordLibRequest(AbstractModel):
5674
+ r"""CreateAuditKeywordLib请求参数结构体
5675
+
5676
+ """
5677
+
5678
+
5679
+ class CreateAuditKeywordLibResponse(AbstractModel):
5680
+ r"""CreateAuditKeywordLib返回参数结构体
5681
+
5682
+ """
5683
+
5684
+ def __init__(self):
5685
+ r"""
5686
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5687
+ :type RequestId: str
5688
+ """
5689
+ self._RequestId = None
5690
+
5691
+ @property
5692
+ def RequestId(self):
5693
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5694
+ :rtype: str
5695
+ """
5696
+ return self._RequestId
5697
+
5698
+ @RequestId.setter
5699
+ def RequestId(self, RequestId):
5700
+ self._RequestId = RequestId
5701
+
5702
+
5703
+ def _deserialize(self, params):
5704
+ self._RequestId = params.get("RequestId")
5705
+
5706
+
5673
5707
  class CreateAuditKeywordsRequest(AbstractModel):
5674
5708
  r"""CreateAuditKeywords请求参数结构体
5675
5709
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-live
3
- Version: 3.1.29
3
+ Version: 3.1.31
4
4
  Summary: Tencent Cloud Live SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.29
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.31
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.31
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.29