Skip to content

Commit 32682db

Browse files
committed
Add ManualRunMailTask, GetMailTaskStatus and GetWorksEmbedList apis.
1 parent 1aab157 commit 32682db

File tree

7 files changed

+135
-8
lines changed

7 files changed

+135
-8
lines changed

aliyun-python-sdk-quickbi-public/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-10-10 Version: 2.1.10
2+
- Add ManualRunMailTask, GetMailTaskStatus and GetWorksEmbedList apis.
3+
14
2024-09-18 Version: 2.1.9
25
- Add API Ram meta.
36

aliyun-python-sdk-quickbi-public/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Aliyun Python SDK is the official software development kit. It makes things easy
88

99
This module works on Python versions:
1010

11-
2.6.5 and greater
11+
3.7 and greater
1212

1313
**Documentation:**
1414

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.1.9'
1+
__version__ = '2.1.10'
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
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+
22+
class GetMailTaskStatusRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'quickbi-public', '2022-01-01', 'GetMailTaskStatus','2.2.0')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_MailId(self): # String
30+
return self.get_query_params().get('MailId')
31+
32+
def set_MailId(self, MailId): # String
33+
self.add_query_param('MailId', MailId)
34+
def get_TaskId(self): # Long
35+
return self.get_query_params().get('TaskId')
36+
37+
def set_TaskId(self, TaskId): # Long
38+
self.add_query_param('TaskId', TaskId)
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
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+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
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+
22+
class GetWorksEmbedListRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'quickbi-public', '2022-01-01', 'GetWorksEmbedList','2.2.0')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_WsId(self): # String
30+
return self.get_query_params().get('WsId')
31+
32+
def set_WsId(self, WsId): # String
33+
self.add_query_param('WsId', WsId)
34+
def get_PageSize(self): # Integer
35+
return self.get_query_params().get('PageSize')
36+
37+
def set_PageSize(self, PageSize): # Integer
38+
self.add_query_param('PageSize', PageSize)
39+
def get_Keyword(self): # String
40+
return self.get_query_params().get('Keyword')
41+
42+
def set_Keyword(self, Keyword): # String
43+
self.add_query_param('Keyword', Keyword)
44+
def get_WorksType(self): # String
45+
return self.get_query_params().get('WorksType')
46+
47+
def set_WorksType(self, WorksType): # String
48+
self.add_query_param('WorksType', WorksType)
49+
def get_PageNo(self): # Integer
50+
return self.get_query_params().get('PageNo')
51+
52+
def set_PageNo(self, PageNo): # Integer
53+
self.add_query_param('PageNo', PageNo)
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
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+
22+
class ManualRunMailTaskRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'quickbi-public', '2022-01-01', 'ManualRunMailTask','2.2.0')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_MailId(self): # String
30+
return self.get_query_params().get('MailId')
31+
32+
def set_MailId(self, MailId): # String
33+
self.add_query_param('MailId', MailId)

aliyun-python-sdk-quickbi-public/setup.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@
6565
"Intended Audience :: Developers",
6666
"License :: OSI Approved :: Apache Software License",
6767
"Programming Language :: Python",
68-
"Programming Language :: Python :: 2.6",
69-
"Programming Language :: Python :: 2.7",
7068
"Programming Language :: Python :: 3",
71-
"Programming Language :: Python :: 3.3",
72-
"Programming Language :: Python :: 3.4",
73-
"Programming Language :: Python :: 3.5",
74-
"Programming Language :: Python :: 3.6",
69+
"Programming Language :: Python :: 3.7",
70+
"Programming Language :: Python :: 3.8",
71+
"Programming Language :: Python :: 3.9",
72+
"Programming Language :: Python :: 3.10",
73+
"Programming Language :: Python :: 3.11",
74+
"Programming Language :: Python :: 3.12",
7575
"Topic :: Software Development",
7676
)
7777

0 commit comments

Comments
 (0)