Skip to content

Allow null value when blob doesnt exist #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

kolafsson
Copy link

@kolafsson kolafsson commented Jan 27, 2020

Returns None when a customer tries to access blob that doesn't exist

@kolafsson kolafsson requested a review from Hazhzeng February 5, 2020 17:53
@anthonychu
Copy link
Member

@Hazhzeng @anirudhgarg Could you please take a look at this PR? Thanks!

Comment on lines +78 to +80
if data is None or data.type is None:
return None

Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @kolafsson, thanks for contributing to azure-functions-python-library

Please add a few unit tests regarding to this scenario.
Unit test examples: https://github.com/Azure/azure-functions-python-library/pull/28/files#diff-c27162ae93fd2aa43a783ef13d1749f4R9-R12

Thanks.

@Hazhzeng
Copy link
Contributor

Moving to PR #67

@Hazhzeng Hazhzeng closed this Aug 18, 2020
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.

4 participants