Skip to content

Commit 3f27178

Browse files
author
ci_volc_sdk_gen
committed
feat: auto generate for ark-Python-2024-01-01-online-948-2025_01_20_15_37_30
1 parent fe51ca6 commit 3f27178

File tree

5 files changed

+5
-12
lines changed

5 files changed

+5
-12
lines changed

meta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"lasted": "1.0.121",
3-
"meta_commit": "fafa370010121d733a30f1c6f5951f35ba5cc8c2"
2+
"lasted": "1.0.122",
3+
"meta_commit": "da0f9b3d8077c0103b127df863914eb37f79ddc7"
44
}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from setuptools import setup, find_packages # noqa: H301
44

55
NAME = "volcengine-python-sdk"
6-
VERSION = "1.0.121"
6+
VERSION = "1.0.122"
77
# To install the library, run the following
88
#
99
# python setup.py install

volcenginesdkark/models/get_api_key_request.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,6 @@ def resource_type(self, resource_type):
124124
"""
125125
if self._configuration.client_side_validation and resource_type is None:
126126
raise ValueError("Invalid value for `resource_type`, must not be `None`") # noqa: E501
127-
allowed_values = ["endpoint", "bot"] # noqa: E501
128-
if (self._configuration.client_side_validation and
129-
resource_type not in allowed_values):
130-
raise ValueError(
131-
"Invalid value for `resource_type` ({0}), must be one of {1}" # noqa: E501
132-
.format(resource_type, allowed_values)
133-
)
134127

135128
self._resource_type = resource_type
136129

volcenginesdkcore/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
6767
self.default_headers[header_name] = header_value
6868
self.cookie = cookie
6969
# Set default User-Agent.
70-
self.user_agent = 'volcstack-python-sdk/1.0.121'
70+
self.user_agent = 'volcstack-python-sdk/1.0.122'
7171
self.client_side_validation = configuration.client_side_validation
7272

7373
def __del__(self):

volcenginesdkcore/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,5 +221,5 @@ def to_debug_report(self):
221221
"OS: {env}\n"\
222222
"Python Version: {pyversion}\n"\
223223
"Version of the API: 0.1.0\n"\
224-
"SDK Package Version: 1.0.121".\
224+
"SDK Package Version: 1.0.122".\
225225
format(env=sys.platform, pyversion=sys.version)

0 commit comments

Comments
 (0)