tencentcloud-sdk-python-tokenhub 3.1.218__tar.gz → 3.1.222__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_tokenhub-3.1.218 → tencentcloud_sdk_python_tokenhub-3.1.222}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_tokenhub-3.1.218 → tencentcloud_sdk_python_tokenhub-3.1.222}/setup.py +1 -1
  3. {tencentcloud_sdk_python_tokenhub-3.1.218 → tencentcloud_sdk_python_tokenhub-3.1.222}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_tokenhub-3.1.218 → tencentcloud_sdk_python_tokenhub-3.1.222}/tencentcloud/tokenhub/v20260322/models.py +118 -44
  5. {tencentcloud_sdk_python_tokenhub-3.1.218 → tencentcloud_sdk_python_tokenhub-3.1.222}/tencentcloud_sdk_python_tokenhub.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_tokenhub-3.1.222/tencentcloud_sdk_python_tokenhub.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_tokenhub-3.1.218/tencentcloud_sdk_python_tokenhub.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_tokenhub-3.1.218 → tencentcloud_sdk_python_tokenhub-3.1.222}/README.rst +0 -0
  9. {tencentcloud_sdk_python_tokenhub-3.1.218 → tencentcloud_sdk_python_tokenhub-3.1.222}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_tokenhub-3.1.218 → tencentcloud_sdk_python_tokenhub-3.1.222}/tencentcloud/tokenhub/__init__.py +0 -0
  11. {tencentcloud_sdk_python_tokenhub-3.1.218 → tencentcloud_sdk_python_tokenhub-3.1.222}/tencentcloud/tokenhub/v20260322/__init__.py +0 -0
  12. {tencentcloud_sdk_python_tokenhub-3.1.218 → tencentcloud_sdk_python_tokenhub-3.1.222}/tencentcloud/tokenhub/v20260322/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_tokenhub-3.1.218 → tencentcloud_sdk_python_tokenhub-3.1.222}/tencentcloud/tokenhub/v20260322/tokenhub_client.py +0 -0
  14. {tencentcloud_sdk_python_tokenhub-3.1.218 → tencentcloud_sdk_python_tokenhub-3.1.222}/tencentcloud/tokenhub/v20260322/tokenhub_client_async.py +0 -0
  15. {tencentcloud_sdk_python_tokenhub-3.1.218 → tencentcloud_sdk_python_tokenhub-3.1.222}/tencentcloud_sdk_python_tokenhub.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_tokenhub-3.1.218 → tencentcloud_sdk_python_tokenhub-3.1.222}/tencentcloud_sdk_python_tokenhub.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_tokenhub-3.1.218 → tencentcloud_sdk_python_tokenhub-3.1.222}/tencentcloud_sdk_python_tokenhub.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tokenhub
3
- Version: 3.1.218
3
+ Version: 3.1.222
4
4
  Summary: Tencent Cloud Tokenhub 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.218
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.222
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-tokenhub',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.218,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.222,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Tokenhub SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.218'
17
+ __version__ = '3.1.222'
@@ -10011,42 +10011,46 @@ class UsageDetailItem(AbstractModel):
10011
10011
 
10012
10012
  def __init__(self):
