tencentcloud-sdk-python-hai 3.1.114__tar.gz → 3.1.121__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_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.121}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.121}/setup.py +1 -1
  3. {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.121}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.121}/tencentcloud/hai/v20230812/models.py +53 -0
  5. {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.121}/tencentcloud_sdk_python_hai.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_hai-3.1.121/tencentcloud_sdk_python_hai.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_hai-3.1.114/tencentcloud_sdk_python_hai.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.121}/README.rst +0 -0
  9. {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.121}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.121}/tencentcloud/hai/__init__.py +0 -0
  11. {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.121}/tencentcloud/hai/v20230812/__init__.py +0 -0
  12. {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.121}/tencentcloud/hai/v20230812/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.121}/tencentcloud/hai/v20230812/hai_client.py +0 -0
  14. {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.121}/tencentcloud/hai/v20230812/hai_client_async.py +0 -0
  15. {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.121}/tencentcloud_sdk_python_hai.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.121}/tencentcloud_sdk_python_hai.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.121}/tencentcloud_sdk_python_hai.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-hai
3
- Version: 3.1.114
3
+ Version: 3.1.121
4
4
  Summary: Tencent Cloud Hai 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.114
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.121
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-hai',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.114,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.121,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Hai SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.114'
17
+ __version__ = '3.1.121'
@@ -4551,6 +4551,8 @@ class ProbeConfig(AbstractModel):
4551
4551
  :type SuccessThreshold: int
4552
4552
  :param _FailureThreshold: <p>探测失败后,Kubernetes的重试次数</p>
4553
4553
  :type FailureThreshold: int
4554
+ :param _TcpSocket: <p>TCP Socket请求进行健康检查</p>
4555
+ :type TcpSocket: :class:`tencentcloud.hai.v20230812.models.TcpSocketConfig`
4554
4556
  """
4555
4557
  self._HttpGet = None
4556
4558
  self._InitialDelaySeconds = None
@@ -4558,6 +4560,7 @@ class ProbeConfig(AbstractModel):
4558
4560
  self._TimeoutSeconds = None
4559
4561
  self._SuccessThreshold = None
4560
4562
  self._FailureThreshold = None
4563
+ self._TcpSocket = None
4561
4564
 
4562
4565
  @property
4563
4566
  def HttpGet(self):
@@ -4625,6 +4628,17 @@ class ProbeConfig(AbstractModel):
4625
4628
  def FailureThreshold(self, FailureThreshold):
4626
4629
  self._FailureThreshold = FailureThreshold
4627
4630
 
4631
+ @property
4632
+ def TcpSocket(self):
4633
+ r"""<p>TCP Socket请求进行健康检查</p>
4634
+ :rtype: :class:`tencentcloud.hai.v20230812.models.TcpSocketConfig`
4635
+ """
4636
+ return self._TcpSocket
4637
+
4638
+ @TcpSocket.setter
4639
+ def TcpSocket(self, TcpSocket):
4640
+ self._TcpSocket = TcpSocket
4641
+
4628
4642
 
4629
4643
  def _deserialize(self, params):
4630
4644
  if params.get("HttpGet") is not None:
@@ -4635,6 +4649,9 @@ class ProbeConfig(AbstractModel):
4635
4649
  self._TimeoutSeconds = params.get("TimeoutSeconds")
4636
4650
  self._SuccessThreshold = params.get("SuccessThreshold")
4637
4651
  self._FailureThreshold = params.get("FailureThreshold")
4652
+ if params.get("TcpSocket") is not None:
4653
+ self._TcpSocket = TcpSocketConfig()
4654
+ self._TcpSocket._deserialize(params.get("TcpSocket"))
4638
4655
  memeber_set = set(params.keys())
4639
4656
  for name, value in vars(self).items():
4640
4657
  property_name = name[1:]
@@ -5866,6 +5883,42 @@ class SystemDisk(AbstractModel):
5866
5883
 
5867
5884
 
5868
5885
 
5886
+ class TcpSocketConfig(AbstractModel):
5887
+ r"""推理服务TcpSocket的配置
5888
+
5889
+ """
5890
+
5891
+ def __init__(self):
5892
+ r"""
5893
+ :param _Port:
5894
+ :type Port: int
5895
+ """
5896
+ self._Port = None
5897
+
5898
+ @property
5899
+ def Port(self):
5900
+ r"""
5901
+ :rtype: int
5902
+ """
5903
+ return self._Port
5904
+
5905
+ @Port.setter
5906
+ def Port(self, Port):
5907
+ self._Port = Port
5908
+
5909
+
5910
+ def _deserialize(self, params):
5911
+ self._Port = params.get("Port")
5912
+ memeber_set = set(params.keys())
5913
+ for name, value in vars(self).items():
5914
+ property_name = name[1:]
5915
+ if property_name in memeber_set:
5916
+ memeber_set.remove(property_name)
5917
+ if len(memeber_set) > 0:
5918
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5919
+
5920
+
5921
+
5869
5922
  class TemplateDetail(AbstractModel):
5870
5923
  r"""模板详情
5871
5924
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-hai
3
- Version: 3.1.114
3
+ Version: 3.1.121
4
4
  Summary: Tencent Cloud Hai 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.114
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.121
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.121
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.114