byteplus-python-sdk-v2 3.0.46__py2.py3-none-any.whl → 3.0.47__py2.py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: byteplus-python-sdk-v2
3
- Version: 3.0.46
3
+ Version: 3.0.47
4
4
  Summary: Byteplus SDK for Python
5
5
  License-Expression: Apache-2.0
6
6
  Project-URL: Homepage, https://github.com/byteplus-sdk/byteplus-python-sdk-v2
@@ -1,5 +1,5 @@
1
- byteplus_python_sdk_v2-3.0.46.dist-info/licenses/LICENSE.txt,sha256=jG2zQEdRNt88EgHUWPpXVWmOrOduUQRx7MnYV9YIPaw,11359
2
- byteplus_python_sdk_v2-3.0.46.dist-info/licenses/NOTICE.md,sha256=vSw_bTkZl1MYBrGol3tpO6B6OLLFRpaw0z5cun0_0QE,85
1
+ byteplus_python_sdk_v2-3.0.47.dist-info/licenses/LICENSE.txt,sha256=jG2zQEdRNt88EgHUWPpXVWmOrOduUQRx7MnYV9YIPaw,11359
2
+ byteplus_python_sdk_v2-3.0.47.dist-info/licenses/NOTICE.md,sha256=vSw_bTkZl1MYBrGol3tpO6B6OLLFRpaw0z5cun0_0QE,85
3
3
  byteplussdkalb/__init__.py,sha256=hgNQF2o0CFabtxQHh0xHHZ5oHcz3bQ6wHpRkA9B8nuo,30746
4
4
  byteplussdkalb/api/__init__.py,sha256=H6iQBCnNKuvuPDr57uNOlglabIkEAd4CncI0rnwwEoE,133
5
5
  byteplussdkalb/api/alb_api.py,sha256=kWP7DNDolXb02v4nD5VmEjSmeddM-aBrHPGCIdC7ogY,249907
@@ -1931,8 +1931,8 @@ byteplussdkcloudmonitor/models/update_silence_policy_response.py,sha256=3PZTcDF2
1931
1931
  byteplussdkcloudmonitor/models/update_webhook_request.py,sha256=UuA9Ua57eLThwa7cVq5xPegHf-e3W2aGti5CLTBYf1U,7041
1932
1932
  byteplussdkcloudmonitor/models/update_webhook_response.py,sha256=Icjg1daq1uG0V3l7R_QVPkHvLCe1uXU1OphnDhoZ91A,3424
1933
1933
  byteplussdkcore/__init__.py,sha256=QD2qSwKMsMeYxsEQIdWce5ekPilRexqkWCP_q3YOqvo,308
1934
- byteplussdkcore/api_client.py,sha256=CNyBvOdCxWDAXoBIB70Ii0U55o7pvLlx-PVyF7aXXiw,28066
1935
- byteplussdkcore/configuration.py,sha256=buhYl_L3CoE13SPBwaMVw9u5COh-x5yLyO9nidxdZ1M,11924
1934
+ byteplussdkcore/api_client.py,sha256=H08vvxKH13aHOJv3CUGCsGiXTJ7nkdEbYmtzufQWfiE,28066
1935
+ byteplussdkcore/configuration.py,sha256=Wm9GRIInqGSXnSnnFFO9K6vunDVkW4a2A6V0iNG1s2I,11924
1936
1936
  byteplussdkcore/endpoint.py,sha256=L5Dw0-Cia9ezYxGJFgZ9td-mCM4AqSIZv67ll1sSzMY,1630
1937
1937
  byteplussdkcore/flatten.py,sha256=g3r61JS_AO7WV6ClRDkXgtnVXcw3c7tbZjeLAJxkSLc,3811
1938
1938
  byteplussdkcore/metadata.py,sha256=Km5jOllvPViXn0rdx604nIq0OF1RBF3Q2x-xA2cDXc8,4518
@@ -1959,7 +1959,7 @@ byteplussdkcore/endpoint/providers/default_provider.py,sha256=4uSuK4Ys8AFyPbVdvc
1959
1959
  byteplussdkcore/endpoint/providers/standard_provider.py,sha256=H7v5kCKkQOkX40-yX9DorXUG9tqI1wPNHTcuSKvoDPE,12352
1960
1960
  byteplussdkcore/feature/__init__.py,sha256=ev2S2XGLZUjbL7sylBd3NWmqGmcDcYV-Oj4qPZOztHU,154
1961
1961
  byteplussdkcore/feature/rds/__init__.py,sha256=g4-6e-OdBADN9_WzILg8P69KdSVSc5TyOg5CrXglE5A,119
1962
- byteplussdkcore/feature/rds/connect_utils.py,sha256=Re8TelxMQQSNO2dJci_wQ58EsCfN6l-87Q78pHASM5U,3177
1962
+ byteplussdkcore/feature/rds/connect_utils.py,sha256=Z_sJjNdRYXUKP9Ygi4tNWnUWBH-ueYekb3E0SW2vAPY,3177
1963
1963
  byteplussdkcore/interceptor/__init__.py,sha256=K8aS0P4Jgt6om7qa368c8qLR9M2Ia9I7dVd4UftLfwU,542
1964
1964
  byteplussdkcore/interceptor/chain.py,sha256=gcwS2gaGoExtG9pGKRJF2krlTnZwASsN3ZB5kG6FUFk,2084
1965
1965
  byteplussdkcore/interceptor/interceptors/__init__.py,sha256=yHGjqgaiDA3bnFzE2Tj_TFZaR5xxmuvNS3xRV5Qlb7o,519