10013
10013
  r"""
10014
- :param _Uin: 主账号 UIN。
10014
+ :param _Uin: <p>主账号 UIN。</p>
10015
10015
  :type Uin: str
10016
- :param _ModelName: 模型名称。
10016
+ :param _ModelName: <p>模型名称。</p>
10017
10017
  :type ModelName: str
10018
- :param _ApiKeyId: APIKey ID。
10018
+ :param _ApiKeyId: <p>APIKey ID。</p>
10019
10019
  :type ApiKeyId: str
10020
- :param _ApiKeyName: APIKey 名称。
10020
+ :param _ApiKeyName: <p>APIKey 名称。</p>
10021
10021
  :type ApiKeyName: str
10022
- :param _RequestId: 请求 ID。
10022
+ :param _RequestId: <p>请求 ID。</p>
10023
10023
  :type RequestId: str
10024
- :param _RequestTime: 请求时间(RFC3339 格式)。
10024
+ :param _RequestTime: <p>请求时间(RFC3339 格式)。</p>
10025
10025
  :type RequestTime: str
10026
- :param _InputToken: 输入 token 数。
10026
+ :param _InputToken: <p>输入 token 数。</p>
10027
10027
  :type InputToken: int
10028
- :param _CacheToken: 缓存 token 数。
10028
+ :param _CacheToken: <p>缓存 token 数。</p>
10029
10029
  :type CacheToken: int
10030
- :param _OutputToken: 输出 token 数。
10030
+ :param _OutputToken: <p>输出 token 数。</p>
10031
10031
  :type OutputToken: int
10032
- :param _TotalToken: 总 token 数。
10032
+ :param _TotalToken: <p>总 token 数。</p>
10033
10033
  :type TotalToken: int
10034
- :param _InputQuota: 未命中缓存输入消耗额度。单位说明如下:
10035
- - 套餐类型为专业套餐(enterprise),单位取值为积分;
10036
- - 套餐类型轻享套餐(enterprise-auto),单位取值为 token。
10034
+ :param _InputQuota: <p>未命中缓存输入消耗额度。单位说明如下:</p><ul><li>套餐类型为专业套餐(enterprise),单位取值为积分;</li><li>套餐类型轻享套餐(enterprise-auto),单位取值为 token。</li></ul>
10037
10035
  :type InputQuota: str
10038
- :param _CacheQuota: 缓存消耗额度。单位说明如下:
10039
- - 套餐类型为专业套餐(enterprise),单位取值为积分;
10040
- - 套餐类型轻享套餐(enterprise-auto),单位取值为 token。
10036
+ :param _CacheQuota: <p>缓存消耗额度。单位说明如下:</p><ul><li>套餐类型为专业套餐(enterprise),单位取值为积分;</li><li>套餐类型轻享套餐(enterprise-auto),单位取值为 token。</li></ul>
10041
10037
  :type CacheQuota: str
10042
- :param _OutputQuota: 输出消耗额度。单位说明如下:
10043
- - 套餐类型为专业套餐(enterprise),单位取值为积分;
10044
- - 套餐类型轻享套餐(enterprise-auto),单位取值为 token。
10038
+ :param _OutputQuota: <p>输出消耗额度。单位说明如下:</p><ul><li>套餐类型为专业套餐(enterprise),单位取值为积分;</li><li>套餐类型轻享套餐(enterprise-auto),单位取值为 token。</li></ul>
10045
10039
  :type OutputQuota: str
10046
- :param _TotalQuota: 总消耗额度。单位说明如下:
10047
- - 套餐类型为专业套餐(enterprise),单位取值为积分;
10048
- - 套餐类型轻享套餐(enterprise-auto),单位取值为 token。
10040
+ :param _TotalQuota: <p>总消耗额度。单位说明如下:</p><ul><li>套餐类型为专业套餐(enterprise),单位取值为积分;</li><li>套餐类型轻享套餐(enterprise-auto),单位取值为 token。</li></ul>
10049
10041
  :type TotalQuota: str
10042
+ :param _Protocol: <p>协议类型,如 /plan/v3/chat/completions</p>
10043
+ :type Protocol: str
10044
+ :param _SessionId: <p>客户端会话标识(X-Session-ID 原值,≤256 字节)</p>
10045
+ :type SessionId: str
10046
+ :param _CacheWrite5mQuota: <p>写缓存(5 分钟 TTL)积分</p>
10047
+ :type CacheWrite5mQuota: str
10048
+ :param _CacheWrite1hQuota: <p>写缓存(1 小时 TTL)积分</p>
10049
+ :type CacheWrite1hQuota: str
10050
+ :param _CacheWrite5mToken: <p>写缓存(5 分钟 TTL)token 数。</p>
10051
+ :type CacheWrite5mToken: int
10052
+ :param _CacheWrite1hToken: <p>写缓存(1 小时 TTL)token 数。</p>
10053
+ :type CacheWrite1hToken: int
10050
10054
  """
