tencentcloud-sdk-python-trtc 3.1.173__tar.gz → 3.1.175__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.
- {tencentcloud_sdk_python_trtc-3.1.173 → tencentcloud_sdk_python_trtc-3.1.175}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_trtc-3.1.173 → tencentcloud_sdk_python_trtc-3.1.175}/setup.py +1 -1
- {tencentcloud_sdk_python_trtc-3.1.173 → tencentcloud_sdk_python_trtc-3.1.175}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_trtc-3.1.173 → tencentcloud_sdk_python_trtc-3.1.175}/tencentcloud/trtc/v20190722/models.py +652 -6
- {tencentcloud_sdk_python_trtc-3.1.173 → tencentcloud_sdk_python_trtc-3.1.175}/tencentcloud/trtc/v20190722/trtc_client.py +23 -0
- {tencentcloud_sdk_python_trtc-3.1.173 → tencentcloud_sdk_python_trtc-3.1.175}/tencentcloud/trtc/v20190722/trtc_client_async.py +18 -0
- {tencentcloud_sdk_python_trtc-3.1.173 → tencentcloud_sdk_python_trtc-3.1.175}/tencentcloud_sdk_python_trtc.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_trtc-3.1.175/tencentcloud_sdk_python_trtc.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_trtc-3.1.173/tencentcloud_sdk_python_trtc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_trtc-3.1.173 → tencentcloud_sdk_python_trtc-3.1.175}/README.rst +0 -0
- {tencentcloud_sdk_python_trtc-3.1.173 → tencentcloud_sdk_python_trtc-3.1.175}/setup.cfg +0 -0
- {tencentcloud_sdk_python_trtc-3.1.173 → tencentcloud_sdk_python_trtc-3.1.175}/tencentcloud/trtc/__init__.py +0 -0
- {tencentcloud_sdk_python_trtc-3.1.173 → tencentcloud_sdk_python_trtc-3.1.175}/tencentcloud/trtc/v20190722/__init__.py +0 -0
- {tencentcloud_sdk_python_trtc-3.1.173 → tencentcloud_sdk_python_trtc-3.1.175}/tencentcloud/trtc/v20190722/errorcodes.py +0 -0
- {tencentcloud_sdk_python_trtc-3.1.173 → tencentcloud_sdk_python_trtc-3.1.175}/tencentcloud_sdk_python_trtc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_trtc-3.1.173 → tencentcloud_sdk_python_trtc-3.1.175}/tencentcloud_sdk_python_trtc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_trtc-3.1.173 → tencentcloud_sdk_python_trtc-3.1.175}/tencentcloud_sdk_python_trtc.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-trtc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.175
|
|
4
4
|
Summary: Tencent Cloud Trtc 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.175
|
|
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-trtc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.175,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Trtc SDK for Python',
|
|
@@ -1450,6 +1450,57 @@ class AudioParams(AbstractModel):
|
|
|
1450
1450
|
|
|
1451
1451
|
|
|
1452
1452
|
|
|
1453
|
+
class AudioSegments(AbstractModel):
|
|
1454
|
+
r"""音频分片时间
|
|
1455
|
+
|
|
1456
|
+
"""
|
|
1457
|
+
|
|
1458
|
+
def __init__(self):
|
|
1459
|
+
r"""
|
|
1460
|
+
:param _StartTime: <p>该参数用于返回对应语种标签的片段在音频文件内的开始时间,单位为秒。 示例值:0</p>
|
|
1461
|
+
:type StartTime: float
|
|
1462
|
+
:param _FinishTime: <p>该参数用于返回对应语种标签的片段在音频文件内的结束时间,单位为秒。 示例值:15</p>
|
|
1463
|
+
:type FinishTime: float
|
|
1464
|
+
"""
|
|
1465
|
+
self._StartTime = None
|
|
1466
|
+
self._FinishTime = None
|
|
1467
|
+
|
|
1468
|
+
@property
|
|
1469
|
+
def StartTime(self):
|
|
1470
|
+
r"""<p>该参数用于返回对应语种标签的片段在音频文件内的开始时间,单位为秒。 示例值:0</p>
|
|
1471
|
+
:rtype: float
|
|
1472
|
+
"""
|
|
1473
|
+
return self._StartTime
|
|
1474
|
+
|
|
1475
|
+
@StartTime.setter
|
|
1476
|
+
def StartTime(self, StartTime):
|
|
1477
|
+
self._StartTime = StartTime
|
|
1478
|
+
|
|
1479
|
+
@property
|
|
1480
|
+
def FinishTime(self):
|
|
1481
|
+
r"""<p>该参数用于返回对应语种标签的片段在音频文件内的结束时间,单位为秒。 示例值:15</p>
|
|
1482
|
+
:rtype: float
|
|
1483
|
+
"""
|
|
1484
|
+
return self._FinishTime
|
|
1485
|
+
|
|
1486
|
+
@FinishTime.setter
|
|
1487
|
+
def FinishTime(self, FinishTime):
|
|
1488
|
+
self._FinishTime = FinishTime
|
|
1489
|
+
|
|
1490
|
+
|
|
1491
|
+
def _deserialize(self, params):
|
|
1492
|
+
self._StartTime = params.get("StartTime")
|
|
1493
|
+
self._FinishTime = params.get("FinishTime")
|
|
1494
|
+
memeber_set = set(params.keys())
|
|
1495
|
+
for name, value in vars(self).items():
|
|
1496
|
+
property_name = name[1:]
|
|
1497
|
+
if property_name in memeber_set:
|
|
1498
|
+
memeber_set.remove(property_name)
|
|
1499
|
+
if len(memeber_set) > 0:
|
|
1500
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1501
|
+
|
|
1502
|
+
|
|
1503
|
+
|
|
1453
1504
|
class CloudModerationStorage(AbstractModel):
|
|
1454
1505
|
r"""腾讯云对象存储COS以及第三方云存储的账号信息
|
|
1455
1506
|
|
|
@@ -1999,6 +2050,345 @@ class ControlAIConversationResponse(AbstractModel):
|
|
|
1999
2050
|
self._RequestId = params.get("RequestId")
|
|
2000
2051
|
|
|
2001
2052
|
|
|
2053
|
+
class CreateAudioModerationSyncRequest(AbstractModel):
|
|
2054
|
+
r"""CreateAudioModerationSync请求参数结构体
|
|
2055
|
+
|
|
2056
|
+
"""
|
|
2057
|
+
|
|
2058
|
+
def __init__(self):
|
|
2059
|
+
r"""
|
|
2060
|
+
:param _Sdkappid: <p>sdkappid app账号</p>
|
|
2061
|
+
:type Sdkappid: int
|
|
2062
|
+
:param _BizType: <p>BizType为策略的具体的编号, GME业务 2_2_3_sdkappid</p>
|
|
2063
|
+
:type BizType: str
|
|
2064
|
+
:param _DataId: <p>据标识,可以由英文字母、数字、下划线、-、@#组成,不超过64个字符</p>
|
|
2065
|
+
:type DataId: str
|
|
2066
|
+
:param _FileFormat: <p>音频格式,当FileUrl为空时,必填。音频文件资源格式,当前支持格式:wav、mp3、m4a,请按照实际文件格式填入。 示例值:mp3</p>
|
|
2067
|
+
:type FileFormat: str
|
|
2068
|
+
:param _FileName: <p>文件名称,可以由英文字母、数字、下划线、-、@#组成,不超过64个字符 示例值:file_name</p>
|
|
2069
|
+
:type FileName: str
|
|
2070
|
+
:param _FileContent: <p>数据Base64编码,短音频同步接口仅传入可音频内容; 支持范围:文件大小不能超过5M,时长不可超过60s; 支持格式:wav (PCM编码)、mp3、m4a (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:16kHz/16bit/单声道)。 示例值:1</p>
|
|
2071
|
+
:type FileContent: str
|
|
2072
|
+
:param _FileUrl: <p>音频资源访问链接,与FileContent参数必须二选一输入; 支持范围及格式:同FileContent;</p>
|
|
2073
|
+
:type FileUrl: str
|
|
2074
|
+
"""
|
|
2075
|
+
self._Sdkappid = None
|
|
2076
|
+
self._BizType = None
|
|
2077
|
+
self._DataId = None
|
|
2078
|
+
self._FileFormat = None
|
|
2079
|
+
self._FileName = None
|
|
2080
|
+
self._FileContent = None
|
|
2081
|
+
self._FileUrl = None
|
|
2082
|
+
|
|
2083
|
+
@property
|
|
2084
|
+
def Sdkappid(self):
|
|
2085
|
+
r"""<p>sdkappid app账号</p>
|
|
2086
|
+
:rtype: int
|
|
2087
|
+
"""
|
|
2088
|
+
return self._Sdkappid
|
|
2089
|
+
|
|
2090
|
+
@Sdkappid.setter
|
|
2091
|
+
def Sdkappid(self, Sdkappid):
|
|
2092
|
+
self._Sdkappid = Sdkappid
|
|
2093
|
+
|
|
2094
|
+
@property
|
|
2095
|
+
def BizType(self):
|
|
2096
|
+
r"""<p>BizType为策略的具体的编号, GME业务 2_2_3_sdkappid</p>
|
|
2097
|
+
:rtype: str
|
|
2098
|
+
"""
|
|
2099
|
+
return self._BizType
|
|
2100
|
+
|
|
2101
|
+
@BizType.setter
|
|
2102
|
+
def BizType(self, BizType):
|
|
2103
|
+
self._BizType = BizType
|
|
2104
|
+
|
|
2105
|
+
@property
|
|
2106
|
+
def DataId(self):
|
|
2107
|
+
r"""<p>据标识,可以由英文字母、数字、下划线、-、@#组成,不超过64个字符</p>
|
|
2108
|
+
:rtype: str
|
|
2109
|
+
"""
|
|
2110
|
+
return self._DataId
|
|
2111
|
+
|
|
2112
|
+
@DataId.setter
|
|
2113
|
+
def DataId(self, DataId):
|
|
2114
|
+
self._DataId = DataId
|
|
2115
|
+
|
|
2116
|
+
@property
|
|
2117
|
+
def FileFormat(self):
|
|
2118
|
+
r"""<p>音频格式,当FileUrl为空时,必填。音频文件资源格式,当前支持格式:wav、mp3、m4a,请按照实际文件格式填入。 示例值:mp3</p>
|
|
2119
|
+
:rtype: str
|
|
2120
|
+
"""
|
|
2121
|
+
return self._FileFormat
|
|
2122
|
+
|
|
2123
|
+
@FileFormat.setter
|
|
2124
|
+
def FileFormat(self, FileFormat):
|
|
2125
|
+
self._FileFormat = FileFormat
|
|
2126
|
+
|
|
2127
|
+
@property
|
|
2128
|
+
def FileName(self):
|
|
2129
|
+
r"""<p>文件名称,可以由英文字母、数字、下划线、-、@#组成,不超过64个字符 示例值:file_name</p>
|
|
2130
|
+
:rtype: str
|
|
2131
|
+
"""
|
|
2132
|
+
return self._FileName
|
|
2133
|
+
|
|
2134
|
+
@FileName.setter
|
|
2135
|
+
def FileName(self, FileName):
|
|
2136
|
+
self._FileName = FileName
|
|
2137
|
+
|
|
2138
|
+
@property
|
|
2139
|
+
def FileContent(self):
|
|
2140
|
+
r"""<p>数据Base64编码,短音频同步接口仅传入可音频内容; 支持范围:文件大小不能超过5M,时长不可超过60s; 支持格式:wav (PCM编码)、mp3、m4a (采样率:16kHz~48kHz,位深:16bit 小端,声道数:单声道/双声道,建议格式:16kHz/16bit/单声道)。 示例值:1</p>
|
|
2141
|
+
:rtype: str
|
|
2142
|
+
"""
|
|
2143
|
+
return self._FileContent
|
|
2144
|
+
|
|
2145
|
+
@FileContent.setter
|
|
2146
|
+
def FileContent(self, FileContent):
|
|
2147
|
+
self._FileContent = FileContent
|
|
2148
|
+
|
|
2149
|
+
@property
|
|
2150
|
+
def FileUrl(self):
|
|
2151
|
+
r"""<p>音频资源访问链接,与FileContent参数必须二选一输入; 支持范围及格式:同FileContent;</p>
|
|
2152
|
+
:rtype: str
|
|
2153
|
+
"""
|
|
2154
|
+
return self._FileUrl
|
|
2155
|
+
|
|
2156
|
+
@FileUrl.setter
|
|
2157
|
+
def FileUrl(self, FileUrl):
|
|
2158
|
+
self._FileUrl = FileUrl
|
|
2159
|
+
|
|
2160
|
+
|
|
2161
|
+
def _deserialize(self, params):
|
|
2162
|
+
self._Sdkappid = params.get("Sdkappid")
|
|
2163
|
+
self._BizType = params.get("BizType")
|
|
2164
|
+
self._DataId = params.get("DataId")
|
|
2165
|
+
self._FileFormat = params.get("FileFormat")
|
|
2166
|
+
self._FileName = params.get("FileName")
|
|
2167
|
+
self._FileContent = params.get("FileContent")
|
|
2168
|
+
self._FileUrl = params.get("FileUrl")
|
|
2169
|
+
memeber_set = set(params.keys())
|
|
2170
|
+
for name, value in vars(self).items():
|
|
2171
|
+
property_name = name[1:]
|
|
2172
|
+
if property_name in memeber_set:
|
|
2173
|
+
memeber_set.remove(property_name)
|
|
2174
|
+
if len(memeber_set) > 0:
|
|
2175
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2176
|
+
|
|
2177
|
+
|
|
2178
|
+
|
|
2179
|
+
class CreateAudioModerationSyncResponse(AbstractModel):
|
|
2180
|
+
r"""CreateAudioModerationSync返回参数结构体
|
|
2181
|
+
|
|
2182
|
+
"""
|
|
2183
|
+
|
|
2184
|
+
def __init__(self):
|
|
2185
|
+
r"""
|
|
2186
|
+
:param _DataId: <p>返回传入的DataId</p>
|
|
2187
|
+
:type DataId: str
|
|
2188
|
+
:param _TaskId: <p>审核返回的任务id</p>
|
|
2189
|
+
:type TaskId: str
|
|
2190
|
+
:param _FileName: <p>文件名</p>
|
|
2191
|
+
:type FileName: str
|
|
2192
|
+
:param _MediaType: <p>1:语音。 2:图片。</p>
|
|
2193
|
+
:type MediaType: int
|
|
2194
|
+
:param _Suggest: <p>0:建议通过。 1 :建议人工重新内容识别。 2:建议屏蔽。</p>
|
|
2195
|
+
:type Suggest: int
|
|
2196
|
+
:param _Rate: <p>置信度分数,取值范围:0(置信度最低)-100(置信度最高 ),越高代表越有可能属于当前返回的标签。 实例值:100</p>
|
|
2197
|
+
:type Rate: int
|
|
2198
|
+
:param _Label: <p>Normal:正常文本 Ad:广告 Porn:色情 Abuse:谩骂 Illegal: 违禁 Polity: 涉政 Terror: 暴恐 Sexy: 性感 Moan: 呻吟/娇喘 QRCode: 二维码 Custom: 自定义</p>
|
|
2199
|
+
:type Label: str
|
|
2200
|
+
:param _SubLabel: <p>子标签</p>
|
|
2201
|
+
:type SubLabel: str
|
|
2202
|
+
:param _Audio: <p>音频链接地址</p>
|
|
2203
|
+
:type Audio: str
|
|
2204
|
+
:param _AudioText: <p>审核识别音频文本</p>
|
|
2205
|
+
:type AudioText: str
|
|
2206
|
+
:param _Duration: <p>音频时长,单位 ms</p>
|
|
2207
|
+
:type Duration: int
|
|
2208
|
+
:param _CheckDetail: <p>审核明细</p>
|
|
2209
|
+
:type CheckDetail: list of ModerationCheckDetail
|
|
2210
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2211
|
+
:type RequestId: str
|
|
2212
|
+
"""
|
|
2213
|
+
self._DataId = None
|
|
2214
|
+
self._TaskId = None
|
|
2215
|
+
self._FileName = None
|
|
2216
|
+
self._MediaType = None
|
|
2217
|
+
self._Suggest = None
|
|
2218
|
+
self._Rate = None
|
|
2219
|
+
self._Label = None
|
|
2220
|
+
self._SubLabel = None
|
|
2221
|
+
self._Audio = None
|
|
2222
|
+
self._AudioText = None
|
|
2223
|
+
self._Duration = None
|
|
2224
|
+
self._CheckDetail = None
|
|
2225
|
+
self._RequestId = None
|
|
2226
|
+
|
|
2227
|
+
@property
|
|
2228
|
+
def DataId(self):
|
|
2229
|
+
r"""<p>返回传入的DataId</p>
|
|
2230
|
+
:rtype: str
|
|
2231
|
+
"""
|
|
2232
|
+
return self._DataId
|
|
2233
|
+
|
|
2234
|
+
@DataId.setter
|
|
2235
|
+
def DataId(self, DataId):
|
|
2236
|
+
self._DataId = DataId
|
|
2237
|
+
|
|
2238
|
+
@property
|
|
2239
|
+
def TaskId(self):
|
|
2240
|
+
r"""<p>审核返回的任务id</p>
|
|
2241
|
+
:rtype: str
|
|
2242
|
+
"""
|
|
2243
|
+
return self._TaskId
|
|
2244
|
+
|
|
2245
|
+
@TaskId.setter
|
|
2246
|
+
def TaskId(self, TaskId):
|
|
2247
|
+
self._TaskId = TaskId
|
|
2248
|
+
|
|
2249
|
+
@property
|
|
2250
|
+
def FileName(self):
|
|
2251
|
+
r"""<p>文件名</p>
|
|
2252
|
+
:rtype: str
|
|
2253
|
+
"""
|
|
2254
|
+
return self._FileName
|
|
2255
|
+
|
|
2256
|
+
@FileName.setter
|
|
2257
|
+
def FileName(self, FileName):
|
|
2258
|
+
self._FileName = FileName
|
|
2259
|
+
|
|
2260
|
+
@property
|
|
2261
|
+
def MediaType(self):
|
|
2262
|
+
r"""<p>1:语音。 2:图片。</p>
|
|
2263
|
+
:rtype: int
|
|
2264
|
+
"""
|
|
2265
|
+
return self._MediaType
|
|
2266
|
+
|
|
2267
|
+
@MediaType.setter
|
|
2268
|
+
def MediaType(self, MediaType):
|
|
2269
|
+
self._MediaType = MediaType
|
|
2270
|
+
|
|
2271
|
+
@property
|
|
2272
|
+
def Suggest(self):
|
|
2273
|
+
r"""<p>0:建议通过。 1 :建议人工重新内容识别。 2:建议屏蔽。</p>
|
|
2274
|
+
:rtype: int
|
|
2275
|
+
"""
|
|
2276
|
+
return self._Suggest
|
|
2277
|
+
|
|
2278
|
+
@Suggest.setter
|
|
2279
|
+
def Suggest(self, Suggest):
|
|
2280
|
+
self._Suggest = Suggest
|
|
2281
|
+
|
|
2282
|
+
@property
|
|
2283
|
+
def Rate(self):
|
|
2284
|
+
r"""<p>置信度分数,取值范围:0(置信度最低)-100(置信度最高 ),越高代表越有可能属于当前返回的标签。 实例值:100</p>
|
|
2285
|
+
:rtype: int
|
|
2286
|
+
"""
|
|
2287
|
+
return self._Rate
|
|
2288
|
+
|
|
2289
|
+
@Rate.setter
|
|
2290
|
+
def Rate(self, Rate):
|
|
2291
|
+
self._Rate = Rate
|
|
2292
|
+
|
|
2293
|
+
@property
|
|
2294
|
+
def Label(self):
|
|
2295
|
+
r"""<p>Normal:正常文本 Ad:广告 Porn:色情 Abuse:谩骂 Illegal: 违禁 Polity: 涉政 Terror: 暴恐 Sexy: 性感 Moan: 呻吟/娇喘 QRCode: 二维码 Custom: 自定义</p>
|
|
2296
|
+
:rtype: str
|
|
2297
|
+
"""
|
|
2298
|
+
return self._Label
|
|
2299
|
+
|
|
2300
|
+
@Label.setter
|
|
2301
|
+
def Label(self, Label):
|
|
2302
|
+
self._Label = Label
|
|
2303
|
+
|
|
2304
|
+
@property
|
|
2305
|
+
def SubLabel(self):
|
|
2306
|
+
r"""<p>子标签</p>
|
|
2307
|
+
:rtype: str
|
|
2308
|
+
"""
|
|
2309
|
+
return self._SubLabel
|
|
2310
|
+
|
|
2311
|
+
@SubLabel.setter
|
|
2312
|
+
def SubLabel(self, SubLabel):
|
|
2313
|
+
self._SubLabel = SubLabel
|
|
2314
|
+
|
|
2315
|
+
@property
|
|
2316
|
+
def Audio(self):
|
|
2317
|
+
r"""<p>音频链接地址</p>
|
|
2318
|
+
:rtype: str
|
|
2319
|
+
"""
|
|
2320
|
+
return self._Audio
|
|
2321
|
+
|
|
2322
|
+
@Audio.setter
|
|
2323
|
+
def Audio(self, Audio):
|
|
2324
|
+
self._Audio = Audio
|
|
2325
|
+
|
|
2326
|
+
@property
|
|
2327
|
+
def AudioText(self):
|
|
2328
|
+
r"""<p>审核识别音频文本</p>
|
|
2329
|
+
:rtype: str
|
|
2330
|
+
"""
|
|
2331
|
+
return self._AudioText
|
|
2332
|
+
|
|
2333
|
+
@AudioText.setter
|
|
2334
|
+
def AudioText(self, AudioText):
|
|
2335
|
+
self._AudioText = AudioText
|
|
2336
|
+
|
|
2337
|
+
@property
|
|
2338
|
+
def Duration(self):
|
|
2339
|
+
r"""<p>音频时长,单位 ms</p>
|
|
2340
|
+
:rtype: int
|
|
2341
|
+
"""
|
|
2342
|
+
return self._Duration
|
|
2343
|
+
|
|
2344
|
+
@Duration.setter
|
|
2345
|
+
def Duration(self, Duration):
|
|
2346
|
+
self._Duration = Duration
|
|
2347
|
+
|
|
2348
|
+
@property
|
|
2349
|
+
def CheckDetail(self):
|
|
2350
|
+
r"""<p>审核明细</p>
|
|
2351
|
+
:rtype: list of ModerationCheckDetail
|
|
2352
|
+
"""
|
|
2353
|
+
return self._CheckDetail
|
|
2354
|
+
|
|
2355
|
+
@CheckDetail.setter
|
|
2356
|
+
def CheckDetail(self, CheckDetail):
|
|
2357
|
+
self._CheckDetail = CheckDetail
|
|
2358
|
+
|
|
2359
|
+
@property
|
|
2360
|
+
def RequestId(self):
|
|
2361
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2362
|
+
:rtype: str
|
|
2363
|
+
"""
|
|
2364
|
+
return self._RequestId
|
|
2365
|
+
|
|
2366
|
+
@RequestId.setter
|
|
2367
|
+
def RequestId(self, RequestId):
|
|
2368
|
+
self._RequestId = RequestId
|
|
2369
|
+
|
|
2370
|
+
|
|
2371
|
+
def _deserialize(self, params):
|
|
2372
|
+
self._DataId = params.get("DataId")
|
|
2373
|
+
self._TaskId = params.get("TaskId")
|
|
2374
|
+
self._FileName = params.get("FileName")
|
|
2375
|
+
self._MediaType = params.get("MediaType")
|
|
2376
|
+
self._Suggest = params.get("Suggest")
|
|
2377
|
+
self._Rate = params.get("Rate")
|
|
2378
|
+
self._Label = params.get("Label")
|
|
2379
|
+
self._SubLabel = params.get("SubLabel")
|
|
2380
|
+
self._Audio = params.get("Audio")
|
|
2381
|
+
self._AudioText = params.get("AudioText")
|
|
2382
|
+
self._Duration = params.get("Duration")
|
|
2383
|
+
if params.get("CheckDetail") is not None:
|
|
2384
|
+
self._CheckDetail = []
|
|
2385
|
+
for item in params.get("CheckDetail"):
|
|
2386
|
+
obj = ModerationCheckDetail()
|
|
2387
|
+
obj._deserialize(item)
|
|
2388
|
+
self._CheckDetail.append(obj)
|
|
2389
|
+
self._RequestId = params.get("RequestId")
|
|
2390
|
+
|
|
2391
|
+
|
|
2002
2392
|
class CreateCloudModerationRequest(AbstractModel):
|
|
2003
2393
|
r"""CreateCloudModeration请求参数结构体
|
|
2004
2394
|
|
|
@@ -9808,6 +10198,57 @@ class HotWord(AbstractModel):
|
|
|
9808
10198
|
|
|
9809
10199
|
|
|
9810
10200
|
|
|
10201
|
+
class ImageLocation(AbstractModel):
|
|
10202
|
+
r"""图片坐标
|
|
10203
|
+
|
|
10204
|
+
"""
|
|
10205
|
+
|
|
10206
|
+
def __init__(self):
|
|
10207
|
+
r"""
|
|
10208
|
+
:param _X: <p>该参数用于返回检测框左上角位置的横坐标(x)所在的像素位置,结合剩余参数可唯一确定检测框的大小和位置。 示例值:51</p>
|
|
10209
|
+
:type X: float
|
|
10210
|
+
:param _Y: <p>该参数用于返回检测框左上角位置的纵坐标(y)所在的像素位置,结合剩余参数可唯一确定检测框的大小和位置。 示例值:448</p>
|
|
10211
|
+
:type Y: float
|
|
10212
|
+
"""
|
|
10213
|
+
self._X = None
|
|
10214
|
+
self._Y = None
|
|
10215
|
+
|
|
10216
|
+
@property
|
|
10217
|
+
def X(self):
|
|
10218
|
+
r"""<p>该参数用于返回检测框左上角位置的横坐标(x)所在的像素位置,结合剩余参数可唯一确定检测框的大小和位置。 示例值:51</p>
|
|
10219
|
+
:rtype: float
|
|
10220
|
+
"""
|
|
10221
|
+
return self._X
|
|
10222
|
+
|
|
10223
|
+
@X.setter
|
|
10224
|
+
def X(self, X):
|
|
10225
|
+
self._X = X
|
|
10226
|
+
|
|
10227
|
+
@property
|
|
10228
|
+
def Y(self):
|
|
10229
|
+
r"""<p>该参数用于返回检测框左上角位置的纵坐标(y)所在的像素位置,结合剩余参数可唯一确定检测框的大小和位置。 示例值:448</p>
|
|
10230
|
+
:rtype: float
|
|
10231
|
+
"""
|
|
10232
|
+
return self._Y
|
|
10233
|
+
|
|
10234
|
+
@Y.setter
|
|
10235
|
+
def Y(self, Y):
|
|
10236
|
+
self._Y = Y
|
|
10237
|
+
|
|
10238
|
+
|
|
10239
|
+
def _deserialize(self, params):
|
|
10240
|
+
self._X = params.get("X")
|
|
10241
|
+
self._Y = params.get("Y")
|
|
10242
|
+
memeber_set = set(params.keys())
|
|
10243
|
+
for name, value in vars(self).items():
|
|
10244
|
+
property_name = name[1:]
|
|
10245
|
+
if property_name in memeber_set:
|
|
10246
|
+
memeber_set.remove(property_name)
|
|
10247
|
+
if len(memeber_set) > 0:
|
|
10248
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10249
|
+
|
|
10250
|
+
|
|
10251
|
+
|
|
9811
10252
|
class Input(AbstractModel):
|
|
9812
10253
|
r"""拉流输入源
|
|
9813
10254
|
|
|
@@ -12831,6 +13272,211 @@ class MixUserInfo(AbstractModel):
|
|
|
12831
13272
|
|
|
12832
13273
|
|
|
12833
13274
|
|
|
13275
|
+
class ModerationCheckDetail(AbstractModel):
|
|
13276
|
+
r"""内容理解明细
|
|
13277
|
+
|
|
13278
|
+
"""
|
|
13279
|
+
|
|
13280
|
+
def __init__(self):
|
|
13281
|
+
r"""
|
|
13282
|
+
:param _Scene: <p>该字段在内容理解回调事件中可直接忽略,仅在第三方审核时存在,检出违规的模型场景,枚举值:Ad/Porn/Abuse/Illegal/Polity/Terror/Sexy/Moan/Custom</p>
|
|
13283
|
+
:type Scene: str
|
|
13284
|
+
:param _Label: <p>Normal:正常文本 Ad:广告 Porn:色情 Abuse:谩骂 Illegal: 违禁 Polity: 涉政 Terror: 暴恐 Sexy: 性感 Moan: 呻吟/娇喘 QRCode: 二维码 Custom: 自定义</p>
|
|
13285
|
+
:type Label: str
|
|
13286
|
+
:param _SubLabel: <p>子标签</p>
|
|
13287
|
+
:type SubLabel: str
|
|
13288
|
+
:param _Suggest: <p>0:建议通过。 1 :建议人工重新内容识别。 2:建议屏蔽。</p>
|
|
13289
|
+
:type Suggest: int
|
|
13290
|
+
:param _LibName: <p>自定义词库名。</p>
|
|
13291
|
+
:type LibName: str
|
|
13292
|
+
:param _Keywords: <p>关键词。</p>
|
|
13293
|
+
:type Keywords: list of str
|
|
13294
|
+
:param _Desc: <p>中文二级标签。</p>
|
|
13295
|
+
:type Desc: str
|
|
13296
|
+
:param _Score: <p>置信度分数,取值范围:0(置信度最低)-100(置信度最高 ),越高代表越有可能属于当前返回的标签。 实例值:100</p>
|
|
13297
|
+
:type Score: int
|
|
13298
|
+
:param _Severity: <p>违规严重程度: 0-不区分 1-轻度 2-严重</p>
|
|
13299
|
+
:type Severity: int
|
|
13300
|
+
:param _SeverityDesc: <p>违规严重程度描述 仅名单内sdkappid返回 负面表达,正面或中性表达,语义模糊</p>
|
|
13301
|
+
:type SeverityDesc: str
|
|
13302
|
+
:param _AudioSegments: <p>音频切片位置信息。</p>
|
|
13303
|
+
:type AudioSegments: :class:`tencentcloud.trtc.v20190722.models.AudioSegments`
|
|
13304
|
+
:param _ImageLocation: <p>图片命中坐标信息。</p>
|
|
13305
|
+
:type ImageLocation: :class:`tencentcloud.trtc.v20190722.models.ImageLocation`
|
|
13306
|
+
"""
|
|
13307
|
+
self._Scene = None
|
|
13308
|
+
self._Label = None
|
|
13309
|
+
self._SubLabel = None
|
|
13310
|
+
self._Suggest = None
|
|
13311
|
+
self._LibName = None
|
|
13312
|
+
self._Keywords = None
|
|
13313
|
+
self._Desc = None
|
|
13314
|
+
self._Score = None
|
|
13315
|
+
self._Severity = None
|
|
13316
|
+
self._SeverityDesc = None
|
|
13317
|
+
self._AudioSegments = None
|
|
13318
|
+
self._ImageLocation = None
|
|
13319
|
+
|
|
13320
|
+
@property
|
|
13321
|
+
def Scene(self):
|
|
13322
|
+
r"""<p>该字段在内容理解回调事件中可直接忽略,仅在第三方审核时存在,检出违规的模型场景,枚举值:Ad/Porn/Abuse/Illegal/Polity/Terror/Sexy/Moan/Custom</p>
|
|
13323
|
+
:rtype: str
|
|
13324
|
+
"""
|
|
13325
|
+
return self._Scene
|
|
13326
|
+
|
|
13327
|
+
@Scene.setter
|
|
13328
|
+
def Scene(self, Scene):
|
|
13329
|
+
self._Scene = Scene
|
|
13330
|
+
|
|
13331
|
+
@property
|
|
13332
|
+
def Label(self):
|
|
13333
|
+
r"""<p>Normal:正常文本 Ad:广告 Porn:色情 Abuse:谩骂 Illegal: 违禁 Polity: 涉政 Terror: 暴恐 Sexy: 性感 Moan: 呻吟/娇喘 QRCode: 二维码 Custom: 自定义</p>
|
|
13334
|
+
:rtype: str
|
|
13335
|
+
"""
|
|
13336
|
+
return self._Label
|
|
13337
|
+
|
|
13338
|
+
@Label.setter
|
|
13339
|
+
def Label(self, Label):
|
|
13340
|
+
self._Label = Label
|
|
13341
|
+
|
|
13342
|
+
@property
|
|
13343
|
+
def SubLabel(self):
|
|
13344
|
+
r"""<p>子标签</p>
|
|
13345
|
+
:rtype: str
|
|
13346
|
+
"""
|
|
13347
|
+
return self._SubLabel
|
|
13348
|
+
|
|
13349
|
+
@SubLabel.setter
|
|
13350
|
+
def SubLabel(self, SubLabel):
|
|
13351
|
+
self._SubLabel = SubLabel
|
|
13352
|
+
|
|
13353
|
+
@property
|
|
13354
|
+
def Suggest(self):
|
|
13355
|
+
r"""<p>0:建议通过。 1 :建议人工重新内容识别。 2:建议屏蔽。</p>
|
|
13356
|
+
:rtype: int
|
|
13357
|
+
"""
|
|
13358
|
+
return self._Suggest
|
|
13359
|
+
|
|
13360
|
+
@Suggest.setter
|
|
13361
|
+
def Suggest(self, Suggest):
|
|
13362
|
+
self._Suggest = Suggest
|
|
13363
|
+
|
|
13364
|
+
@property
|
|
13365
|
+
def LibName(self):
|
|
13366
|
+
r"""<p>自定义词库名。</p>
|
|
13367
|
+
:rtype: str
|
|
13368
|
+
"""
|
|
13369
|
+
return self._LibName
|
|
13370
|
+
|
|
13371
|
+
@LibName.setter
|
|
13372
|
+
def LibName(self, LibName):
|
|
13373
|
+
self._LibName = LibName
|
|
13374
|
+
|
|
13375
|
+
@property
|
|
13376
|
+
def Keywords(self):
|
|
13377
|
+
r"""<p>关键词。</p>
|
|
13378
|
+
:rtype: list of str
|
|
13379
|
+
"""
|
|
13380
|
+
return self._Keywords
|
|
13381
|
+
|
|
13382
|
+
@Keywords.setter
|
|
13383
|
+
def Keywords(self, Keywords):
|
|
13384
|
+
self._Keywords = Keywords
|
|
13385
|
+
|
|
13386
|
+
@property
|
|
13387
|
+
def Desc(self):
|
|
13388
|
+
r"""<p>中文二级标签。</p>
|
|
13389
|
+
:rtype: str
|
|
13390
|
+
"""
|
|
13391
|
+
return self._Desc
|
|
13392
|
+
|
|
13393
|
+
@Desc.setter
|
|
13394
|
+
def Desc(self, Desc):
|
|
13395
|
+
self._Desc = Desc
|
|
13396
|
+
|
|
13397
|
+
@property
|
|
13398
|
+
def Score(self):
|
|
13399
|
+
r"""<p>置信度分数,取值范围:0(置信度最低)-100(置信度最高 ),越高代表越有可能属于当前返回的标签。 实例值:100</p>
|
|
13400
|
+
:rtype: int
|
|
13401
|
+
"""
|
|
13402
|
+
return self._Score
|
|
13403
|
+
|
|
13404
|
+
@Score.setter
|
|
13405
|
+
def Score(self, Score):
|
|
13406
|
+
self._Score = Score
|
|
13407
|
+
|
|
13408
|
+
@property
|
|
13409
|
+
def Severity(self):
|
|
13410
|
+
r"""<p>违规严重程度: 0-不区分 1-轻度 2-严重</p>
|
|
13411
|
+
:rtype: int
|
|
13412
|
+
"""
|
|
13413
|
+
return self._Severity
|
|
13414
|
+
|
|
13415
|
+
@Severity.setter
|
|
13416
|
+
def Severity(self, Severity):
|
|
13417
|
+
self._Severity = Severity
|
|
13418
|
+
|
|
13419
|
+
@property
|
|
13420
|
+
def SeverityDesc(self):
|
|
13421
|
+
r"""<p>违规严重程度描述 仅名单内sdkappid返回 负面表达,正面或中性表达,语义模糊</p>
|
|
13422
|
+
:rtype: str
|
|
13423
|
+
"""
|
|
13424
|
+
return self._SeverityDesc
|
|
13425
|
+
|
|
13426
|
+
@SeverityDesc.setter
|
|
13427
|
+
def SeverityDesc(self, SeverityDesc):
|
|
13428
|
+
self._SeverityDesc = SeverityDesc
|
|
13429
|
+
|
|
13430
|
+
@property
|
|
13431
|
+
def AudioSegments(self):
|
|
13432
|
+
r"""<p>音频切片位置信息。</p>
|
|
13433
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.AudioSegments`
|
|
13434
|
+
"""
|
|
13435
|
+
return self._AudioSegments
|
|
13436
|
+
|
|
13437
|
+
@AudioSegments.setter
|
|
13438
|
+
def AudioSegments(self, AudioSegments):
|
|
13439
|
+
self._AudioSegments = AudioSegments
|
|
13440
|
+
|
|
13441
|
+
@property
|
|
13442
|
+
def ImageLocation(self):
|
|
13443
|
+
r"""<p>图片命中坐标信息。</p>
|
|
13444
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.ImageLocation`
|
|
13445
|
+
"""
|
|
13446
|
+
return self._ImageLocation
|
|
13447
|
+
|
|
13448
|
+
@ImageLocation.setter
|
|
13449
|
+
def ImageLocation(self, ImageLocation):
|
|
13450
|
+
self._ImageLocation = ImageLocation
|
|
13451
|
+
|
|
13452
|
+
|
|
13453
|
+
def _deserialize(self, params):
|
|
13454
|
+
self._Scene = params.get("Scene")
|
|
13455
|
+
self._Label = params.get("Label")
|
|
13456
|
+
self._SubLabel = params.get("SubLabel")
|
|
13457
|
+
self._Suggest = params.get("Suggest")
|
|
13458
|
+
self._LibName = params.get("LibName")
|
|
13459
|
+
self._Keywords = params.get("Keywords")
|
|
13460
|
+
self._Desc = params.get("Desc")
|
|
13461
|
+
self._Score = params.get("Score")
|
|
13462
|
+
self._Severity = params.get("Severity")
|
|
13463
|
+
self._SeverityDesc = params.get("SeverityDesc")
|
|
13464
|
+
if params.get("AudioSegments") is not None:
|
|
13465
|
+
self._AudioSegments = AudioSegments()
|
|
13466
|
+
self._AudioSegments._deserialize(params.get("AudioSegments"))
|
|
13467
|
+
if params.get("ImageLocation") is not None:
|
|
13468
|
+
self._ImageLocation = ImageLocation()
|
|
13469
|
+
self._ImageLocation._deserialize(params.get("ImageLocation"))
|
|
13470
|
+
memeber_set = set(params.keys())
|
|
13471
|
+
for name, value in vars(self).items():
|
|
13472
|
+
property_name = name[1:]
|
|
13473
|
+
if property_name in memeber_set:
|
|
13474
|
+
memeber_set.remove(property_name)
|
|
13475
|
+
if len(memeber_set) > 0:
|
|
13476
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13477
|
+
|
|
13478
|
+
|
|
13479
|
+
|
|
12834
13480
|
class ModerationParams(AbstractModel):
|
|
12835
13481
|
r"""云端审核的控制参数。
|
|
12836
13482
|
|
|
@@ -14057,9 +14703,9 @@ class PronunciationDict(AbstractModel):
|
|
|
14057
14703
|
|
|
14058
14704
|
def __init__(self):
|
|
14059
14705
|
r"""
|
|
14060
|
-
:param _Word:
|
|
14706
|
+
:param _Word: <p>需要纠正发音的词语,同一请求中若有重复词语,以最后一条为准。</p>
|
|
14061
14707
|
:type Word: str
|
|
14062
|
-
:param _Pronunciation:
|
|
14708
|
+
:param _Pronunciation: <p>目标发音,支持以下格式:</p><ul><li>带声调数字的拼音(1=阴平,2=阳平,3=上声,4=去声,5=轻声),如 (yin2)(hang2)</li><li>英文音标,如 (rɪˈzjuːm)</li><li>裸文本替换,会将原始文本替换为目标文本</li></ul><p>支持任意格式混排,注意拼音和音标需要被括号包裹</p>
|
|
14063
14709
|
:type Pronunciation: str
|
|
14064
14710
|
"""
|
|
14065
14711
|
self._Word = None
|
|
@@ -14067,7 +14713,7 @@ class PronunciationDict(AbstractModel):
|
|
|
14067
14713
|
|
|
14068
14714
|
@property
|
|
14069
14715
|
def Word(self):
|
|
14070
|
-
r"""
|
|
14716
|
+
r"""<p>需要纠正发音的词语,同一请求中若有重复词语,以最后一条为准。</p>
|
|
14071
14717
|
:rtype: str
|
|
14072
14718
|
"""
|
|
14073
14719
|
return self._Word
|
|
@@ -14078,7 +14724,7 @@ class PronunciationDict(AbstractModel):
|
|
|
14078
14724
|
|
|
14079
14725
|
@property
|
|
14080
14726
|
def Pronunciation(self):
|
|
14081
|
-
r"""
|
|
14727
|
+
r"""<p>目标发音,支持以下格式:</p><ul><li>带声调数字的拼音(1=阴平,2=阳平,3=上声,4=去声,5=轻声),如 (yin2)(hang2)</li><li>英文音标,如 (rɪˈzjuːm)</li><li>裸文本替换,会将原始文本替换为目标文本</li></ul><p>支持任意格式混排,注意拼音和音标需要被括号包裹</p>
|
|
14082
14728
|
:rtype: str
|
|
14083
14729
|
"""
|
|
14084
14730
|
return self._Pronunciation
|
|
@@ -22250,7 +22896,7 @@ class Voice(AbstractModel):
|
|
|
22250
22896
|
:type Volume: float
|
|
22251
22897
|
:param _Pitch: <p>音高调节,负值声音更低沉,正值声音更尖锐,0 为原始音高,区间 [-12, 12], 默认0</p>
|
|
22252
22898
|
:type Pitch: int
|
|
22253
|
-
:param _Emotion: <p
|
|
22899
|
+
:param _Emotion: <p>情绪控制</p><p>枚举值:</p><ul><li>happy: 高兴</li><li>sad: 悲伤</li><li>angry: 愤怒</li><li>fearful: 害怕</li><li>disgusted: 厌恶</li><li>surprised: 惊讶</li><li>calm: 中性</li><li>fluent: 生动</li><li>whisper: 低语</li></ul>
|
|
22254
22900
|
:type Emotion: str
|
|
22255
22901
|
"""
|
|
22256
22902
|
self._VoiceId = None
|
|
@@ -22305,7 +22951,7 @@ class Voice(AbstractModel):
|
|
|
22305
22951
|
|
|
22306
22952
|
@property
|
|
22307
22953
|
def Emotion(self):
|
|
22308
|
-
r"""<p
|
|
22954
|
+
r"""<p>情绪控制</p><p>枚举值:</p><ul><li>happy: 高兴</li><li>sad: 悲伤</li><li>angry: 愤怒</li><li>fearful: 害怕</li><li>disgusted: 厌恶</li><li>surprised: 惊讶</li><li>calm: 中性</li><li>fluent: 生动</li><li>whisper: 低语</li></ul>
|
|
22309
22955
|
:rtype: str
|
|
22310
22956
|
"""
|
|
22311
22957
|
return self._Emotion
|
|
@@ -72,6 +72,29 @@ class TrtcClient(AbstractClient):
|
|
|
72
72
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
73
73
|
|
|
74
74
|
|
|
75
|
+
def CreateAudioModerationSync(self, request):
|
|
76
|
+
r"""短音频同步内容理解接口
|
|
77
|
+
|
|
78
|
+
:param request: Request instance for CreateAudioModerationSync.
|
|
79
|
+
:type request: :class:`tencentcloud.trtc.v20190722.models.CreateAudioModerationSyncRequest`
|
|
80
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.CreateAudioModerationSyncResponse`
|
|
81
|
+
|
|
82
|
+
"""
|
|
83
|
+
try:
|
|
84
|
+
params = request._serialize()
|
|
85
|
+
headers = request.headers
|
|
86
|
+
body = self.call("CreateAudioModerationSync", params, headers=headers)
|
|
87
|
+
response = json.loads(body)
|
|
88
|
+
model = models.CreateAudioModerationSyncResponse()
|
|
89
|
+
model._deserialize(response["Response"])
|
|
90
|
+
return model
|
|
91
|
+
except Exception as e:
|
|
92
|
+
if isinstance(e, TencentCloudSDKException):
|
|
93
|
+
raise
|
|
94
|
+
else:
|
|
95
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
96
|
+
|
|
97
|
+
|
|
75
98
|
def CreateCloudModeration(self, request):
|
|
76
99
|
r"""启动AI 内容理解功能,完成房间内的音视频切片,视频截帧,或者录制音频流,投递到AI内容理解,完成内容识别。您可以通过此接口实现如下目标:
|
|
77
100
|
●指定内容参数(ModerationParams)来指定内容理解需要的详细参数。
|
|
@@ -61,6 +61,24 @@ class TrtcClient(AbstractClient):
|
|
|
61
61
|
|
|
62
62
|
return await self.call_and_deserialize(**kwargs)
|
|
63
63
|
|
|
64
|
+
async def CreateAudioModerationSync(
|
|
65
|
+
self,
|
|
66
|
+
request: models.CreateAudioModerationSyncRequest,
|
|
67
|
+
opts: Dict = None,
|
|
68
|
+
) -> models.CreateAudioModerationSyncResponse:
|
|
69
|
+
"""
|
|
70
|
+
短音频同步内容理解接口
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
kwargs = {}
|
|
74
|
+
kwargs["action"] = "CreateAudioModerationSync"
|
|
75
|
+
kwargs["params"] = request._serialize()
|
|
76
|
+
kwargs["resp_cls"] = models.CreateAudioModerationSyncResponse
|
|
77
|
+
kwargs["headers"] = request.headers
|
|
78
|
+
kwargs["opts"] = opts or {}
|
|
79
|
+
|
|
80
|
+
return await self.call_and_deserialize(**kwargs)
|
|
81
|
+
|
|
64
82
|
async def CreateCloudModeration(
|
|
65
83
|
self,
|
|
66
84
|
request: models.CreateCloudModerationRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-trtc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.175
|
|
4
4
|
Summary: Tencent Cloud Trtc 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.175
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.175
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.173
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|