@@ -1971,7 +1971,7 @@ byteplussdkcore/interceptor/interceptors/request.py,sha256=ePL4HWhqOe4UDl_i4Rxjt
1971
1971
  byteplussdkcore/interceptor/interceptors/resolve_endpoint_interceptor.py,sha256=XoOn1e9ctc3psBX1T4IdY_3nYix1p-fjFYJwOeQycSg,1371
1972
1972
  byteplussdkcore/interceptor/interceptors/response.py,sha256=tjh5m9J1PyW-Xd-PV5jeyc7OTfp4TP1q_daQYwtN9LI,154
1973
1973
  byteplussdkcore/interceptor/interceptors/runtime_options_interceptor.py,sha256=-vXhcHbgipyodqmIFG8S8QsL9YpHKDl8Kgj51iykvmA,2875
1974
- byteplussdkcore/interceptor/interceptors/sign_request_interceptor.py,sha256=rKOM4fStsLwHH9ZOffOt5mlxR-S2lOx86HijTxGkQkA,3626
1974
+ byteplussdkcore/interceptor/interceptors/sign_request_interceptor.py,sha256=CMN0JckmC_k_9_ckuuLpzd-Ph5qMgIkJbG8G-DsEebM,3642
1975
1975
  byteplussdkcore/observability/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1976
1976
  byteplussdkcore/observability/debugger.py,sha256=2zsvifojin-szjoM-18QbAOU62LKhKlqiCfIB7kdELU,9294
1977
1977
  byteplussdkcore/retryer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -8935,7 +8935,7 @@ byteplussdkvpn/models/vpn_connection_for_describe_vpn_connections_output.py,sha2
8935
8935
  byteplussdkvpn/models/vpn_gateway_for_describe_vpn_gateways_billing_output.py,sha256=PVoxecEDX9kyxj0C2lvvak-Dcj6Ob-S_dVO7cDUfONA,11033
8936
8936
  byteplussdkvpn/models/vpn_gateway_for_describe_vpn_gateways_output.py,sha256=Vws178kEWlj6cvHc6Pknd6DS_kQCMvVFI1PalrlXcio,28961
8937
8937
  byteplussdkvpn/models/vpn_gateway_route_for_describe_vpn_gateway_routes_output.py,sha256=f14Ld4PWButLCb0GGdne7tSbfN8NxNR4icaxRCRYkw0,12000
8938
- byteplus_python_sdk_v2-3.0.46.dist-info/METADATA,sha256=e0h_5Za4r8CaGh9d_bVzUst2in80KerCaJ5AyPTTZ8c,4677
8939
- byteplus_python_sdk_v2-3.0.46.dist-info/WHEEL,sha256=TdQ5LtNwLuxTCjgxN51AgdU5w-KkB9ttmLbzjTH02pg,109
8940
- byteplus_python_sdk_v2-3.0.46.dist-info/top_level.txt,sha256=xf6giQwfXA0koZpHXj8--sbO2WjzAwpJ6aCGaGB_NX4,997
8941
- byteplus_python_sdk_v2-3.0.46.dist-info/RECORD,,
8938
+ byteplus_python_sdk_v2-3.0.47.dist-info/METADATA,sha256=n2BVTKh2xVeHfLeWd7IFrkxBkWeOMpkg6O4mY59gQ1c,4677
8939
+ byteplus_python_sdk_v2-3.0.47.dist-info/WHEEL,sha256=TdQ5LtNwLuxTCjgxN51AgdU5w-KkB9ttmLbzjTH02pg,109
8940
+ byteplus_python_sdk_v2-3.0.47.dist-info/top_level.txt,sha256=xf6giQwfXA0koZpHXj8--sbO2WjzAwpJ6aCGaGB_NX4,997
8941
+ byteplus_python_sdk_v2-3.0.47.dist-info/RECORD,,
@@ -68,7 +68,7 @@ class ApiClient(object):
68
68
  self.default_headers[header_name] = header_value
69
69
  self.cookie = cookie
70
70
  # Set default User-Agent.
71
- self.user_agent = 'byteplus-python-sdk-v2/3.0.46'
71
+ self.user_agent = 'byteplus-python-sdk-v2/3.0.47'
72
72
  self.client_side_validation = configuration.client_side_validation
73
73
 
74
74
  self.interceptor_chain = InterceptorChain()
@@ -287,7 +287,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)):
287
287
  "OS: {env}\n" \
288
288
  "Python Version: {pyversion}\n" \
289
289
  "Version of the API: 0.1.0\n" \
290
- "SDK Package Version: 3.0.46".\
290
+ "SDK Package Version: 3.0.47".\
291
291
  format(env=sys.platform, pyversion=sys.version)
292
292
 
293
293
  @property
@@ -76,7 +76,7 @@ def build_auth_token(api_client, db_user, instance_id, expires=None):
76
76
 
77
77
  # Step 2: Save resolved host to X-Host query param, then clear host so it won't be signed
78
78
  resolved_host = context.request.host
79
- context.request.query_params['X-Host'] = '{scheme}://{host}'.format(
79
+ context.request.query_params['X-HOST'] = '{scheme}://{host}'.format(
80
80
  scheme=context.request.scheme, host=resolved_host)
81
81
  context.request.host = None
82
82
 
@@ -1,3 +1,4 @@
1
+ # coding: utf-8
1
2
  import json
2
3
  import threading
3
4