Skip to content

Conversation

Hazhzeng
Copy link
Contributor

@Hazhzeng Hazhzeng commented Aug 18, 2020

Background

Resolves #39
Resolves Azure/azure-functions-python-worker#670
Original PR: #40

When a blob does not exist, the blob input binding will raise an exception. Asked by the issues mentioned above, we should simply return a None object in the input binding since it is not a customer error.

Fixes

  1. The Blob input binding will now return None if the blob does not exist
  2. Add unit testing for blob trigger

Copy link
Member

@vrdmr vrdmr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🚢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve exception management when Blob does not exist Allow InputStream parameter to pass null if the blob doesn't exist
2 participants