tencentcloud-sdk-python-clb 3.1.198__tar.gz → 3.1.199__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_clb-3.1.198 → tencentcloud_sdk_python_clb-3.1.199}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_clb-3.1.198 → tencentcloud_sdk_python_clb-3.1.199}/setup.py +1 -1
  3. {tencentcloud_sdk_python_clb-3.1.198 → tencentcloud_sdk_python_clb-3.1.199}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_clb-3.1.198 → tencentcloud_sdk_python_clb-3.1.199}/tencentcloud/clb/v20180317/models.py +100 -2
  5. {tencentcloud_sdk_python_clb-3.1.198 → tencentcloud_sdk_python_clb-3.1.199}/tencentcloud_sdk_python_clb.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_clb-3.1.199/tencentcloud_sdk_python_clb.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_clb-3.1.198/tencentcloud_sdk_python_clb.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_clb-3.1.198 → tencentcloud_sdk_python_clb-3.1.199}/README.rst +0 -0
  9. {tencentcloud_sdk_python_clb-3.1.198 → tencentcloud_sdk_python_clb-3.1.199}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_clb-3.1.198 → tencentcloud_sdk_python_clb-3.1.199}/tencentcloud/clb/__init__.py +0 -0
  11. {tencentcloud_sdk_python_clb-3.1.198 → tencentcloud_sdk_python_clb-3.1.199}/tencentcloud/clb/v20180317/__init__.py +0 -0
  12. {tencentcloud_sdk_python_clb-3.1.198 → tencentcloud_sdk_python_clb-3.1.199}/tencentcloud/clb/v20180317/clb_client.py +0 -0
  13. {tencentcloud_sdk_python_clb-3.1.198 → tencentcloud_sdk_python_clb-3.1.199}/tencentcloud/clb/v20180317/clb_client_async.py +0 -0
  14. {tencentcloud_sdk_python_clb-3.1.198 → tencentcloud_sdk_python_clb-3.1.199}/tencentcloud/clb/v20180317/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_clb-3.1.198 → tencentcloud_sdk_python_clb-3.1.199}/tencentcloud_sdk_python_clb.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_clb-3.1.198 → tencentcloud_sdk_python_clb-3.1.199}/tencentcloud_sdk_python_clb.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_clb-3.1.198 → tencentcloud_sdk_python_clb-3.1.199}/tencentcloud_sdk_python_clb.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-clb
3
- Version: 3.1.198
3
+ Version: 3.1.199
4
4
  Summary: Tencent Cloud Clb 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.198
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.199
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-clb',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.198,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.199,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Clb SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.198'
17
+ __version__ = '3.1.199'
@@ -5426,9 +5426,12 @@ class CoefficientTierCondition(AbstractModel):
5426
5426
  :type InputTokensAbove: int
5427
5427
  :param _Resolution: <p>video 仅 480p/720p/768p/1024p/1080p/2k/4k,统一小写;只校验全局枚举,不校验模型支持子集;列表内不重复</p>
5428
5428
  :type Resolution: str
5429
+ :param _HasInputVideo: <p>是否有视频输入</p>
5430
+ :type HasInputVideo: bool
5429
5431
  """
5430
5432
  self._InputTokensAbove = None
5431
5433
  self._Resolution = None
5434
+ self._HasInputVideo = None
5432
5435
 
5433
5436
  @property
5434
5437
  def InputTokensAbove(self):
@@ -5452,10 +5455,22 @@ class CoefficientTierCondition(AbstractModel):
5452
5455
  def Resolution(self, Resolution):
5453
5456
  self._Resolution = Resolution
5454
5457
 
5458
+ @property
5459
+ def HasInputVideo(self):
5460
+ r"""<p>是否有视频输入</p>
5461
+ :rtype: bool
5462
+ """
5463
+ return self._HasInputVideo
5464
+
5465
+ @HasInputVideo.setter
5466
+ def HasInputVideo(self, HasInputVideo):
5467
+ self._HasInputVideo = HasInputVideo
5468
+
5455
5469
 
5456
5470
  def _deserialize(self, params):
5457
5471
  self._InputTokensAbove = params.get("InputTokensAbove")
5458
5472
  self._Resolution = params.get("Resolution")
5473
+ self._HasInputVideo = params.get("HasInputVideo")
5459
5474
  memeber_set = set(params.keys())
5460
5475
  for name, value in vars(self).items():
5461
5476
  property_name = name[1:]
@@ -31546,18 +31561,21 @@ class ModifyServiceProviderModelAttributesRequest(AbstractModel):
31546
31561
  :type ServiceProviderId: str
31547
31562
  :param _ModelName: <p>待修改的模型的名称(原始模型名称)</p>
31548
31563
  :type ModelName: str
31549
- :param _InputModalities: <p>该模型支持的输入多模态能力列表</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li></ul>
31564
+ :param _InputModalities: <p>该模型支持的输入多模态能力列表</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li><li>video: 支持视频输入</li></ul>
31550
31565
  :type InputModalities: list of str
31551
31566
  :param _NewModelName: <p>新的上游模型名称</p>
31552
31567
  :type NewModelName: str
31553
31568
  :param _NewModelAlias: <p>新的对外模型名称</p>
31554
31569
  :type NewModelAlias: str
31570
+ :param _UpstreamRollout: <p>上游模型灰度操作,支持 Set、Promote、Rollback。</p><p>入参限制:未传时沿用普通属性编辑;显式 null、空对象及未知字段拒绝。与显式传入的 NewModelName、NewModelAlias、InputModalities 互斥,包括 null 和空别名。</p><p>Set 必须提供候选 ModelName 和 1~99 的整数 Weight,可调整同一候选的比例;相同配置在资源可编辑时成功且不重复下发。Promote、Rollback 仅传 Operation,分别全量切换到候选或恢复主模型并结束灰度。外层 ModelName 定位当前主模型;响应仍为 RequestId,任务通过 DescribeAsyncJobs 查询。</p>
31571
+ :type UpstreamRollout: :class:`tencentcloud.clb.v20180317.models.UpstreamRolloutOperation`
31555
31572
  """
