I have an Event Grid Trigger Azure function created using VS Code. Here's how my function JSON looks like:
{
"scriptFile": "__init__.py",
"bindings": [
{
"name": "myblob",
"type": "blobTrigger",
"direction": "in",
"path": "input/{name}",
"source": "EventGrid",
"connection": "AzureWebJobsStorage"
}
]
}
Here's my init file:
def main(myblob: func.InputStream):
logging.info(f'File: {myblob.name}')
When I drop a file in this path, it won't trigger the log for some reason. Even though my connection string for the Azure storage is in my local settings. What am I doing wrong?