Skip to content

Commit 01597bd

Browse files
authored
Fix rogue code snippet
1 parent e55ff88 commit 01597bd

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

articles/azure-functions/functions-event-grid-blob-trigger.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -238,15 +238,6 @@ Open the generated `EventGridBlobTrigger.ts` file and you see a definition for a
238238
In this definition, a `source` of `EventGrid` indicates that an event subscription to the `samples-workitems` blob container is used as the source of the event that starts the trigger.
239239
::: zone-end
240240

241-
```python
242-
@app.blob_trigger(arg_name="myblob", path="samples-workitems",
243-
connection="AzureWebJobsStorage", source="EventGrid")
244-
def blob_trigger(myblob: func.InputStream):
245-
logging.info(f"Python blob trigger function processed blob"
246-
f"Size: {myblob.length}")
247-
```
248-
249-
::: zone-end
250241
## Upgrade the Storage extension
251242

252243
To use the Event Grid-based Blob Storage trigger, you must have at least version 5.x of the Azure Functions Storage extension.

0 commit comments

Comments
 (0)