Skip to content

Commit dfac27d

Browse files
committed
Merge "integration_2026-03-19_1127023116802" into "milvus-Python-2023-01-01-online-2359-2026_03_16_18_20_52"
Conflicts: pyproject.toml
2 parents 0940c5c + 566e925 commit dfac27d

296 files changed

Lines changed: 55437 additions & 1720 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

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 = "5.0.17"
3+
version = "5.0.18"
44
authors = [
55
{name = "volc-engine", email = "volc-sdk-team@bytedance.com"},
66
]

volcenginesdkid/__init__.py

Lines changed: 163 additions & 0 deletions
Large diffs are not rendered by default.

volcenginesdkid/api/id_api.py

Lines changed: 5226 additions & 1540 deletions
Large diffs are not rendered by default.

volcenginesdkid/models/__init__.py

Lines changed: 163 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 177 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
# coding: utf-8
2+
3+
"""
4+
id
5+
6+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7+
8+
OpenAPI spec version: common-version
9+
10+
Generated by: https://github.com/swagger-api/swagger-codegen.git
11+
"""
12+
13+
14+
import pprint
15+
import re # noqa: F401
16+
17+
import six
18+
19+
from volcenginesdkcore.configuration import Configuration
20+
21+
22+
class AddUsersToGroupRequest(object):
23+
"""NOTE: This class is auto generated by the swagger code generator program.
24+
25+
Do not edit the class manually.
26+
"""
27+
28+
"""
29+
Attributes:
30+
swagger_types (dict): The key is attribute name
31+
and the value is attribute type.
32+
attribute_map (dict): The key is attribute name
33+
and the value is json key in definition.
34+
"""
35+
swagger_types = {
36+
'group_uid': 'str',
37+
'user_pool_uid': 'str',
38+
'user_uids': 'list[str]'
39+
}
40+
41+
attribute_map = {
42+
'group_uid': 'GroupUid',
43+
'user_pool_uid': 'UserPoolUid',
44+
'user_uids': 'UserUids'
45+
}
46+
47+
def __init__(self, group_uid=None, user_pool_uid=None, user_uids=None, _configuration=None): # noqa: E501
48+
"""AddUsersToGroupRequest - a model defined in Swagger""" # noqa: E501
49+
if _configuration is None:
50+
_configuration = Configuration()
51+
self._configuration = _configuration
52+
53+
self._group_uid = None
54+
self._user_pool_uid = None
55+
self._user_uids = None
56+
self.discriminator = None
57+
58+
self.group_uid = group_uid
59+
self.user_pool_uid = user_pool_uid
60+
if user_uids is not None:
61+
self.user_uids = user_uids
62+
63+
@property
64+
def group_uid(self):
65+
"""Gets the group_uid of this AddUsersToGroupRequest. # noqa: E501
66+
67+
68+
:return: The group_uid of this AddUsersToGroupRequest. # noqa: E501
69+
:rtype: str
70+
"""
71+
return self._group_uid
72+
73+
@group_uid.setter
74+
def group_uid(self, group_uid):
75+
"""Sets the group_uid of this AddUsersToGroupRequest.
76+
77+
78+
:param group_uid: The group_uid of this AddUsersToGroupRequest. # noqa: E501
79+
:type: str
80+
"""
81+
if self._configuration.client_side_validation and group_uid is None:
82+
raise ValueError("Invalid value for `group_uid`, must not be `None`") # noqa: E501
83+
84+
self._group_uid = group_uid
85+
86+
@property
87+
def user_pool_uid(self):
88+
"""Gets the user_pool_uid of this AddUsersToGroupRequest. # noqa: E501
89+
90+
91+
:return: The user_pool_uid of this AddUsersToGroupRequest. # noqa: E501
92+
:rtype: str
93+
"""
94+
return self._user_pool_uid
95+
96+
@user_pool_uid.setter
97+
def user_pool_uid(self, user_pool_uid):
98+
"""Sets the user_pool_uid of this AddUsersToGroupRequest.
99+
100+
101+
:param user_pool_uid: The user_pool_uid of this AddUsersToGroupRequest. # noqa: E501
102+
:type: str
103+
"""
104+
if self._configuration.client_side_validation and user_pool_uid is None:
105+
raise ValueError("Invalid value for `user_pool_uid`, must not be `None`") # noqa: E501
106+
107+
self._user_pool_uid = user_pool_uid
108+
109+
@property
110+
def user_uids(self):
111+
"""Gets the user_uids of this AddUsersToGroupRequest. # noqa: E501
112+
113+
114+
:return: The user_uids of this AddUsersToGroupRequest. # noqa: E501
115+
:rtype: list[str]
116+
"""
117+
return self._user_uids
118+
119+
@user_uids.setter
120+
def user_uids(self, user_uids):
121+
"""Sets the user_uids of this AddUsersToGroupRequest.
122+
123+
124+
:param user_uids: The user_uids of this AddUsersToGroupRequest. # noqa: E501
125+
:type: list[str]
126+
"""
127+
128+
self._user_uids = user_uids
129+
130+
def to_dict(self):
131+
"""Returns the model properties as a dict"""
132+
result = {}
133+
134+
for attr, _ in six.iteritems(self.swagger_types):
135+
value = getattr(self, attr)
136+
if isinstance(value, list):
137+
result[attr] = list(map(
138+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
139+
value
140+
))
141+
elif hasattr(value, "to_dict"):
142+
result[attr] = value.to_dict()
143+
elif isinstance(value, dict):
144+
result[attr] = dict(map(
145+
lambda item: (item[0], item[1].to_dict())
146+
if hasattr(item[1], "to_dict") else item,
147+
value.items()
148+
))
149+
else:
150+
result[attr] = value
151+
if issubclass(AddUsersToGroupRequest, dict):
152+
for key, value in self.items():
153+
result[key] = value
154+
155+
return result
156+
157+
def to_str(self):
158+
"""Returns the string representation of the model"""
159+
return pprint.pformat(self.to_dict())
160+
161+
def __repr__(self):
162+
"""For `print` and `pprint`"""
163+
return self.to_str()
164+
165+
def __eq__(self, other):
166+
"""Returns true if both objects are equal"""
167+
if not isinstance(other, AddUsersToGroupRequest):
168+
return False
169+
170+
return self.to_dict() == other.to_dict()
171+
172+
def __ne__(self, other):
173+
"""Returns true if both objects are not equal"""
174+
if not isinstance(other, AddUsersToGroupRequest):
175+
return True
176+
177+
return self.to_dict() != other.to_dict()
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
# coding: utf-8
2+
3+
"""
4+
id
5+
6+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7+
8+
OpenAPI spec version: common-version
9+
10+
Generated by: https://github.com/swagger-api/swagger-codegen.git
11+
"""
12+
13+
14+
import pprint
15+
import re # noqa: F401
16+
17+
import six
18+
19+
from volcenginesdkcore.configuration import Configuration
20+
21+
22+
class AddUsersToGroupResponse(object):
23+
"""NOTE: This class is auto generated by the swagger code generator program.
24+
25+
Do not edit the class manually.
26+
"""
27+
28+
"""
29+
Attributes:
30+
swagger_types (dict): The key is attribute name
31+
and the value is attribute type.
32+
attribute_map (dict): The key is attribute name
33+
and the value is json key in definition.
34+
"""
35+
swagger_types = {
36+
'message': 'str'
37+
}
38+
39+
attribute_map = {
40+
'message': 'Message'
41+
}
42+
43+
def __init__(self, message=None, _configuration=None): # noqa: E501
44+
"""AddUsersToGroupResponse - a model defined in Swagger""" # noqa: E501
45+
if _configuration is None:
46+
_configuration = Configuration()
47+
self._configuration = _configuration
48+
49+
self._message = None
50+
self.discriminator = None
51+
52+
if message is not None:
53+
self.message = message
54+
55+
@property
56+
def message(self):
57+
"""Gets the message of this AddUsersToGroupResponse. # noqa: E501
58+
59+
60+
:return: The message of this AddUsersToGroupResponse. # noqa: E501
61+
:rtype: str
62+
"""
63+
return self._message
64+
65+
@message.setter
66+
def message(self, message):
67+
"""Sets the message of this AddUsersToGroupResponse.
68+
69+
70+
:param message: The message of this AddUsersToGroupResponse. # noqa: E501
71+
:type: str
72+
"""
73+
74+
self._message = message
75+
76+
def to_dict(self):
77+
"""Returns the model properties as a dict"""
78+
result = {}
79+
80+
for attr, _ in six.iteritems(self.swagger_types):
81+
value = getattr(self, attr)
82+
if isinstance(value, list):
83+
result[attr] = list(map(
84+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
85+
value
86+
))
87+
elif hasattr(value, "to_dict"):
88+
result[attr] = value.to_dict()
89+
elif isinstance(value, dict):
90+
result[attr] = dict(map(
91+
lambda item: (item[0], item[1].to_dict())
92+
if hasattr(item[1], "to_dict") else item,
93+
value.items()
94+
))
95+
else:
96+
result[attr] = value
97+
if issubclass(AddUsersToGroupResponse, dict):
98+
for key, value in self.items():
99+
result[key] = value
100+
101+
return result
102+
103+
def to_str(self):
104+
"""Returns the string representation of the model"""
105+
return pprint.pformat(self.to_dict())
106+
107+
def __repr__(self):
108+
"""For `print` and `pprint`"""
109+
return self.to_str()
110+
111+
def __eq__(self, other):
112+
"""Returns true if both objects are equal"""
113+
if not isinstance(other, AddUsersToGroupResponse):
114+
return False
115+
116+
return self.to_dict() == other.to_dict()
117+
118+
def __ne__(self, other):
119+
"""Returns true if both objects are not equal"""
120+
if not isinstance(other, AddUsersToGroupResponse):
121+
return True
122+
123+
return self.to_dict() != other.to_dict()

0 commit comments

Comments
 (0)