10051
10055
  self._Uin = None
10052
10056
  self._ModelName = None
@@ -10062,10 +10066,16 @@ class UsageDetailItem(AbstractModel):
10062
10066
  self._CacheQuota = None
10063
10067
  self._OutputQuota = None
10064
10068
  self._TotalQuota = None
10069
+ self._Protocol = None
10070
+ self._SessionId = None
10071
+ self._CacheWrite5mQuota = None
10072
+ self._CacheWrite1hQuota = None
10073
+ self._CacheWrite5mToken = None
10074
+ self._CacheWrite1hToken = None
10065
10075
 
10066
10076
  @property
10067
10077
  def Uin(self):
10068
- r"""主账号 UIN。
10078
+ r"""<p>主账号 UIN。</p>
10069
10079
  :rtype: str
10070
10080
  """
10071
10081
  return self._Uin
@@ -10076,7 +10086,7 @@ class UsageDetailItem(AbstractModel):
10076
10086
 
10077
10087
  @property
10078
10088
  def ModelName(self):
10079
- r"""模型名称。
10089
+ r"""<p>模型名称。</p>
10080
10090
  :rtype: str
10081
10091
  """
10082
10092
  return self._ModelName
@@ -10087,7 +10097,7 @@ class UsageDetailItem(AbstractModel):
10087
10097
 
10088
10098
  @property
10089
10099
  def ApiKeyId(self):
10090
- r"""APIKey ID。
10100
+ r"""<p>APIKey ID。</p>
10091
10101
  :rtype: str
10092
10102
  """
10093
10103
  return self._ApiKeyId
@@ -10098,7 +10108,7 @@ class UsageDetailItem(AbstractModel):
10098
10108
 
10099
10109
  @property
10100
10110
  def ApiKeyName(self):
10101
- r"""APIKey 名称。
10111
+ r"""<p>APIKey 名称。</p>
10102
10112
  :rtype: str
10103
10113
  """
10104
10114
  return self._ApiKeyName
@@ -10109,7 +10119,7 @@ class UsageDetailItem(AbstractModel):
10109
10119
 
10110
10120
  @property
10111
10121
  def RequestId(self):
10112
- r"""请求 ID。
10122
+ r"""<p>请求 ID。</p>
10113
10123
  :rtype: str
10114
10124
  """
10115
10125
  return self._RequestId
@@ -10120,7 +10130,7 @@ class UsageDetailItem(AbstractModel):
10120
10130
 
10121
10131
  @property
10122
10132
  def RequestTime(self):
10123
- r"""请求时间(RFC3339 格式)。
10133
+ r"""<p>请求时间(RFC3339 格式)。</p>
10124
10134
  :rtype: str
10125
10135
  """
10126
10136
  return self._RequestTime
@@ -10131,7 +10141,7 @@ class UsageDetailItem(AbstractModel):
10131
10141
 
10132
10142
  @property
10133
10143
  def InputToken(self):
10134
- r"""输入 token 数。
10144
+ r"""<p>输入 token 数。</p>
10135
10145
  :rtype: int
10136
10146
  """
10137
10147
  return self._InputToken
@@ -10142,7 +10152,7 @@ class UsageDetailItem(AbstractModel):
10142
10152
 
10143
10153
  @property
10144
10154
  def CacheToken(self):
10145
- r"""缓存 token 数。
10155
+ r"""<p>缓存 token 数。</p>
10146
10156
  :rtype: int
10147
10157
  """
10148
10158
  return self._CacheToken
@@ -10153,7 +10163,7 @@ class UsageDetailItem(AbstractModel):
10153
10163
 
