tencentcloud-sdk-python-trtc 3.0.1466__tar.gz → 3.0.1467__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.

Potentially problematic release.


This version of tencentcloud-sdk-python-trtc might be problematic. Click here for more details.

Files changed (16) hide show
  1. {tencentcloud-sdk-python-trtc-3.0.1466 → tencentcloud-sdk-python-trtc-3.0.1467}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-trtc-3.0.1466 → tencentcloud-sdk-python-trtc-3.0.1467}/setup.py +1 -1
  3. {tencentcloud-sdk-python-trtc-3.0.1466 → tencentcloud-sdk-python-trtc-3.0.1467}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-trtc-3.0.1466 → tencentcloud-sdk-python-trtc-3.0.1467}/tencentcloud/trtc/v20190722/errorcodes.py +3 -0
  5. {tencentcloud-sdk-python-trtc-3.0.1466 → tencentcloud-sdk-python-trtc-3.0.1467}/tencentcloud/trtc/v20190722/models.py +71 -0
  6. {tencentcloud-sdk-python-trtc-3.0.1466 → tencentcloud-sdk-python-trtc-3.0.1467}/tencentcloud_sdk_python_trtc.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-trtc-3.0.1467/tencentcloud_sdk_python_trtc.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-trtc-3.0.1466/tencentcloud_sdk_python_trtc.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-trtc-3.0.1466 → tencentcloud-sdk-python-trtc-3.0.1467}/README.rst +0 -0
  10. {tencentcloud-sdk-python-trtc-3.0.1466 → tencentcloud-sdk-python-trtc-3.0.1467}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-trtc-3.0.1466 → tencentcloud-sdk-python-trtc-3.0.1467}/tencentcloud/trtc/__init__.py +0 -0
  12. {tencentcloud-sdk-python-trtc-3.0.1466 → tencentcloud-sdk-python-trtc-3.0.1467}/tencentcloud/trtc/v20190722/__init__.py +0 -0
  13. {tencentcloud-sdk-python-trtc-3.0.1466 → tencentcloud-sdk-python-trtc-3.0.1467}/tencentcloud/trtc/v20190722/trtc_client.py +0 -0
  14. {tencentcloud-sdk-python-trtc-3.0.1466 → tencentcloud-sdk-python-trtc-3.0.1467}/tencentcloud_sdk_python_trtc.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-trtc-3.0.1466 → tencentcloud-sdk-python-trtc-3.0.1467}/tencentcloud_sdk_python_trtc.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-trtc-3.0.1466 → tencentcloud-sdk-python-trtc-3.0.1467}/tencentcloud_sdk_python_trtc.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-trtc
3
- Version: 3.0.1466
3
+ Version: 3.0.1467
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
@@ -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.0.1466,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1467,<4.0.0"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Trtc SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1466'
17
+ __version__ = '3.0.1467'
@@ -65,6 +65,9 @@ FAILEDOPERATION_REQUESTREJECTION = 'FailedOperation.RequestRejection'
65
65
  # 单用户并发过载,请联系我们增大并发路数到合理值。
66
66
  FAILEDOPERATION_RESTRICTEDCONCURRENCY = 'FailedOperation.RestrictedConcurrency'
67
67
 
68
+ # 请求过于频繁
69
+ FAILEDOPERATION_RESTRICTEDFREQUENCY = 'FailedOperation.RestrictedFrequency'
70
+
68
71
  # 房间不存在。
69
72
  FAILEDOPERATION_ROOMNOTEXIST = 'FailedOperation.RoomNotExist'
70
73
 
@@ -16801,6 +16801,57 @@ class TencentVod(AbstractModel):
16801
16801
 
16802
16802
 
16803
16803
 
16804
+ class Terminology(AbstractModel):
16805
+ r"""翻译术语
16806
+
16807
+ """
16808
+
16809
+ def __init__(self):
16810
+ r"""
16811
+ :param _Source: 源术语
16812
+ :type Source: str
16813
+ :param _Target: 目标术语翻译结果
16814
+ :type Target: str
16815
+ """
16816
+ self._Source = None
16817
+ self._Target = None
16818
+
16819
+ @property
16820
+ def Source(self):
16821
+ r"""源术语
16822
+ :rtype: str
16823
+ """
16824
+ return self._Source
16825
+
16826
+ @Source.setter
16827
+ def Source(self, Source):
16828
+ self._Source = Source
16829
+
16830
+ @property
16831
+ def Target(self):
16832
+ r"""目标术语翻译结果
16833
+ :rtype: str
16834
+ """
16835
+ return self._Target
16836
+
16837
+ @Target.setter
16838
+ def Target(self, Target):
16839
+ self._Target = Target
16840
+
16841
+
16842
+ def _deserialize(self, params):
16843
+ self._Source = params.get("Source")
16844
+ self._Target = params.get("Target")
16845
+ memeber_set = set(params.keys())
16846
+ for name, value in vars(self).items():
16847
+ property_name = name[1:]
16848
+ if property_name in memeber_set:
16849
+ memeber_set.remove(property_name)
16850
+ if len(memeber_set) > 0:
16851
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16852
+
16853
+
16854
+
16804
16855
  class TextToSpeechRequest(AbstractModel):
16805
16856
  r"""TextToSpeech请求参数结构体
16806
16857
 
@@ -17325,10 +17376,13 @@ class TranslationConfig(AbstractModel):
17325
17376
  :type Mode: int
17326
17377
  :param _TTSConfig: 语音同传配置,开启同传时,需要传递
17327
17378
  :type TTSConfig: :class:`tencentcloud.trtc.v20190722.models.TTSConfig`
17379
+ :param _Terminology: 翻译术语集合
17380
+ :type Terminology: list of Terminology
17328
17381
  """
17329
17382
  self._TargetLanguages = None
17330
17383
  self._Mode = None
17331
17384
  self._TTSConfig = None
17385
+ self._Terminology = None
17332
17386
 
17333
17387
  @property
17334
17388
  def TargetLanguages(self):
@@ -17365,6 +17419,17 @@ class TranslationConfig(AbstractModel):
17365
17419
  def TTSConfig(self, TTSConfig):
17366
17420
  self._TTSConfig = TTSConfig
17367
17421
 
17422
+ @property
17423
+ def Terminology(self):
17424
+ r"""翻译术语集合
17425
+ :rtype: list of Terminology
17426
+ """
17427
+ return self._Terminology
17428
+
17429
+ @Terminology.setter
17430
+ def Terminology(self, Terminology):
17431
+ self._Terminology = Terminology
17432
+
17368
17433
 
17369
17434
  def _deserialize(self, params):
17370
17435
  self._TargetLanguages = params.get("TargetLanguages")
@@ -17372,6 +17437,12 @@ class TranslationConfig(AbstractModel):
17372
17437
  if params.get("TTSConfig") is not None:
17373
17438
  self._TTSConfig = TTSConfig()
17374
17439
  self._TTSConfig._deserialize(params.get("TTSConfig"))
17440
+ if params.get("Terminology") is not None:
17441
+ self._Terminology = []
17442
+ for item in params.get("Terminology"):
17443
+ obj = Terminology()
17444
+ obj._deserialize(item)
17445
+ self._Terminology.append(obj)
17375
17446
  memeber_set = set(params.keys())
17376
17447
  for name, value in vars(self).items():
17377
17448
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-trtc
3
- Version: 3.0.1466
3
+ Version: 3.0.1467
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1467
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1466