31556
31573
  self._ServiceProviderId = None
31557
31574
  self._ModelName = None
31558
31575
  self._InputModalities = None
31559
31576
  self._NewModelName = None
31560
31577
  self._NewModelAlias = None
31578
+ self._UpstreamRollout = None
31561
31579
 
31562
31580
  @property
31563
31581
  def ServiceProviderId(self):
@@ -31583,7 +31601,7 @@ class ModifyServiceProviderModelAttributesRequest(AbstractModel):
31583
31601
 
31584
31602
  @property
31585
31603
  def InputModalities(self):
31586
- r"""<p>该模型支持的输入多模态能力列表</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li></ul>
31604
+ r"""<p>该模型支持的输入多模态能力列表</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li><li>video: 支持视频输入</li></ul>
31587
31605
  :rtype: list of str
31588
31606
  """
31589
31607
  return self._InputModalities
@@ -31614,6 +31632,17 @@ class ModifyServiceProviderModelAttributesRequest(AbstractModel):
31614
31632
  def NewModelAlias(self, NewModelAlias):
31615
31633
  self._NewModelAlias = NewModelAlias
31616
31634
 
31635
+ @property
31636
+ def UpstreamRollout(self):
31637
+ r"""<p>上游模型灰度操作,支持 Set、Promote、Rollback。</p><p>入参限制:未传时沿用普通属性编辑;显式 null、空对象及未知字段拒绝。与显式传入的 NewModelName、NewModelAlias、InputModalities 互斥,包括 null 和空别名。</p><p>Set 必须提供候选 ModelName 和 1~99 的整数 Weight,可调整同一候选的比例;相同配置在资源可编辑时成功且不重复下发。Promote、Rollback 仅传 Operation,分别全量切换到候选或恢复主模型并结束灰度。外层 ModelName 定位当前主模型;响应仍为 RequestId,任务通过 DescribeAsyncJobs 查询。</p>
31638
+ :rtype: :class:`tencentcloud.clb.v20180317.models.UpstreamRolloutOperation`
31639
+ """
31640
+ return self._UpstreamRollout
31641
+
31642
+ @UpstreamRollout.setter
31643
+ def UpstreamRollout(self, UpstreamRollout):
31644
+ self._UpstreamRollout = UpstreamRollout
31645
+
31617
31646
 
31618
31647
  def _deserialize(self, params):
31619
31648
  self._ServiceProviderId = params.get("ServiceProviderId")
@@ -31621,6 +31650,9 @@ class ModifyServiceProviderModelAttributesRequest(AbstractModel):
31621
31650
  self._InputModalities = params.get("InputModalities")
31622
31651
  self._NewModelName = params.get("NewModelName")
31623
31652
  self._NewModelAlias = params.get("NewModelAlias")
31653
+ if params.get("UpstreamRollout") is not None:
31654
+ self._UpstreamRollout = UpstreamRolloutOperation()
31655
+ self._UpstreamRollout._deserialize(params.get("UpstreamRollout"))
31624
31656
  memeber_set = set(params.keys())
31625
31657
  for name, value in vars(self).items():
31626
31658
  property_name = name[1:]
@@ -40242,6 +40274,72 @@ class TypeInfo(AbstractModel):
40242
40274
 
40243
40275
 
40244
40276
 
40277
+ class UpstreamRolloutOperation(AbstractModel):
40278
+ r"""BYOK 上游模型灰度操作。Set 开启灰度或调整同一候选比例,Promote 全量切换,Rollback 结束灰度并恢复主模型。
40279
+
40280
+ """
40281
+
40282
+ def __init__(self):
40283
+ r"""
40284
+ :param _Operation: <p>上游模型灰度操作类型。Set:开始灰度或调整同一候选的比例;Promote:全量切换到候选模型并结束灰度;Rollback:保留当前主模型并结束灰度。</p><p>入参限制:仅支持 Set、Promote、Rollback,区分大小写。Promote 和 Rollback 仅允许在灰度中使用,且禁止携带 ModelName、Weight。</p>
40285
+ :type Operation: str
40286
+ :param _ModelName: <p>候选上游模型的原始名称,保留名称中的斜杠。</p><p>入参限制:Operation 为 Set 时必填,非空且最长 128 个字符;不能与当前主模型相同,不能占用同一 BYOK 的其他主模型或有效灰度候选名称。Promote、Rollback 禁止传入。</p>
40287
+ :type ModelName: str
40288
+ :param _Weight: <p>候选上游模型的灰度流量比例。</p><p>取值范围:[1, 99]</p><p>单位:%</p><p>Set 时必填,无默认值,必须为整数;拒绝 0、100、小数、布尔值及字符串。Promote、Rollback 禁止传入。比例只影响需要重新选择上游的请求,已有有效 Sticky 绑定不迁移,实际流量占比不保证等于配置比例。</p>
40289
+ :type Weight: int
40290
+ """
40291
+ self._Operation = None
40292
+ self._ModelName = None
40293
+ self._Weight = None
40294
+
40295
+ @property
40296
+ def Operation(self):
40297
+ r"""<p>上游模型灰度操作类型。Set:开始灰度或调整同一候选的比例;Promote:全量切换到候选模型并结束灰度;Rollback:保留当前主模型并结束灰度。</p><p>入参限制:仅支持 Set、Promote、Rollback,区分大小写。Promote 和 Rollback 仅允许在灰度中使用,且禁止携带 ModelName、Weight。</p>
40298
+ :rtype: str
40299
+ """
40300
+ return self._Operation
40301
+
40302
+ @Operation.setter
40303
+ def Operation(self, Operation):
40304
+ self._Operation = Operation
40305
+
40306
+ @property
40307
+ def ModelName(self):
40308
+ r"""<p>候选上游模型的原始名称,保留名称中的斜杠。</p><p>入参限制:Operation 为 Set 时必填,非空且最长 128 个字符;不能与当前主模型相同,不能占用同一 BYOK 的其他主模型或有效灰度候选名称。Promote、Rollback 禁止传入。</p>
40309
+ :rtype: str
40310
+ """
40311
+ return self._ModelName
40312
+
40313
+ @ModelName.setter
40314
+ def ModelName(self, ModelName):
40315
+ self._ModelName = ModelName
40316
+
40317
+ @property
40318
+ def Weight(self):
40319
+ r"""<p>候选上游模型的灰度流量比例。</p><p>取值范围:[1, 99]</p><p>单位:%</p><p>Set 时必填,无默认值,必须为整数;拒绝 0、100、小数、布尔值及字符串。Promote、Rollback 禁止传入。比例只影响需要重新选择上游的请求,已有有效 Sticky 绑定不迁移,实际流量占比不保证等于配置比例。</p>
40320
+ :rtype: int
40321
+ """
40322
+ return self._Weight
40323
+
40324
+ @Weight.setter
40325
+ def Weight(self, Weight):
40326
+ self._Weight = Weight
40327
+
40328
+
40329
+ def _deserialize(self, params):
40330
+ self._Operation = params.get("Operation")
40331
+ self._ModelName = params.get("ModelName")
40332
+ self._Weight = params.get("Weight")
40333
+ memeber_set = set(params.keys())
40334
+ for name, value in vars(self).items():
40335
+ property_name = name[1:]
40336
+ if property_name in memeber_set:
40337
+ memeber_set.remove(property_name)
40338
+ if len(memeber_set) > 0:
40339
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
40340
+
40341
+
40342
+
40245
40343
  class UserGroupInfo(AbstractModel):
40246
40344
  r"""用户组信息。
40247
40345
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-clb
3
- Version: 3.1.198
3
+ Version: 3.1.199
4
4
  Summary: Tencent Cloud Clb 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.198
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.199
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.199
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.198