Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit294ac3a

Browse files
committed
FAAS SDK Auto Released By yinfeng.lyf,Version:1.2.0
发布日志:1, support ram authentication for sub user and sts token2, add 2 new openAPIs
1 parent1823452 commit294ac3a

File tree

5 files changed

+104
-9
lines changed

5 files changed

+104
-9
lines changed

‎aliyun-python-sdk-faas/ChangeLog.txt‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2019-02-22 Version: 1.2.0
2+
1, support ram authentication for sub user and sts token
3+
2, add 2 new openAPIs
4+
15
2018-12-07 Version: 1.1.0
26
1, add a new openAPI
37
2, support sts token
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__="1.1.0"
1+
__version__="1.2.0"
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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+
fromaliyunsdkcore.requestimportRpcRequest
21+
classDeletePublishFpgaImageRequest(RpcRequest):
22+
23+
def__init__(self):
24+
RpcRequest.__init__(self,'faas','2017-08-24','DeletePublishFpgaImage')
25+
self.set_method('POST')
26+
27+
defget_ImageID(self):
28+
returnself.get_query_params().get('ImageID')
29+
30+
defset_ImageID(self,ImageID):
31+
self.add_query_param('ImageID',ImageID)
32+
33+
defget_FpgaImageUUID(self):
34+
returnself.get_query_params().get('FpgaImageUUID')
35+
36+
defset_FpgaImageUUID(self,FpgaImageUUID):
37+
self.add_query_param('FpgaImageUUID',FpgaImageUUID)
38+
39+
defget_callerUid(self):
40+
returnself.get_query_params().get('callerUid')
41+
42+
defset_callerUid(self,callerUid):
43+
self.add_query_param('callerUid',callerUid)
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
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+
fromaliyunsdkcore.requestimportRpcRequest
21+
classUpdateImageAttributeRequest(RpcRequest):
22+
23+
def__init__(self):
24+
RpcRequest.__init__(self,'faas','2017-08-24','UpdateImageAttribute')
25+
self.set_method('POST')
26+
27+
defget_Name(self):
28+
returnself.get_query_params().get('Name')
29+
30+
defset_Name(self,Name):
31+
self.add_query_param('Name',Name)
32+
33+
defget_Description(self):
34+
returnself.get_query_params().get('Description')
35+
36+
defset_Description(self,Description):
37+
self.add_query_param('Description',Description)
38+
39+
defget_FpgaImageUUID(self):
40+
returnself.get_query_params().get('FpgaImageUUID')
41+
42+
defset_FpgaImageUUID(self,FpgaImageUUID):
43+
self.add_query_param('FpgaImageUUID',FpgaImageUUID)
44+
45+
defget_callerUid(self):
46+
returnself.get_query_params().get('callerUid')
47+
48+
defset_callerUid(self,callerUid):
49+
self.add_query_param('callerUid',callerUid)
50+
51+
defget_Tags(self):
52+
returnself.get_query_params().get('Tags')
53+
54+
defset_Tags(self,Tags):
55+
self.add_query_param('Tags',Tags)

‎aliyun-python-sdk-faas/setup.py‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,6 @@
4646
finally:
4747
desc_file.close()
4848

49-
requires= []
50-
51-
ifsys.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)

[8]ページ先頭

©2009-2025 Movatter.jp