Alipay FaaS Server SDK
Project description
支付宝云开发服务端SDK
安装
在云函数的requirements.txt中添加依赖:
alipay-faas-server-sdk
使用
在云函数中引用SDK,示例代码如下:
from alipay_faas_server_sdk import Cloud
def main(event, context):
cloud = Cloud(context)
context['logger'].info("function start ...")
# call function test-sum
response = cloud.callFunction("test-sum", {'x': 1, 'y': 2})
return response.data
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alipay_faas_server_sdk-0.0.1.tar.gz.
File metadata
- Download URL: alipay_faas_server_sdk-0.0.1.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50d4110ae4a20406bdcd9130ab3ae761a084f8f8f6debf99dc7ab83234134cff
|
|
| MD5 |
9974414bcbd351cfe88001b201321487
|
|
| BLAKE2b-256 |
38f4e0f860cc7a477362b8f836da8c54f8e85644a696b79395e6febe1a966c89
|
File details
Details for the file alipay_faas_server_sdk-0.0.1-py3-none-any.whl.
File metadata
- Download URL: alipay_faas_server_sdk-0.0.1-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0358cf95c00292c8124e63c4547834c63a168141d5f36c10de5d3c560c88238d
|
|
| MD5 |
c4517d74b224e2b66a445a76fec7e3cd
|
|
| BLAKE2b-256 |
474eb04bf21be33ffe751c6c90ba1dbe7633991a0822101d8c18e0f8ee39b97f
|