Skip to content

Commit 7143f59

Browse files
committed
IVISION SDK Auto Released By wb-czb515173,Version:1.0.0
发布日志: 1, Add Project interface. 2, Add Tag interface. 3, Add TrainData interface. 4, Add Train interface. 5, Add Iteration interface. 6, Add Predict interface. 7, Add PredictData interface.
1 parent 1b0d262 commit 7143f59

40 files changed

+1965
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2019-03-27 Version: 1.0.0
2+
1, Add Project interface.
3+
2, Add Tag interface.
4+
3, Add TrainData interface.
5+
4, Add Train interface.
6+
5, Add Iteration interface.
7+
6, Add Predict interface.
8+
7, Add PredictData interface.
9+

aliyun-python-sdk-ivision/MANIFEST.in

Whitespace-only changes.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
aliyun-python-sdk-ivision
2+
This is the ivision module of Aliyun Python SDK.
3+
4+
Aliyun Python SDK is the official software development kit. It makes things easy to integrate your Python application, library, or script with Aliyun services.
5+
6+
This module works on Python versions:
7+
8+
2.6.5 and greater
9+
Documentation:
10+
11+
Please visit http://develop.aliyun.com/sdk/python
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "1.0.0"

aliyun-python-sdk-ivision/aliyunsdkivision/request/__init__.py