10154
10164
  @property
10155
10165
  def OutputToken(self):
10156
- r"""输出 token 数。
10166
+ r"""<p>输出 token 数。</p>
10157
10167
  :rtype: int
10158
10168
  """
10159
10169
  return self._OutputToken
@@ -10164,7 +10174,7 @@ class UsageDetailItem(AbstractModel):
10164
10174
 
10165
10175
  @property
10166
10176
  def TotalToken(self):
10167
- r"""总 token 数。
10177
+ r"""<p>总 token 数。</p>
10168
10178
  :rtype: int
10169
10179
  """
10170
10180
  return self._TotalToken
@@ -10175,9 +10185,7 @@ class UsageDetailItem(AbstractModel):
10175
10185
 
10176
10186
  @property
10177
10187
  def InputQuota(self):
10178
- r"""未命中缓存输入消耗额度。单位说明如下:
10179
- - 套餐类型为专业套餐(enterprise),单位取值为积分;
10180
- - 套餐类型轻享套餐(enterprise-auto),单位取值为 token。
10188
+ r"""<p>未命中缓存输入消耗额度。单位说明如下:</p><ul><li>套餐类型为专业套餐(enterprise),单位取值为积分;</li><li>套餐类型轻享套餐(enterprise-auto),单位取值为 token。</li></ul>
10181
10189
  :rtype: str
10182
10190
  """
10183
10191
  return self._InputQuota
@@ -10188,9 +10196,7 @@ class UsageDetailItem(AbstractModel):
10188
10196
 
10189
10197
  @property
10190
10198
  def CacheQuota(self):
10191
- r"""缓存消耗额度。单位说明如下:
10192
- - 套餐类型为专业套餐(enterprise),单位取值为积分;
10193
- - 套餐类型轻享套餐(enterprise-auto),单位取值为 token。
10199
+ r"""<p>缓存消耗额度。单位说明如下:</p><ul><li>套餐类型为专业套餐(enterprise),单位取值为积分;</li><li>套餐类型轻享套餐(enterprise-auto),单位取值为 token。</li></ul>
10194
10200
  :rtype: str
10195
10201
  """
10196
10202
  return self._CacheQuota
@@ -10201,9 +10207,7 @@ class UsageDetailItem(AbstractModel):
10201
10207
 
10202
10208
  @property
10203
10209
  def OutputQuota(self):
10204
- r"""输出消耗额度。单位说明如下:
10205
- - 套餐类型为专业套餐(enterprise),单位取值为积分;
10206
- - 套餐类型轻享套餐(enterprise-auto),单位取值为 token。
10210
+ r"""<p>输出消耗额度。单位说明如下:</p><ul><li>套餐类型为专业套餐(enterprise),单位取值为积分;</li><li>套餐类型轻享套餐(enterprise-auto),单位取值为 token。</li></ul>
10207
10211
  :rtype: str
10208
10212
  """
10209
10213
  return self._OutputQuota
@@ -10214,9 +10218,7 @@ class UsageDetailItem(AbstractModel):
10214
10218
 
10215
10219
  @property
10216
10220
  def TotalQuota(self):
10217
- r"""总消耗额度。单位说明如下:
10218
- - 套餐类型为专业套餐(enterprise),单位取值为积分;
10219
- - 套餐类型轻享套餐(enterprise-auto),单位取值为 token。
10221
+ r"""<p>总消耗额度。单位说明如下:</p><ul><li>套餐类型为专业套餐(enterprise),单位取值为积分;</li><li>套餐类型轻享套餐(enterprise-auto),单位取值为 token。</li></ul>
10220
10222
  :rtype: str
10221
10223
  """
10222
10224
  return self._TotalQuota
@@ -10225,6 +10227,72 @@ class UsageDetailItem(AbstractModel):
10225
10227
  def TotalQuota(self, TotalQuota):
10226
10228
  self._TotalQuota = TotalQuota
