def __init__(self, username, password):
    self.client = Client(debug=True)
    self.client.authenticate(username, password)
    self.logger = logger
def __init__(self, username, password):
    self.client = Client(debug=True)
    self.client.authenticate(username, password)
    self.logger = logger