Skip to content

Commit 533c116

Browse files
author
高汝彤
committed
bugfix
1 parent b0f83ed commit 533c116

File tree

309 files changed

+2718
-2630
lines changed

Some content is hidden

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

309 files changed

+2718
-2630
lines changed

aliyun-python-sdk-arms/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2018-01-12 Version: 2.0.2
2+
1, fix the TypeError while building the repeat params
3+
14
2017-12-20 Version: 2.0.1
25
1, support tile dataset
36
2, use dimension value type to replace isDrillDown
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.0.1"
1+
__version__ = "2.0.2"

aliyun-python-sdk-arms/aliyunsdkarms/request/v20161125/ARMSQueryDataSetRequest.py

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
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):
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):
2424
RpcRequest.__init__(self, 'ARMS', '2016-11-25', 'ARMSQueryDataSet')
2525

2626
def get_DateStr(self):
@@ -51,22 +51,22 @@ def get_OptionalDimss(self):
5151
return self.get_query_params().get('OptionalDimss')
5252

5353
def set_OptionalDimss(self,OptionalDimss):
54-
for i in range(len(OptionalDimss)):
54+
for i in range(len(OptionalDimss)):
5555
if OptionalDimss[i].get('Key') is not None:
56-
self.add_query_param('OptionalDims.' + bytes(i + 1) + '.Key' , OptionalDimss[i].get('Key'))
56+
self.add_query_param('OptionalDims.' + str(i + 1) + '.Key' , OptionalDimss[i].get('Key'))
5757
if OptionalDimss[i].get('Value') is not None:
58-
self.add_query_param('OptionalDims.' + bytes(i + 1) + '.Value' , OptionalDimss[i].get('Value'))
58+
self.add_query_param('OptionalDims.' + str(i + 1) + '.Value' , OptionalDimss[i].get('Value'))
5959
if OptionalDimss[i].get('Type') is not None:
60-
self.add_query_param('OptionalDims.' + bytes(i + 1) + '.Type' , OptionalDimss[i].get('Type'))
60+
self.add_query_param('OptionalDims.' + str(i + 1) + '.Type' , OptionalDimss[i].get('Type'))
6161

6262

6363
def get_Measuress(self):
6464
return self.get_query_params().get('Measuress')
6565

6666
def set_Measuress(self,Measuress):
67-
for i in range(len(Measuress)):
67+
for i in range(len(Measuress)):
6868
if Measuress[i] is not None:
69-
self.add_query_param('Measures.' + bytes(i + 1) , Measuress[i]);
69+
self.add_query_param('Measures.' + str(i + 1) , Measuress[i]);
7070

7171
def get_IntervalInSec(self):
7272
return self.get_query_params().get('IntervalInSec')
@@ -108,23 +108,23 @@ def get_RequiredDimss(self):
108108
return self.get_query_params().get('RequiredDimss')
109109

110110
def set_RequiredDimss(self,RequiredDimss):
111-
for i in range(len(RequiredDimss)):
111+
for i in range(len(RequiredDimss)):
112112
if RequiredDimss[i].get('Key') is not None:
113-
self.add_query_param('RequiredDims.' + bytes(i + 1) + '.Key' , RequiredDimss[i].get('Key'))
113+
self.add_query_param('RequiredDims.' + str(i + 1) + '.Key' , RequiredDimss[i].get('Key'))
114114
if RequiredDimss[i].get('Value') is not None:
115-
self.add_query_param('RequiredDims.' + bytes(i + 1) + '.Value' , RequiredDimss[i].get('Value'))
115+
self.add_query_param('RequiredDims.' + str(i + 1) + '.Value' , RequiredDimss[i].get('Value'))
116116
if RequiredDimss[i].get('Type') is not None:
117-
self.add_query_param('RequiredDims.' + bytes(i + 1) + '.Type' , RequiredDimss[i].get('Type'))
117+
self.add_query_param('RequiredDims.' + str(i + 1) + '.Type' , RequiredDimss[i].get('Type'))
118118

119119

120120
def get_Dimensionss(self):
121121
return self.get_query_params().get('Dimensionss')
122122

