Azure / Azure/azure-functions-durable-python
Input Blob Binding name fails with an activity trigger
- Vorherrschende Sprache
- Python
- Sterne
- 157
- Forks
- 70
- Ø Merge
- 2 T. 10 Std.
- Gemergte PRs (30 T.)
- 2
Beschreibung
🐛 **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
Beitragsleitfaden
Rechercherichtung
Beginne damit, die im Issue gezeigte Konfiguration für den Activity-Trigger und das Blob-Binding mit __init__.py als Skripteinstiegspunkt nachzubilden. Vergleiche das Verhalten von Python mit dem referenzierten durable-extension PR und verfolge, wie das Activity-Argument in den Blob-Pfad übergeben wird. Als abgeschlossen gilt die Aufgabe, wenn ein anhand des Activity-Arguments benannter Blob erfolgreich als Eingabe gebunden wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- azure, python
- Bereich
- backend, cloud
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100