-
Notifications
You must be signed in to change notification settings - Fork 10
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
Onboarding updates 3 #38
Conversation
…s. Now returns 401 instead of 200.
…y/catch in case of an error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one small nitpick but otherwise looking great!
@@ -0,0 +1,53 @@ | |||
import os | |||
import logging | |||
from azure.storage.blob import BlockBlobService |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this import is un-necessary, since you're not creating a new instance in this module - just being passed one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, forgot to delete
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice organizing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Added exception handling for copy/delete blob operations. * Added exception handling for connection database. * Separated out blob manipulation code into a module * Dependency injection refactor. Renamed blob manipulation module and function. * Changes * Fixed return status code for when an image copy/delete operation fails. Now returns 401 instead of 200. * Wrapped code to build image object list into a function, and added try/catch in case of an error. * Code cleanup and more descriptive comments. * PR comment - deleted unnecessary module import.
Adding CLI operation stubs and tests
No description provided.