123123
def set_Dimensionss(self,Dimensionss):
124-
for i in range(len(Dimensionss)):
124+
for i in range(len(Dimensionss)):
125125
if Dimensionss[i].get('Key') is not None:
126-
self.add_query_param('Dimensions.' + bytes(i + 1) + '.Key' , Dimensionss[i].get('Key'))
126+
self.add_query_param('Dimensions.' + str(i + 1) + '.Key' , Dimensionss[i].get('Key'))
127127
if Dimensionss[i].get('Value') is not None:
128-
self.add_query_param('Dimensions.' + bytes(i + 1) + '.Value' , Dimensionss[i].get('Value'))
128+
self.add_query_param('Dimensions.' + str(i + 1) + '.Value' , Dimensionss[i].get('Value'))
129129
if Dimensionss[i].get('Type') is not None:
130-
self.add_query_param('Dimensions.' + bytes(i + 1) + '.Type' , Dimensionss[i].get('Type'))
130+
self.add_query_param('Dimensions.' + str(i + 1) + '.Type' , Dimensionss[i].get('Type'))

aliyun-python-sdk-arms/aliyunsdkarms/request/v20161125/WhereInDimQueryRequest.py

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
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 WhereInDimQueryRequest(RpcRequest):
22-
23-
def __init__(self):
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 WhereInDimQueryRequest(RpcRequest):
22+
23+
def __init__(self):
2424
RpcRequest.__init__(self, 'ARMS', '2016-11-25', 'WhereInDimQuery')
2525

2626
def get_DateStr(self):
@@ -57,9 +57,9 @@ def get_Measuress(self):
5757
return self.get_query_params().get('Measuress')
5858

5959
def set_Measuress(self,Measuress):
60-
for i in range(len(Measuress)):
60+
for i in range(len(Measuress)):
6161
if Measuress[i] is not None:
62-
self.add_query_param('Measures.' + bytes(i + 1) , Measuress[i]);
62+
self.add_query_param('Measures.' + str(i + 1) , Measuress[i]);
6363

6464
def get_IntervalInSec(self):
6565
return self.get_query_params().get('IntervalInSec')
@@ -95,18 +95,18 @@ def get_WhereInValuess(self):
9595
return self.get_query_params().get('WhereInValuess')
9696

9797
def set_WhereInValuess(self,WhereInValuess):
98-
for i in range(len(WhereInValuess)):
98+
for i in range(len(WhereInValuess)):
9999
if WhereInValuess[i] is not None:
100-
self.add_query_param('WhereInValues.' + bytes(i + 1) , WhereInValuess[i]);
100+
self.add_query_param('WhereInValues.' + str(i + 1) , WhereInValuess[i]);
101101

102102
def get_Dimensionss(self):
103103
return self.get_query_params().get('Dimensionss')
104104

105105
def set_Dimensionss(self,Dimensionss):
106-
for i in range(len(Dimensionss)):
106+
for i in range(len(Dimensionss)):
107107
if Dimensionss[i].get('Key') is not None:
108-
self.add_query_param('Dimensions.' + bytes(i + 1) + '.Key' , Dimensionss[i].get('Key'))
108+
self.add_query_param('Dimensions.' + str(i + 1) + '.Key' , Dimensionss[i].get('Key'))
109109
if Dimensionss[i].get('Value') is not None:
110-
self.add_query_param('Dimensions.' + bytes(i + 1) + '.Value' , Dimensionss[i].get('Value'))
110+
self.add_query_param('Dimensions.' + str(i + 1) + '.Value' , Dimensionss[i].get('Value'))
111111
if Dimensionss[i].get('Type') is not None:
112-
self.add_query_param('Dimensions.' + bytes(i + 1) + '.Type' , Dimensionss[i].get('Type'))
112+
self.add_query_param('Dimensions.' + str(i + 1) + '.Type' , Dimensionss[i].get('Type'))

aliyun-python-sdk-arms4finance/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2018-01-12 Version: 2.0.1
2+
1, fix the TypeError while building the repeat params
3+
14
2017-12-08 Version: 2.0.0
25
1, Add ARMSQueryDataSet, WhereInDimQuery interface.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.0.0"
1+
__version__ = "2.0.1"

aliyun-python-sdk-arms4finance/aliyunsdkarms4finance/request/v20171130/ARMSQueryDataSetRequest.py

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
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):
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):
2424
RpcRequest.__init__(self, 'ARMS4FINANCE', '2017-11-30', 'ARMSQueryDataSet')
2525

