Azure / azure-functions-python-library

Azure Functions Python SDK
MIT License
155 stars 67 forks source link

Optional source param for blob trigger #220

Closed hallvictoria closed 5 months ago

hallvictoria commented 5 months ago

Previously, the source param was required and set to a default value of BlobSource.LOGS_AND_CONTAINER_SCAN. This caused an error when indexing the blob trigger function saying: Could not convert 'LOGS_AND_CONTAINER_SCAN' to BlobTriggerSource. Error converting value "LOGS_AND_CONTAINER_SCAN" to type 'Microsoft.Azure.WebJobs.BlobTriggerSource'. Path 'source', line 1, position 184. Requested value 'LOGS_AND_CONTAINER_SCAN' was not found.

This fix addresses that issue.