huaweicloudsdktics 3.1.160__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.
Potentially problematic release.
This version of huaweicloudsdktics might be problematic. Click here for more details.
- huaweicloudsdktics/__init__.py +0 -0
- huaweicloudsdktics/v1/__init__.py +74 -0
- huaweicloudsdktics/v1/model/__init__.py +71 -0
- huaweicloudsdktics/v1/model/agent_list_vo.py +521 -0
- huaweicloudsdktics/v1/model/deploy_vo.py +228 -0
- huaweicloudsdktics/v1/model/fl_job_list_vo.py +457 -0
- huaweicloudsdktics/v1/model/job_report_base_info_vo.py +256 -0
- huaweicloudsdktics/v1/model/job_report_env_vo.py +231 -0
- huaweicloudsdktics/v1/model/job_report_output_vo.py +173 -0
- huaweicloudsdktics/v1/model/job_report_partner_vo.py +231 -0
- huaweicloudsdktics/v1/model/league_dataset_statistics_vo.py +260 -0
- huaweicloudsdktics/v1/model/league_partner_statistics_vo.py +318 -0
- huaweicloudsdktics/v1/model/league_update_vo.py +173 -0
- huaweicloudsdktics/v1/model/list_agents_request.py +200 -0
- huaweicloudsdktics/v1/model/list_agents_response.py +145 -0
- huaweicloudsdktics/v1/model/list_audit_info_request.py +170 -0
- huaweicloudsdktics/v1/model/list_audit_info_response.py +145 -0
- huaweicloudsdktics/v1/model/list_fl_job_request.py +170 -0
- huaweicloudsdktics/v1/model/list_fl_job_response.py +145 -0
- huaweicloudsdktics/v1/model/list_instance_history_request.py +199 -0
- huaweicloudsdktics/v1/model/list_instance_history_response.py +145 -0
- huaweicloudsdktics/v1/model/list_league_datasets_request.py +228 -0
- huaweicloudsdktics/v1/model/list_league_datasets_response.py +145 -0
- huaweicloudsdktics/v1/model/list_leagues_request.py +170 -0
- huaweicloudsdktics/v1/model/list_leagues_response.py +145 -0
- huaweicloudsdktics/v1/model/list_nodes_request.py +170 -0
- huaweicloudsdktics/v1/model/list_nodes_response.py +145 -0
- huaweicloudsdktics/v1/model/list_notices_request.py +142 -0
- huaweicloudsdktics/v1/model/list_notices_response.py +145 -0
- huaweicloudsdktics/v1/model/list_partners_request.py +170 -0
- huaweicloudsdktics/v1/model/list_partners_response.py +145 -0
- huaweicloudsdktics/v1/model/list_sql_job_request.py +170 -0
- huaweicloudsdktics/v1/model/list_sql_job_response.py +145 -0
- huaweicloudsdktics/v1/model/partner_data_vo.py +289 -0
- huaweicloudsdktics/v1/model/processor_vo.py +374 -0
- huaweicloudsdktics/v1/model/round_deploy_vo.py +144 -0
- huaweicloudsdktics/v1/model/show_agent_detail_request.py +114 -0
- huaweicloudsdktics/v1/model/show_agent_detail_response.py +212 -0
- huaweicloudsdktics/v1/model/show_dataset_statistics_request.py +172 -0
- huaweicloudsdktics/v1/model/show_dataset_statistics_response.py +112 -0
- huaweicloudsdktics/v1/model/show_instance_report_request.py +142 -0
- huaweicloudsdktics/v1/model/show_instance_report_response.py +220 -0
- huaweicloudsdktics/v1/model/show_job_instance_dag_request.py +170 -0
- huaweicloudsdktics/v1/model/show_job_instance_dag_response.py +112 -0
- huaweicloudsdktics/v1/model/show_job_statistics_request.py +172 -0
- huaweicloudsdktics/v1/model/show_job_statistics_response.py +232 -0
- huaweicloudsdktics/v1/model/show_league_request.py +114 -0
- huaweicloudsdktics/v1/model/show_league_response.py +725 -0
- huaweicloudsdktics/v1/model/show_overview_request.py +84 -0
- huaweicloudsdktics/v1/model/show_overview_response.py +203 -0
- huaweicloudsdktics/v1/model/show_partner_statistics_request.py +172 -0
- huaweicloudsdktics/v1/model/show_partner_statistics_response.py +112 -0
- huaweicloudsdktics/v1/model/stage_vo.py +201 -0
- huaweicloudsdktics/v1/model/tics_agent_deploy.py +724 -0
- huaweicloudsdktics/v1/model/tics_agent_deploy_bcs.py +289 -0
- huaweicloudsdktics/v1/model/tics_agent_deploy_detail.py +463 -0
- huaweicloudsdktics/v1/model/tics_agent_nat_common_info.py +202 -0
- huaweicloudsdktics/v1/model/tics_agent_node_info.py +492 -0
- huaweicloudsdktics/v1/model/tics_approve_log_vo.py +484 -0
- huaweicloudsdktics/v1/model/tics_dataset_column.py +405 -0
- huaweicloudsdktics/v1/model/tics_job_instance_vo.py +401 -0
- huaweicloudsdktics/v1/model/tics_league_audit_log.py +376 -0
- huaweicloudsdktics/v1/model/tics_league_list_vo.py +543 -0
- huaweicloudsdktics/v1/model/tics_league_notice_vo.py +430 -0
- huaweicloudsdktics/v1/model/tics_league_partner_vo.py +202 -0
- huaweicloudsdktics/v1/model/tics_sql_job_vo.py +483 -0
- huaweicloudsdktics/v1/model/tics_trust_info_vo.py +347 -0
- huaweicloudsdktics/v1/model/update_league_request.py +139 -0
- huaweicloudsdktics/v1/model/update_league_response.py +112 -0
- huaweicloudsdktics/v1/region/__init__.py +0 -0
- huaweicloudsdktics/v1/region/tics_region.py +34 -0
- huaweicloudsdktics/v1/tics_async_client.py +1382 -0
- huaweicloudsdktics/v1/tics_client.py +1379 -0
- huaweicloudsdktics-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdktics-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdktics-3.1.160.dist-info/RECORD +78 -0
- huaweicloudsdktics-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdktics-3.1.160.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class DeployVo:
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
Attributes:
|
|
12
|
+
openapi_types (dict): The key is attribute name
|
|
13
|
+
and the value is attribute type.
|
|
14
|
+
attribute_map (dict): The key is attribute name
|
|
15
|
+
and the value is json key in definition.
|
|
16
|
+
"""
|
|
17
|
+
sensitive_list = []
|
|
18
|
+
|
|
19
|
+
openapi_types = {
|
|
20
|
+
'node_id': 'str',
|
|
21
|
+
'node_name': 'str',
|
|
22
|
+
'node_partner_alias': 'str',
|
|
23
|
+
'node_type': 'str',
|
|
24
|
+
'stages': 'list[StageVo]'
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
attribute_map = {
|
|
28
|
+
'node_id': 'node_id',
|
|
29
|
+
'node_name': 'node_name',
|
|
30
|
+
'node_partner_alias': 'node_partner_alias',
|
|
31
|
+
'node_type': 'node_type',
|
|
32
|
+
'stages': 'stages'
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
def __init__(self, node_id=None, node_name=None, node_partner_alias=None, node_type=None, stages=None):
|
|
36
|
+
r"""DeployVo
|
|
37
|
+
|
|
38
|
+
The model defined in huaweicloud sdk
|
|
39
|
+
|
|
40
|
+
:param node_id: 节点Id
|
|
41
|
+
:type node_id: str
|
|
42
|
+
:param node_name: 节点名称
|
|
43
|
+
:type node_name: str
|
|
44
|
+
:param node_partner_alias: 参与方别名
|
|
45
|
+
:type node_partner_alias: str
|
|
46
|
+
:param node_type: 节点类型,AGENT.计算节点,AGG.聚合节点,AGG_MANAGER.聚合器管理节点,SERVER.控制节点
|
|
47
|
+
:type node_type: str
|
|
48
|
+
:param stages: 执行阶段
|
|
49
|
+
:type stages: list[:class:`huaweicloudsdktics.v1.StageVo`]
|
|
50
|
+
"""
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
self._node_id = None
|
|
55
|
+
self._node_name = None
|
|
56
|
+
self._node_partner_alias = None
|
|
57
|
+
self._node_type = None
|
|
58
|
+
self._stages = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
self.node_id = node_id
|
|
62
|
+
self.node_name = node_name
|
|
63
|
+
self.node_partner_alias = node_partner_alias
|
|
64
|
+
if node_type is not None:
|
|
65
|
+
self.node_type = node_type
|
|
66
|
+
if stages is not None:
|
|
67
|
+
self.stages = stages
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
def node_id(self):
|
|
71
|
+
r"""Gets the node_id of this DeployVo.
|
|
72
|
+
|
|
73
|
+
节点Id
|
|
74
|
+
|
|
75
|
+
:return: The node_id of this DeployVo.
|
|
76
|
+
:rtype: str
|
|
77
|
+
"""
|
|
78
|
+
return self._node_id
|
|
79
|
+
|
|
80
|
+
@node_id.setter
|
|
81
|
+
def node_id(self, node_id):
|
|
82
|
+
r"""Sets the node_id of this DeployVo.
|
|
83
|
+
|
|
84
|
+
节点Id
|
|
85
|
+
|
|
86
|
+
:param node_id: The node_id of this DeployVo.
|
|
87
|
+
:type node_id: str
|
|
88
|
+
"""
|
|
89
|
+
self._node_id = node_id
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def node_name(self):
|
|
93
|
+
r"""Gets the node_name of this DeployVo.
|
|
94
|
+
|
|
95
|
+
节点名称
|
|
96
|
+
|
|
97
|
+
:return: The node_name of this DeployVo.
|
|
98
|
+
:rtype: str
|
|
99
|
+
"""
|
|
100
|
+
return self._node_name
|
|
101
|
+
|
|
102
|
+
@node_name.setter
|
|
103
|
+
def node_name(self, node_name):
|
|
104
|
+
r"""Sets the node_name of this DeployVo.
|
|
105
|
+
|
|
106
|
+
节点名称
|
|
107
|
+
|
|
108
|
+
:param node_name: The node_name of this DeployVo.
|
|
109
|
+
:type node_name: str
|
|
110
|
+
"""
|
|
111
|
+
self._node_name = node_name
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
def node_partner_alias(self):
|
|
115
|
+
r"""Gets the node_partner_alias of this DeployVo.
|
|
116
|
+
|
|
117
|
+
参与方别名
|
|
118
|
+
|
|
119
|
+
:return: The node_partner_alias of this DeployVo.
|
|
120
|
+
:rtype: str
|
|
121
|
+
"""
|
|
122
|
+
return self._node_partner_alias
|
|
123
|
+
|
|
124
|
+
@node_partner_alias.setter
|
|
125
|
+
def node_partner_alias(self, node_partner_alias):
|
|
126
|
+
r"""Sets the node_partner_alias of this DeployVo.
|
|
127
|
+
|
|
128
|
+
参与方别名
|
|
129
|
+
|
|
130
|
+
:param node_partner_alias: The node_partner_alias of this DeployVo.
|
|
131
|
+
:type node_partner_alias: str
|
|
132
|
+
"""
|
|
133
|
+
self._node_partner_alias = node_partner_alias
|
|
134
|
+
|
|
135
|
+
@property
|
|
136
|
+
def node_type(self):
|
|
137
|
+
r"""Gets the node_type of this DeployVo.
|
|
138
|
+
|
|
139
|
+
节点类型,AGENT.计算节点,AGG.聚合节点,AGG_MANAGER.聚合器管理节点,SERVER.控制节点
|
|
140
|
+
|
|
141
|
+
:return: The node_type of this DeployVo.
|
|
142
|
+
:rtype: str
|
|
143
|
+
"""
|
|
144
|
+
return self._node_type
|
|
145
|
+
|
|
146
|
+
@node_type.setter
|
|
147
|
+
def node_type(self, node_type):
|
|
148
|
+
r"""Sets the node_type of this DeployVo.
|
|
149
|
+
|
|
150
|
+
节点类型,AGENT.计算节点,AGG.聚合节点,AGG_MANAGER.聚合器管理节点,SERVER.控制节点
|
|
151
|
+
|
|
152
|
+
:param node_type: The node_type of this DeployVo.
|
|
153
|
+
:type node_type: str
|
|
154
|
+
"""
|
|
155
|
+
self._node_type = node_type
|
|
156
|
+
|
|
157
|
+
@property
|
|
158
|
+
def stages(self):
|
|
159
|
+
r"""Gets the stages of this DeployVo.
|
|
160
|
+
|
|
161
|
+
执行阶段
|
|
162
|
+
|
|
163
|
+
:return: The stages of this DeployVo.
|
|
164
|
+
:rtype: list[:class:`huaweicloudsdktics.v1.StageVo`]
|
|
165
|
+
"""
|
|
166
|
+
return self._stages
|
|
167
|
+
|
|
168
|
+
@stages.setter
|
|
169
|
+
def stages(self, stages):
|
|
170
|
+
r"""Sets the stages of this DeployVo.
|
|
171
|
+
|
|
172
|
+
执行阶段
|
|
173
|
+
|
|
174
|
+
:param stages: The stages of this DeployVo.
|
|
175
|
+
:type stages: list[:class:`huaweicloudsdktics.v1.StageVo`]
|
|
176
|
+
"""
|
|
177
|
+
self._stages = stages
|
|
178
|
+
|
|
179
|
+
def to_dict(self):
|
|
180
|
+
"""Returns the model properties as a dict"""
|
|
181
|
+
result = {}
|
|
182
|
+
|
|
183
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
184
|
+
value = getattr(self, attr)
|
|
185
|
+
if isinstance(value, list):
|
|
186
|
+
result[attr] = list(map(
|
|
187
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
188
|
+
value
|
|
189
|
+
))
|
|
190
|
+
elif hasattr(value, "to_dict"):
|
|
191
|
+
result[attr] = value.to_dict()
|
|
192
|
+
elif isinstance(value, dict):
|
|
193
|
+
result[attr] = dict(map(
|
|
194
|
+
lambda item: (item[0], item[1].to_dict())
|
|
195
|
+
if hasattr(item[1], "to_dict") else item,
|
|
196
|
+
value.items()
|
|
197
|
+
))
|
|
198
|
+
else:
|
|
199
|
+
if attr in self.sensitive_list:
|
|
200
|
+
result[attr] = "****"
|
|
201
|
+
else:
|
|
202
|
+
result[attr] = value
|
|
203
|
+
|
|
204
|
+
return result
|
|
205
|
+
|
|
206
|
+
def to_str(self):
|
|
207
|
+
"""Returns the string representation of the model"""
|
|
208
|
+
import simplejson as json
|
|
209
|
+
if six.PY2:
|
|
210
|
+
import sys
|
|
211
|
+
reload(sys)
|
|
212
|
+
sys.setdefaultencoding("utf-8")
|
|
213
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
214
|
+
|
|
215
|
+
def __repr__(self):
|
|
216
|
+
"""For `print`"""
|
|
217
|
+
return self.to_str()
|
|
218
|
+
|
|
219
|
+
def __eq__(self, other):
|
|
220
|
+
"""Returns true if both objects are equal"""
|
|
221
|
+
if not isinstance(other, DeployVo):
|
|
222
|
+
return False
|
|
223
|
+
|
|
224
|
+
return self.__dict__ == other.__dict__
|
|
225
|
+
|
|
226
|
+
def __ne__(self, other):
|
|
227
|
+
"""Returns true if both objects are not equal"""
|
|
228
|
+
return not self == other
|
|
@@ -0,0 +1,457 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
import six
|
|
4
|
+
|
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class FlJobListVo:
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
Attributes:
|
|
12
|
+
openapi_types (dict): The key is attribute name
|
|
13
|
+
and the value is attribute type.
|
|
14
|
+
attribute_map (dict): The key is attribute name
|
|
15
|
+
and the value is json key in definition.
|
|
16
|
+
"""
|
|
17
|
+
sensitive_list = []
|
|
18
|
+
|
|
19
|
+
openapi_types = {
|
|
20
|
+
'algorithm_type': 'str',
|
|
21
|
+
'approval_status': 'str',
|
|
22
|
+
'create_time': 'datetime',
|
|
23
|
+
'creator_name': 'str',
|
|
24
|
+
'description': 'str',
|
|
25
|
+
'ext': 'str',
|
|
26
|
+
'hfl_platform_type': 'str',
|
|
27
|
+
'hfl_type': 'str',
|
|
28
|
+
'is_single_predict': 'bool',
|
|
29
|
+
'job_id': 'str',
|
|
30
|
+
'job_name': 'str',
|
|
31
|
+
'job_type': 'str',
|
|
32
|
+
'learning_task_type': 'str'
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
attribute_map = {
|
|
36
|
+
'algorithm_type': 'algorithm_type',
|
|
37
|
+
'approval_status': 'approval_status',
|
|
38
|
+
'create_time': 'create_time',
|
|
39
|
+
'creator_name': 'creator_name',
|
|
40
|
+
'description': 'description',
|
|
41
|
+
'ext': 'ext',
|
|
42
|
+
'hfl_platform_type': 'hfl_platform_type',
|
|
43
|
+
'hfl_type': 'hfl_type',
|
|
44
|
+
'is_single_predict': 'is_single_predict',
|
|
45
|
+
'job_id': 'job_id',
|
|
46
|
+
'job_name': 'job_name',
|
|
47
|
+
'job_type': 'job_type',
|
|
48
|
+
'learning_task_type': 'learning_task_type'
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
def __init__(self, algorithm_type=None, approval_status=None, create_time=None, creator_name=None, description=None, ext=None, hfl_platform_type=None, hfl_type=None, is_single_predict=None, job_id=None, job_name=None, job_type=None, learning_task_type=None):
|
|
52
|
+
r"""FlJobListVo
|
|
53
|
+
|
|
54
|
+
The model defined in huaweicloud sdk
|
|
55
|
+
|
|
56
|
+
:param algorithm_type: 纵向联邦算法类型枚举,XG_BOOST.XGBoost,LIGHT_BGM.LightGBM,LOGISTIC_REGRESSION.逻辑回归,NEURAL_NETWORK.神经网络,FIBINET.FIBINET
|
|
57
|
+
:type algorithm_type: str
|
|
58
|
+
:param approval_status: fl作业审批状态,APPROVED.审批通过,APPROVING.审批中,NEW.新建,REJECTED.驳回,REVOKED.撤销
|
|
59
|
+
:type approval_status: str
|
|
60
|
+
:param create_time: 创建时间
|
|
61
|
+
:type create_time: datetime
|
|
62
|
+
:param creator_name: 创建人名称
|
|
63
|
+
:type creator_name: str
|
|
64
|
+
:param description: 作业描述
|
|
65
|
+
:type description: str
|
|
66
|
+
:param ext: 参数等额外信息
|
|
67
|
+
:type ext: str
|
|
68
|
+
:param hfl_platform_type: 联邦学习运行平台枚举值,LOCAL.本地
|
|
69
|
+
:type hfl_platform_type: str
|
|
70
|
+
:param hfl_type: fl作业类型枚举,TRAIN.训练,EVALUATE.评估
|
|
71
|
+
:type hfl_type: str
|
|
72
|
+
:param is_single_predict: 单方还是双方预测
|
|
73
|
+
:type is_single_predict: bool
|
|
74
|
+
:param job_id: 作业id
|
|
75
|
+
:type job_id: str
|
|
76
|
+
:param job_name: 作业名称
|
|
77
|
+
:type job_name: str
|
|
78
|
+
:param job_type: 作业类型,SQL.联合SQL分析,HFL.横向联邦学习,VFL.纵向联邦学习,PREDICT.预测,DATA_EXCHANGE.数据交换
|
|
79
|
+
:type job_type: str
|
|
80
|
+
:param learning_task_type: 纵向联邦任务类型,CLASSIFICATION.分类,REGRESSION.拟合
|
|
81
|
+
:type learning_task_type: str
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
self._algorithm_type = None
|
|
87
|
+
self._approval_status = None
|
|
88
|
+
self._create_time = None
|
|
89
|
+
self._creator_name = None
|
|
90
|
+
self._description = None
|
|
91
|
+
self._ext = None
|
|
92
|
+
self._hfl_platform_type = None
|
|
93
|
+
self._hfl_type = None
|
|
94
|
+
self._is_single_predict = None
|
|
95
|
+
self._job_id = None
|
|
96
|
+
self._job_name = None
|
|
97
|
+
self._job_type = None
|
|
98
|
+
self._learning_task_type = None
|
|
99
|
+
self.discriminator = None
|
|
100
|
+
|
|
101
|
+
if algorithm_type is not None:
|
|
102
|
+
self.algorithm_type = algorithm_type
|
|
103
|
+
if approval_status is not None:
|
|
104
|
+
self.approval_status = approval_status
|
|
105
|
+
self.create_time = create_time
|
|
106
|
+
self.creator_name = creator_name
|
|
107
|
+
if description is not None:
|
|
108
|
+
self.description = description
|
|
109
|
+
if ext is not None:
|
|
110
|
+
self.ext = ext
|
|
111
|
+
self.hfl_platform_type = hfl_platform_type
|
|
112
|
+
self.hfl_type = hfl_type
|
|
113
|
+
if is_single_predict is not None:
|
|
114
|
+
self.is_single_predict = is_single_predict
|
|
115
|
+
self.job_id = job_id
|
|
116
|
+
self.job_name = job_name
|
|
117
|
+
if job_type is not None:
|
|
118
|
+
self.job_type = job_type
|
|
119
|
+
if learning_task_type is not None:
|
|
120
|
+
self.learning_task_type = learning_task_type
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
def algorithm_type(self):
|
|
124
|
+
r"""Gets the algorithm_type of this FlJobListVo.
|
|
125
|
+
|
|
126
|
+
纵向联邦算法类型枚举,XG_BOOST.XGBoost,LIGHT_BGM.LightGBM,LOGISTIC_REGRESSION.逻辑回归,NEURAL_NETWORK.神经网络,FIBINET.FIBINET
|
|
127
|
+
|
|
128
|
+
:return: The algorithm_type of this FlJobListVo.
|
|
129
|
+
:rtype: str
|
|
130
|
+
"""
|
|
131
|
+
return self._algorithm_type
|
|
132
|
+
|
|
133
|
+
@algorithm_type.setter
|
|
134
|
+
def algorithm_type(self, algorithm_type):
|
|
135
|
+
r"""Sets the algorithm_type of this FlJobListVo.
|
|
136
|
+
|
|
137
|
+
纵向联邦算法类型枚举,XG_BOOST.XGBoost,LIGHT_BGM.LightGBM,LOGISTIC_REGRESSION.逻辑回归,NEURAL_NETWORK.神经网络,FIBINET.FIBINET
|
|
138
|
+
|
|
139
|
+
:param algorithm_type: The algorithm_type of this FlJobListVo.
|
|
140
|
+
:type algorithm_type: str
|
|
141
|
+
"""
|
|
142
|
+
self._algorithm_type = algorithm_type
|
|
143
|
+
|
|
144
|
+
@property
|
|
145
|
+
def approval_status(self):
|
|
146
|
+
r"""Gets the approval_status of this FlJobListVo.
|
|
147
|
+
|
|
148
|
+
fl作业审批状态,APPROVED.审批通过,APPROVING.审批中,NEW.新建,REJECTED.驳回,REVOKED.撤销
|
|
149
|
+
|
|
150
|
+
:return: The approval_status of this FlJobListVo.
|
|
151
|
+
:rtype: str
|
|
152
|
+
"""
|
|
153
|
+
return self._approval_status
|
|
154
|
+
|
|
155
|
+
@approval_status.setter
|
|
156
|
+
def approval_status(self, approval_status):
|
|
157
|
+
r"""Sets the approval_status of this FlJobListVo.
|
|
158
|
+
|
|
159
|
+
fl作业审批状态,APPROVED.审批通过,APPROVING.审批中,NEW.新建,REJECTED.驳回,REVOKED.撤销
|
|
160
|
+
|
|
161
|
+
:param approval_status: The approval_status of this FlJobListVo.
|
|
162
|
+
:type approval_status: str
|
|
163
|
+
"""
|
|
164
|
+
self._approval_status = approval_status
|
|
165
|
+
|
|
166
|
+
@property
|
|
167
|
+
def create_time(self):
|
|
168
|
+
r"""Gets the create_time of this FlJobListVo.
|
|
169
|
+
|
|
170
|
+
创建时间
|
|
171
|
+
|
|
172
|
+
:return: The create_time of this FlJobListVo.
|
|
173
|
+
:rtype: datetime
|
|
174
|
+
"""
|
|
175
|
+
return self._create_time
|
|
176
|
+
|
|
177
|
+
@create_time.setter
|
|
178
|
+
def create_time(self, create_time):
|
|
179
|
+
r"""Sets the create_time of this FlJobListVo.
|
|
180
|
+
|
|
181
|
+
创建时间
|
|
182
|
+
|
|
183
|
+
:param create_time: The create_time of this FlJobListVo.
|
|
184
|
+
:type create_time: datetime
|
|
185
|
+
"""
|
|
186
|
+
self._create_time = create_time
|
|
187
|
+
|
|
188
|
+
@property
|
|
189
|
+
def creator_name(self):
|
|
190
|
+
r"""Gets the creator_name of this FlJobListVo.
|
|
191
|
+
|
|
192
|
+
创建人名称
|
|
193
|
+
|
|
194
|
+
:return: The creator_name of this FlJobListVo.
|
|
195
|
+
:rtype: str
|
|
196
|
+
"""
|
|
197
|
+
return self._creator_name
|
|
198
|
+
|
|
199
|
+
@creator_name.setter
|
|
200
|
+
def creator_name(self, creator_name):
|
|
201
|
+
r"""Sets the creator_name of this FlJobListVo.
|
|
202
|
+
|
|
203
|
+
创建人名称
|
|
204
|
+
|
|
205
|
+
:param creator_name: The creator_name of this FlJobListVo.
|
|
206
|
+
:type creator_name: str
|
|
207
|
+
"""
|
|
208
|
+
self._creator_name = creator_name
|
|
209
|
+
|
|
210
|
+
@property
|
|
211
|
+
def description(self):
|
|
212
|
+
r"""Gets the description of this FlJobListVo.
|
|
213
|
+
|
|
214
|
+
作业描述
|
|
215
|
+
|
|
216
|
+
:return: The description of this FlJobListVo.
|
|
217
|
+
:rtype: str
|
|
218
|
+
"""
|
|
219
|
+
return self._description
|
|
220
|
+
|
|
221
|
+
@description.setter
|
|
222
|
+
def description(self, description):
|
|
223
|
+
r"""Sets the description of this FlJobListVo.
|
|
224
|
+
|
|
225
|
+
作业描述
|
|
226
|
+
|
|
227
|
+
:param description: The description of this FlJobListVo.
|
|
228
|
+
:type description: str
|
|
229
|
+
"""
|
|
230
|
+
self._description = description
|
|
231
|
+
|
|
232
|
+
@property
|
|
233
|
+
def ext(self):
|
|
234
|
+
r"""Gets the ext of this FlJobListVo.
|
|
235
|
+
|
|
236
|
+
参数等额外信息
|
|
237
|
+
|
|
238
|
+
:return: The ext of this FlJobListVo.
|
|
239
|
+
:rtype: str
|
|
240
|
+
"""
|
|
241
|
+
return self._ext
|
|
242
|
+
|
|
243
|
+
@ext.setter
|
|
244
|
+
def ext(self, ext):
|
|
245
|
+
r"""Sets the ext of this FlJobListVo.
|
|
246
|
+
|
|
247
|
+
参数等额外信息
|
|
248
|
+
|
|
249
|
+
:param ext: The ext of this FlJobListVo.
|
|
250
|
+
:type ext: str
|
|
251
|
+
"""
|
|
252
|
+
self._ext = ext
|
|
253
|
+
|
|
254
|
+
@property
|
|
255
|
+
def hfl_platform_type(self):
|
|
256
|
+
r"""Gets the hfl_platform_type of this FlJobListVo.
|
|
257
|
+
|
|
258
|
+
联邦学习运行平台枚举值,LOCAL.本地
|
|
259
|
+
|
|
260
|
+
:return: The hfl_platform_type of this FlJobListVo.
|
|
261
|
+
:rtype: str
|
|
262
|
+
"""
|
|
263
|
+
return self._hfl_platform_type
|
|
264
|
+
|
|
265
|
+
@hfl_platform_type.setter
|
|
266
|
+
def hfl_platform_type(self, hfl_platform_type):
|
|
267
|
+
r"""Sets the hfl_platform_type of this FlJobListVo.
|
|
268
|
+
|
|
269
|
+
联邦学习运行平台枚举值,LOCAL.本地
|
|
270
|
+
|
|
271
|
+
:param hfl_platform_type: The hfl_platform_type of this FlJobListVo.
|
|
272
|
+
:type hfl_platform_type: str
|
|
273
|
+
"""
|
|
274
|
+
self._hfl_platform_type = hfl_platform_type
|
|
275
|
+
|
|
276
|
+
@property
|
|
277
|
+
def hfl_type(self):
|
|
278
|
+
r"""Gets the hfl_type of this FlJobListVo.
|
|
279
|
+
|
|
280
|
+
fl作业类型枚举,TRAIN.训练,EVALUATE.评估
|
|
281
|
+
|
|
282
|
+
:return: The hfl_type of this FlJobListVo.
|
|
283
|
+
:rtype: str
|
|
284
|
+
"""
|
|
285
|
+
return self._hfl_type
|
|
286
|
+
|
|
287
|
+
@hfl_type.setter
|
|
288
|
+
def hfl_type(self, hfl_type):
|
|
289
|
+
r"""Sets the hfl_type of this FlJobListVo.
|
|
290
|
+
|
|
291
|
+
fl作业类型枚举,TRAIN.训练,EVALUATE.评估
|
|
292
|
+
|
|
293
|
+
:param hfl_type: The hfl_type of this FlJobListVo.
|
|
294
|
+
:type hfl_type: str
|
|
295
|
+
"""
|
|
296
|
+
self._hfl_type = hfl_type
|
|
297
|
+
|
|
298
|
+
@property
|
|
299
|
+
def is_single_predict(self):
|
|
300
|
+
r"""Gets the is_single_predict of this FlJobListVo.
|
|
301
|
+
|
|
302
|
+
单方还是双方预测
|
|
303
|
+
|
|
304
|
+
:return: The is_single_predict of this FlJobListVo.
|
|
305
|
+
:rtype: bool
|
|
306
|
+
"""
|
|
307
|
+
return self._is_single_predict
|
|
308
|
+
|
|
309
|
+
@is_single_predict.setter
|
|
310
|
+
def is_single_predict(self, is_single_predict):
|
|
311
|
+
r"""Sets the is_single_predict of this FlJobListVo.
|
|
312
|
+
|
|
313
|
+
单方还是双方预测
|
|
314
|
+
|
|
315
|
+
:param is_single_predict: The is_single_predict of this FlJobListVo.
|
|
316
|
+
:type is_single_predict: bool
|
|
317
|
+
"""
|
|
318
|
+
self._is_single_predict = is_single_predict
|
|
319
|
+
|
|
320
|
+
@property
|
|
321
|
+
def job_id(self):
|
|
322
|
+
r"""Gets the job_id of this FlJobListVo.
|
|
323
|
+
|
|
324
|
+
作业id
|
|
325
|
+
|
|
326
|
+
:return: The job_id of this FlJobListVo.
|
|
327
|
+
:rtype: str
|
|
328
|
+
"""
|
|
329
|
+
return self._job_id
|
|
330
|
+
|
|
331
|
+
@job_id.setter
|
|
332
|
+
def job_id(self, job_id):
|
|
333
|
+
r"""Sets the job_id of this FlJobListVo.
|
|
334
|
+
|
|
335
|
+
作业id
|
|
336
|
+
|
|
337
|
+
:param job_id: The job_id of this FlJobListVo.
|
|
338
|
+
:type job_id: str
|
|
339
|
+
"""
|
|
340
|
+
self._job_id = job_id
|
|
341
|
+
|
|
342
|
+
@property
|
|
343
|
+
def job_name(self):
|
|
344
|
+
r"""Gets the job_name of this FlJobListVo.
|
|
345
|
+
|
|
346
|
+
作业名称
|
|
347
|
+
|
|
348
|
+
:return: The job_name of this FlJobListVo.
|
|
349
|
+
:rtype: str
|
|
350
|
+
"""
|
|
351
|
+
return self._job_name
|
|
352
|
+
|
|
353
|
+
@job_name.setter
|
|
354
|
+
def job_name(self, job_name):
|
|
355
|
+
r"""Sets the job_name of this FlJobListVo.
|
|
356
|
+
|
|
357
|
+
作业名称
|
|
358
|
+
|
|
359
|
+
:param job_name: The job_name of this FlJobListVo.
|
|
360
|
+
:type job_name: str
|
|
361
|
+
"""
|
|
362
|
+
self._job_name = job_name
|
|
363
|
+
|
|
364
|
+
@property
|
|
365
|
+
def job_type(self):
|
|
366
|
+
r"""Gets the job_type of this FlJobListVo.
|
|
367
|
+
|
|
368
|
+
作业类型,SQL.联合SQL分析,HFL.横向联邦学习,VFL.纵向联邦学习,PREDICT.预测,DATA_EXCHANGE.数据交换
|
|
369
|
+
|
|
370
|
+
:return: The job_type of this FlJobListVo.
|
|
371
|
+
:rtype: str
|
|
372
|
+
"""
|
|
373
|
+
return self._job_type
|
|
374
|
+
|
|
375
|
+
@job_type.setter
|
|
376
|
+
def job_type(self, job_type):
|
|
377
|
+
r"""Sets the job_type of this FlJobListVo.
|
|
378
|
+
|
|
379
|
+
作业类型,SQL.联合SQL分析,HFL.横向联邦学习,VFL.纵向联邦学习,PREDICT.预测,DATA_EXCHANGE.数据交换
|
|
380
|
+
|
|
381
|
+
:param job_type: The job_type of this FlJobListVo.
|
|
382
|
+
:type job_type: str
|
|
383
|
+
"""
|
|
384
|
+
self._job_type = job_type
|
|
385
|
+
|
|
386
|
+
@property
|
|
387
|
+
def learning_task_type(self):
|
|
388
|
+
r"""Gets the learning_task_type of this FlJobListVo.
|
|
389
|
+
|
|
390
|
+
纵向联邦任务类型,CLASSIFICATION.分类,REGRESSION.拟合
|
|
391
|
+
|
|
392
|
+
:return: The learning_task_type of this FlJobListVo.
|
|
393
|
+
:rtype: str
|
|
394
|
+
"""
|
|
395
|
+
return self._learning_task_type
|
|
396
|
+
|
|
397
|
+
@learning_task_type.setter
|
|
398
|
+
def learning_task_type(self, learning_task_type):
|
|
399
|
+
r"""Sets the learning_task_type of this FlJobListVo.
|
|
400
|
+
|
|
401
|
+
纵向联邦任务类型,CLASSIFICATION.分类,REGRESSION.拟合
|
|
402
|
+
|
|
403
|
+
:param learning_task_type: The learning_task_type of this FlJobListVo.
|
|
404
|
+
:type learning_task_type: str
|
|
405
|
+
"""
|
|
406
|
+
self._learning_task_type = learning_task_type
|
|
407
|
+
|
|
408
|
+
def to_dict(self):
|
|
409
|
+
"""Returns the model properties as a dict"""
|
|
410
|
+
result = {}
|
|
411
|
+
|
|
412
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
413
|
+
value = getattr(self, attr)
|
|
414
|
+
if isinstance(value, list):
|
|
415
|
+
result[attr] = list(map(
|
|
416
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
417
|
+
value
|
|
418
|
+
))
|
|
419
|
+
elif hasattr(value, "to_dict"):
|
|
420
|
+
result[attr] = value.to_dict()
|
|
421
|
+
elif isinstance(value, dict):
|
|
422
|
+
result[attr] = dict(map(
|
|
423
|
+
lambda item: (item[0], item[1].to_dict())
|
|
424
|
+
if hasattr(item[1], "to_dict") else item,
|
|
425
|
+
value.items()
|
|
426
|
+
))
|
|
427
|
+
else:
|
|
428
|
+
if attr in self.sensitive_list:
|
|
429
|
+
result[attr] = "****"
|
|
430
|
+
else:
|
|
431
|
+
result[attr] = value
|
|
432
|
+
|
|
433
|
+
return result
|
|
434
|
+
|
|
435
|
+
def to_str(self):
|
|
436
|
+
"""Returns the string representation of the model"""
|
|
437
|
+
import simplejson as json
|
|
438
|
+
if six.PY2:
|
|
439
|
+
import sys
|
|
440
|
+
reload(sys)
|
|
441
|
+
sys.setdefaultencoding("utf-8")
|
|
442
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
|
443
|
+
|
|
444
|
+
def __repr__(self):
|
|
445
|
+
"""For `print`"""
|
|
446
|
+
return self.to_str()
|
|
447
|
+
|
|
448
|
+
def __eq__(self, other):
|
|
449
|
+
"""Returns true if both objects are equal"""
|
|
450
|
+
if not isinstance(other, FlJobListVo):
|
|
451
|
+
return False
|
|
452
|
+
|
|
453
|
+
return self.__dict__ == other.__dict__
|
|
454
|
+
|
|
455
|
+
def __ne__(self, other):
|
|
456
|
+
"""Returns true if both objects are not equal"""
|
|
457
|
+
return not self == other
|