2626
def get_Measuress(self):
2727
return self.get_query_params().get('Measuress')
2828

2929
def set_Measuress(self,Measuress):
30-
for i in range(len(Measuress)):
30+
for i in range(len(Measuress)):
3131
if Measuress[i] is not None:
32-
self.add_query_param('Measures.' + bytes(i + 1) , Measuress[i]);
32+
self.add_query_param('Measures.' + str(i + 1) , Measuress[i]);
3333

3434
def get_IntervalInSec(self):
3535
return self.get_query_params().get('IntervalInSec')
@@ -71,8 +71,8 @@ def get_Dimensionss(self):
7171
return self.get_query_params().get('Dimensionss')
7272

7373
def set_Dimensionss(self,Dimensionss):
74-
for i in range(len(Dimensionss)):
74+
for i in range(len(Dimensionss)):
7575
if Dimensionss[i].get('Key') is not None:
76-
self.add_query_param('Dimensions.' + bytes(i + 1) + '.Key' , Dimensionss[i].get('Key'))
76+
self.add_query_param('Dimensions.' + str(i + 1) + '.Key' , Dimensionss[i].get('Key'))
7777
if Dimensionss[i].get('Value') is not None:
78-
self.add_query_param('Dimensions.' + bytes(i + 1) + '.Value' , Dimensionss[i].get('Value'))
78+
self.add_query_param('Dimensions.' + str(i + 1) + '.Value' , Dimensionss[i].get('Value'))

aliyun-python-sdk-arms4finance/aliyunsdkarms4finance/request/v20171130/WhereInDimQueryRequest.py

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
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 WhereInDimQueryRequest(RpcRequest):
22-
23-
def __init__(self):
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 WhereInDimQueryRequest(RpcRequest):
22+
23+
def __init__(self):
2424
RpcRequest.__init__(self, 'ARMS4FINANCE', '2017-11-30', 'WhereInDimQuery')
2525

2626
def get_WhereInKey(self):
@@ -33,9 +33,9 @@ def get_Measuress(self):
3333
return self.get_query_params().get('Measuress')
3434

3535
def set_Measuress(self,Measuress):
36-
for i in range(len(Measuress)):
36+
for i in range(len(Measuress)):
3737
if Measuress[i] is not None:
38-
self.add_query_param('Measures.' + bytes(i + 1) , Measuress[i]);
38+
self.add_query_param('Measures.' + str(i + 1) , Measuress[i]);
3939

4040
def get_IntervalInSec(self):
4141
return self.get_query_params().get('IntervalInSec')
@@ -71,9 +71,9 @@ def get_WhereInValuess(self):
7171
return self.get_query_params().get('WhereInValuess')
7272

7373
def set_WhereInValuess(self,WhereInValuess):
74-
for i in range(len(WhereInValuess)):
74+
for i in range(len(WhereInValuess)):
7575
if WhereInValuess[i] is not None:
76-
self.add_query_param('WhereInValues.' + bytes(i + 1) , WhereInValuess[i]);
76+
self.add_query_param('WhereInValues.' + str(i + 1) , WhereInValuess[i]);
7777

7878
def get_MaxTime(self):
7979
return self.get_query_params().get('MaxTime')
@@ -85,8 +85,8 @@ def get_Dimensionss(self):
8585
return self.get_query_params().get('Dimensionss')
8686

8787
def set_Dimensionss(self,Dimensionss):
88-
for i in range(len(Dimensionss)):
88+
for i in range(len(Dimensionss)):
8989
if Dimensionss[i].get('Key') is not None:
90-
self.add_query_param('Dimensions.' + bytes(i + 1) + '.Key' , Dimensionss[i].get('Key'))
90+
self.add_query_param('Dimensions.' + str(i + 1) + '.Key' , Dimensionss[i].get('Key'))
9191
if Dimensionss[i].get('Value') is not None:
92-
self.add_query_param('Dimensions.' + bytes(i + 1) + '.Value' , Dimensionss[i].get('Value'))
92+
self.add_query_param('Dimensions.' + str(i + 1) + '.Value' , Dimensionss[i].get('Value'))

aliyun-python-sdk-batchcompute/MANIFEST.in

100644100755
File mode changed.

aliyun-python-sdk-batchcompute/README.rst

100644100755
File mode changed.

0 commit comments

Comments
 (0)