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.
- {byteplus_python_sdk_v2-3.0.46.dist-info → byteplus_python_sdk_v2-3.0.47.dist-info}/METADATA +1 -1
- {byteplus_python_sdk_v2-3.0.46.dist-info → byteplus_python_sdk_v2-3.0.47.dist-info}/RECORD +10 -10
- byteplussdkcore/api_client.py +1 -1
- byteplussdkcore/configuration.py +1 -1
- byteplussdkcore/feature/rds/connect_utils.py +1 -1
- byteplussdkcore/interceptor/interceptors/sign_request_interceptor.py +1 -0
- {byteplus_python_sdk_v2-3.0.46.dist-info → byteplus_python_sdk_v2-3.0.47.dist-info}/WHEEL +0 -0
- {byteplus_python_sdk_v2-3.0.46.dist-info → byteplus_python_sdk_v2-3.0.47.dist-info}/licenses/LICENSE.txt +0 -0
- {byteplus_python_sdk_v2-3.0.46.dist-info → byteplus_python_sdk_v2-3.0.47.dist-info}/licenses/NOTICE.md +0 -0
- {byteplus_python_sdk_v2-3.0.46.dist-info → byteplus_python_sdk_v2-3.0.47.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
byteplus_python_sdk_v2-3.0.
|
|
2
|
-
byteplus_python_sdk_v2-3.0.
|
|
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=
|
|
1935
|
-
byteplussdkcore/configuration.py,sha256=
|
|
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=
|
|
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=
|
|
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.
|
|
8939
|
-
byteplus_python_sdk_v2-3.0.
|
|
8940
|
-
byteplus_python_sdk_v2-3.0.
|
|
8941
|
-
byteplus_python_sdk_v2-3.0.
|
|
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,,
|
byteplussdkcore/api_client.py
CHANGED
|
@@ -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.
|
|
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()
|
byteplussdkcore/configuration.py
CHANGED
|
@@ -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.
|
|
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-
|
|
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
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{byteplus_python_sdk_v2-3.0.46.dist-info → byteplus_python_sdk_v2-3.0.47.dist-info}/top_level.txt
RENAMED
|
File without changes
|