There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Code examples in worker role should be moved above main
The template for worker.py has convenient sample code that you can call from the worker role, except it won't work if you call it from the main loop, because the example functions are defined below.
Given that everything else in the worker.py is plug & play (insert your creds here and off you go), then I would like to be able to use the example functions without having to move them around.