Skip to content

Commit 6fd1a8b

Browse files
author
BitsAdmin
committed
Merge branch 'ark-Python-2024-01-01-online-948-2025_01_20_15_37_30' into 'integration_2025-01-23_700905551106'
feat: [development task] ark-948-Python (990491) See merge request iaasng/volcengine-python-sdk!496
2 parents c72b552 + 02e1ce3 commit 6fd1a8b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

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

0 commit comments

Comments
 (0)