Sorry, I've just demonstrated a hole in my python. If I change the function to this then it will work since I am not overwriting the self, and the context is in the right place! def ServerInfo(ctx): self.broker.GetServerData(serverData.HUB_SERVER) Guess you realise-something-very-obvious everyday!