Azure / Azure/azure-functions-durable-python

Input Blob Binding name fails with an activity trigger

未关闭
#282 7 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
bug fixed-in-v2 P2
主要语言
Python
星标
157
派生
70
平均合并
2 天 10 小时
30 天内合并 PR
2

描述

🐛 **Describe the bug**
Input Blob Binding name fails with an activity trigger

🤔 **Expected behavior**
activity function takes a string argument (the name of a blob) and uses that value to bind to blob input

☕ **Steps to reproduce**

try to bind a blob name to the value passed in an activity trigger

{
"scriptFile": "__init__.py",
"bindings": [
{
"name": "name",
"type": "activityTrigger",
"direction": "in"
},
{
"name": "inputb",
"direction": "in",
"type": "blob",
"path": "container/{name}.json",
"connection": "AzureWebJobsStorage",
"dataType": "string"
}
]
}

Should work like explained in this link but fails in Pyhon
https://github.com/Azure/azure-functions-durable-extension/pull/172

贡献指南

打开贡献指南

调研方向

首先,使用 __init__.py 作为脚本入口点,复现 issue 中所示的 activity trigger 和 blob binding 配置。将 Python 的行为与所引用的 durable-extension PR 进行比较,并跟踪 activity 参数如何传入 blob 路径。当根据 activity 参数命名的 blob 成功绑定为输入时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
azure, python
领域
backend, cloud
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。