📌 📄 内容摘要:
mute667 (@BigShark667) 在 华为云FunctionGraph认证实验踩坑分享 中发帖
步骤中用的函数模板过时了,需要把代码修改一下
替换handler函数,event中提取数据的方式变了:
def handler(event, context):
ak = context.getSecurityAccessKey()
sk = context.getSecuritySecretKey()
st = context.getSecurityToken()
if ak == "" or sk == "" or st == "":
context.getLogger().error('Failed to access OBS because no temporary '
'AK, SK, or token has been obtained. Please '
...
────────── 链接信息 ──────────
🔗 论坛链接: linux.do
📎 访问地址: https://linux.do/t/topic/768574/1
─────────────────────────────
📢 来源:LINUX DO