Skip to content

Commit f79065a

Browse files
committed
1. 测试发布 Arms 全部语言
1 parent b636309 commit f79065a

File tree

5 files changed

+79
-10
lines changed

5 files changed

+79
-10
lines changed

aliyun-python-sdk-arms/ChangeLog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2019-05-22 Version: 1.0.0
2+
1. 测试发布 Arms 全部语言
3+
2. 查看发布是否成功
4+
15
2018-12-21 Version: 2.3.0
26
1, ARMS SDK 2018-12-19 go sdk upload
37

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.3.0"
1+
__version__ = '1.0.0'
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
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 ArmsQueryDataSetRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'ARMS', '2016-08-04', 'ArmsQueryDataSet')
25+
26+
def get_DateStr(self):
27+
return self.get_query_params().get('DateStr')
28+
29+
def set_DateStr(self,DateStr):
30+
self.add_query_param('DateStr',DateStr)
31+
32+
def get_MinTime(self):
33+
return self.get_query_params().get('MinTime')
34+
35+
def set_MinTime(self,MinTime):
36+
self.add_query_param('MinTime',MinTime)
37+
38+
def get_MaxTime(self):
39+
return self.get_query_params().get('MaxTime')
40+
41+
def set_MaxTime(self,MaxTime):
42+
self.add_query_param('MaxTime',MaxTime)
43+
44+
def get_Measuress(self):
45+
return self.get_query_params().get('Measuress')
46+
47+
def set_Measuress(self,Measuress):
48+
for i in range(len(Measuress)):
49+
if Measuress[i] is not None:
50+
self.add_query_param('Measures.' + str(i + 1) , Measuress[i]);
51+
52+
def get_IntervalInSec(self):
53+
return self.get_query_params().get('IntervalInSec')
54+
55+
def set_IntervalInSec(self,IntervalInSec):
56+
self.add_query_param('IntervalInSec',IntervalInSec)
57+
58+
def get_DatasetId(self):
59+
return self.get_query_params().get('DatasetId')
60+
61+
def set_DatasetId(self,DatasetId):
62+
self.add_query_param('DatasetId',DatasetId)
63+
64+
def get_Dimensionss(self):
65+
return self.get_query_params().get('Dimensionss')
66+
67+
def set_Dimensionss(self,Dimensionss):
68+
for i in range(len(Dimensionss)):
69+
if Dimensionss[i].get('Value') is not None:
70+
self.add_query_param('Dimensions.' + str(i + 1) + '.Value' , Dimensionss[i].get('Value'))
71+
if Dimensionss[i].get('Key') is not None:
72+
self.add_query_param('Dimensions.' + str(i + 1) + '.Key' , Dimensionss[i].get('Key'))

aliyun-python-sdk-arms/aliyunsdkarms/request/v20160804/__init__.py

Whitespace-only changes.

aliyun-python-sdk-arms/setup.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"""
3232

3333
PACKAGE = "aliyunsdkarms"
34-
NAME = "aliyun-python-sdk-arms"
34+
NAME = "aliyun-python-sdk-arms-test"
3535
DESCRIPTION = "The arms module of Aliyun Python sdk."
3636
AUTHOR = "Aliyun"
3737
AUTHOR_EMAIL = "[email protected]"
@@ -46,13 +46,6 @@
4646
finally:
4747
desc_file.close()
4848

49-
requires = []
50-
51-
if sys.version_info < (3, 3):
52-
requires.append("aliyun-python-sdk-core>=2.0.2")
53-
else:
54-
requires.append("aliyun-python-sdk-core-v3>=2.3.5")
55-
5649
setup(
5750
name=NAME,
5851
version=VERSION,
@@ -66,7 +59,7 @@
6659
packages=find_packages(exclude=["tests*"]),
6760
include_package_data=True,
6861
platforms="any",
69-
install_requires=requires,
62+
install_requires=["aliyun-python-sdk-core>=2.11.5",],
7063
classifiers=(
7164
"Development Status :: 4 - Beta",
7265
"Intended Audience :: Developers",

0 commit comments

Comments
 (0)