class EventHubClient(object): ... def sendMessage(self,body,partition):
... > ^
IndentationError: expected an indented block ***********************************************************************
and 'def' is not indented as it must be. This must be covered in the tutorial.
-- Terry Jan Reedy -- https://mail.python.org/mailman/listinfo/python-list