10227
10229
 
10230
+ @property
10231
+ def Protocol(self):
10232
+ r"""<p>协议类型,如 /plan/v3/chat/completions</p>
10233
+ :rtype: str
10234
+ """
10235
+ return self._Protocol
10236
+
10237
+ @Protocol.setter
10238
+ def Protocol(self, Protocol):
10239
+ self._Protocol = Protocol
10240
+
10241
+ @property
10242
+ def SessionId(self):
10243
+ r"""<p>客户端会话标识(X-Session-ID 原值,≤256 字节)</p>
10244
+ :rtype: str
10245
+ """
10246
+ return self._SessionId
10247
+
10248
+ @SessionId.setter
10249
+ def SessionId(self, SessionId):
10250
+ self._SessionId = SessionId
10251
+
10252
+ @property
10253
+ def CacheWrite5mQuota(self):
10254
+ r"""<p>写缓存(5 分钟 TTL)积分</p>
10255
+ :rtype: str
10256
+ """
10257
+ return self._CacheWrite5mQuota
10258
+
10259
+ @CacheWrite5mQuota.setter
10260
+ def CacheWrite5mQuota(self, CacheWrite5mQuota):
10261
+ self._CacheWrite5mQuota = CacheWrite5mQuota
10262
+
10263
+ @property
10264
+ def CacheWrite1hQuota(self):
10265
+ r"""<p>写缓存(1 小时 TTL)积分</p>
10266
+ :rtype: str
10267
+ """
10268
+ return self._CacheWrite1hQuota
10269
+
10270
+ @CacheWrite1hQuota.setter
10271
+ def CacheWrite1hQuota(self, CacheWrite1hQuota):
10272
+ self._CacheWrite1hQuota = CacheWrite1hQuota
10273
+
10274
+ @property
10275
+ def CacheWrite5mToken(self):
10276
+ r"""<p>写缓存(5 分钟 TTL)token 数。</p>
10277
+ :rtype: int
10278
+ """
10279
+ return self._CacheWrite5mToken
10280
+
10281
+ @CacheWrite5mToken.setter
10282
+ def CacheWrite5mToken(self, CacheWrite5mToken):
10283
+ self._CacheWrite5mToken = CacheWrite5mToken
10284
+
10285
+ @property
10286
+ def CacheWrite1hToken(self):
10287
+ r"""<p>写缓存(1 小时 TTL)token 数。</p>
10288
+ :rtype: int
10289
+ """
10290
+ return self._CacheWrite1hToken
10291
+
10292
+ @CacheWrite1hToken.setter
10293
+ def CacheWrite1hToken(self, CacheWrite1hToken):
10294
+ self._CacheWrite1hToken = CacheWrite1hToken
10295
+
10228
10296
 
10229
10297
  def _deserialize(self, params):
10230
10298
  self._Uin = params.get("Uin")
@@ -10241,6 +10309,12 @@ class UsageDetailItem(AbstractModel):
10241
10309
  self._CacheQuota = params.get("CacheQuota")
10242
10310
  self._OutputQuota = params.get("OutputQuota")
10243
10311
  self._TotalQuota = params.get("TotalQuota")
10312
+ self._Protocol = params.get("Protocol")
10313
+ self._SessionId = params.get("SessionId")
10314
+ self._CacheWrite5mQuota = params.get("CacheWrite5mQuota")
10315
+ self._CacheWrite1hQuota = params.get("CacheWrite1hQuota")
10316
+ self._CacheWrite5mToken = params.get("CacheWrite5mToken")
10317
+ self._CacheWrite1hToken = params.get("CacheWrite1hToken")
10244
10318
  memeber_set = set(params.keys())
10245
10319
  for name, value in vars(self).items():
10246
10320
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tokenhub
3
- Version: 3.1.218
3
+ Version: 3.1.222
4
4
  Summary: Tencent Cloud Tokenhub 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.218
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.222
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.222
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.218