Whitespace-only changes.
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class CreateProjectRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'ivision', '2019-03-08', 'CreateProject','ivision')
25+
26+
def get_Description(self):
27+
return self.get_query_params().get('Description')
28+
29+
def set_Description(self,Description):
30+
self.add_query_param('Description',Description)
31+
32+
def get_ShowLog(self):
33+
return self.get_query_params().get('ShowLog')
34+
35+
def set_ShowLog(self,ShowLog):
36+
self.add_query_param('ShowLog',ShowLog)
37+
38+
def get_OwnerId(self):
39+
return self.get_query_params().get('OwnerId')
40+
41+
def set_OwnerId(self,OwnerId):
42+
self.add_query_param('OwnerId',OwnerId)
43+
44+
def get_ProType(self):
45+
return self.get_query_params().get('ProType')
46+
47+
def set_ProType(self,ProType):
48+
self.add_query_param('ProType',ProType)
49+
50+
def get_Name(self):
51+
return self.get_query_params().get('Name')
52+
53+
def set_Name(self,Name):
54+
self.add_query_param('Name',Name)
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class CreateStreamPredictRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'ivision', '2019-03-08', 'CreateStreamPredict','ivision')
25+
26+
def get_AutoStart(self):
27+
return self.get_query_params().get('AutoStart')
28+
29+
def set_AutoStart(self,AutoStart):
30+
self.add_query_param('AutoStart',AutoStart)
31+
32+
def get_Notify(self):
33+
return self.get_query_params().get('Notify')
34+
35+
def set_Notify(self,Notify):
36+
self.add_query_param('Notify',Notify)
37+
38+
def get_Output(self):
39+
return self.get_query_params().get('Output')
40+
41+
def set_Output(self,Output):
42+
self.add_query_param('Output',Output)
43+
44+
def get_UserData(self):
45+
return self.get_query_params().get('UserData')
46+
47+
def set_UserData(self,UserData):
48+
self.add_query_param('UserData',UserData)
49+
50+
def get_ShowLog(self):
51+
return self.get_query_params().get('ShowLog')
52+
53+
def set_ShowLog(self,ShowLog):
54+
self.add_query_param('ShowLog',ShowLog)
55+
56+
def get_StreamType(self):
57+
return self.get_query_params().get('StreamType')
58+
59+
def set_StreamType(self,StreamType):
60+
self.add_query_param('StreamType',StreamType)
61+
62+
def get_StreamId(self):
63+
return self.get_query_params().get('StreamId')
64+
65+
def set_StreamId(self,StreamId):
66+
self.add_query_param('StreamId',StreamId)
67+
68+
def get_OwnerId(self):
69+
return self.get_query_params().get('OwnerId')
70+
71+
def set_OwnerId(self,OwnerId):
72+
self.add_query_param('OwnerId',OwnerId)
73+
74+
def get_ProbabilityThresholds(self):
75+
return self.get_query_params().get('ProbabilityThresholds')
76+
77+
def set_ProbabilityThresholds(self,ProbabilityThresholds):
78+
self.add_query_param('ProbabilityThresholds',ProbabilityThresholds)
79+
80+
def get_ModelIds(self):
81+
return self.get_query_params().get('ModelIds')
82+
83+
def set_ModelIds(self,ModelIds):
84+
self.add_query_param('ModelIds',ModelIds)
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class CreateTagRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'ivision', '2019-03-08', 'CreateTag','ivision')
25+
26+
def get_Description(self):
27+
return self.get_query_params().get('Description')
28+
29+
def set_Description(self,Description):
30+
self.add_query_param('Description',Description)
31+
32+
def get_ProjectId(self):
33+
return self.get_query_params().get('ProjectId')
34+
35+
def set_ProjectId(self,ProjectId):
36+
self.add_query_param('ProjectId',ProjectId)
37+
38+
def get_ShowLog(self):
39+
return self.get_query_params().get('ShowLog')
40+
41+
def set_ShowLog(self,ShowLog):
42+
self.add_query_param('ShowLog',ShowLog)
43+
44+
def get_OwnerId(self):
45+
return self.get_query_params().get('OwnerId')
46+
47+
def set_OwnerId(self,OwnerId):
48+
self.add_query_param('OwnerId',OwnerId)
49+
50+
def get_Name(self):
51+
return self.get_query_params().get('Name')
52+
53+
def set_Name(self,Name):
54+
self.add_query_param('Name',Name)
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class CreateTrainDataRegionTagRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'ivision', '2019-03-08', 'CreateTrainDataRegionTag','ivision')
25+
26+
def get_ProjectId(self):
27+
return self.get_query_params().get('ProjectId')
28+
29+
def set_ProjectId(self,ProjectId):
30+
self.add_query_param('ProjectId',ProjectId)
31+
32+
def get_ShowLog(self):
33+
return self.get_query_params().get('ShowLog')
34+
35+
def set_ShowLog(self,ShowLog):
36+
self.add_query_param('ShowLog',ShowLog)
37+
38+
def get_TagItems(self):
39+
return self.get_query_params().get('TagItems')
40+
41+
def set_TagItems(self,TagItems):
42+
self.add_query_param('TagItems',TagItems)
43+
44+
def get_OwnerId(self):
45+
return self.get_query_params().get('OwnerId')
46+
47+
def set_OwnerId(self,OwnerId):
48+
self.add_query_param('OwnerId',OwnerId)
49+
50+
def get_DataId(self):
51+
return self.get_query_params().get('DataId')
52+
53+
def set_DataId(self,DataId):
54+
self.add_query_param('DataId',DataId)
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class CreateTrainDataTagRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'ivision', '2019-03-08', 'CreateTrainDataTag','ivision')
25+
26+
def get_ProjectId(self):
27+
return self.get_query_params().get('ProjectId')
28+
29+
def set_ProjectId(self,ProjectId):
30+
self.add_query_param('ProjectId',ProjectId)
31+
32+
def get_ShowLog(self):
33+
return self.get_query_params().get('ShowLog')
34+
35+
def set_ShowLog(self,ShowLog):
36+
self.add_query_param('ShowLog',ShowLog)
37+
38+
def get_TagItems(self):
39+
return self.get_query_params().get('TagItems')
40+
41+
def set_TagItems(self,TagItems):
42+
self.add_query_param('TagItems',TagItems)
43+
44+
def get_OwnerId(self):
45+
return self.get_query_params().get('OwnerId')
46+
47+
def set_OwnerId(self,OwnerId):
48+
self.add_query_param('OwnerId',OwnerId)
49+
50+
def get_DataId(self):
51+
return self.get_query_params().get('DataId')
52+
53+
def set_DataId(self,DataId):
54+
self.add_query_param('DataId',DataId)

0 commit comments

Comments
 (0)