Skip to content

Commit 7eb45b8

Browse files
author
ci_volc_sdk_gen
committed
feat: auto generate for id-Python-2025-10-30-online-1906-2025_12_03_13_13_34
1 parent a867758 commit 7eb45b8

File tree

6 files changed

+8
-9
lines changed

6 files changed

+8
-9
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": "4.0.36",
3-
"meta_commit": "53bf78ceb8eab6094794c312764bff73fc3317e4"
2+
"lasted": "4.0.37",
3+
"meta_commit": "cc81e42bb63f106af459f60abf488953fa4d7d5c"
44
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "volcengine-python-sdk"
3-
version = "4.0.36"
3+
version = "4.0.37"
44
authors = [
55
{name = "volc-engine", email = "[email protected]"},
66
]

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 = "4.0.36"
6+
VERSION = "4.0.37"
77
# To install the library, run the following
88
#
99
# python setup.py install

volcenginesdkcore/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
6464
self.default_headers[header_name] = header_value
6565
self.cookie = cookie
6666
# Set default User-Agent.
67-
self.user_agent = 'volcstack-python-sdk/4.0.36'
67+
self.user_agent = 'volcstack-python-sdk/4.0.37'
6868
self.client_side_validation = configuration.client_side_validation
6969

7070
self.interceptor_chain = InterceptorChain()

volcenginesdkcore/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def to_debug_report(self):
272272
"OS: {env}\n" \
273273
"Python Version: {pyversion}\n" \
274274
"Version of the API: 0.1.0\n" \
275-
"SDK Package Version: 4.0.36".\
275+
"SDK Package Version: 4.0.37".\
276276
format(env=sys.platform, pyversion=sys.version)
277277

278278
@property

volcenginesdkid/models/create_policy_request.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ def __init__(self, description=None, namespace_name=None, policy=None, policy_na
5858
self._policy_name = None
5959
self.discriminator = None
6060

61-
self.description = description
61+
if description is not None:
62+
self.description = description
6263
if namespace_name is not None:
6364
self.namespace_name = namespace_name
6465
if policy is not None:
@@ -84,8 +85,6 @@ def description(self, description):
8485
:param description: The description of this CreatePolicyRequest. # noqa: E501
8586
:type: str
8687
"""
87-
if self._configuration.client_side_validation and description is None:
88-
raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501
8988

9089
self._description = description
9190

0 commit comments

Comments
 (0)