

def update(self, new_email_address, name, access_level, password=None):
    'Updates the details for a person. Password is optional and is only updated if supplied.'
    params = {
        'email': access_level.email_address,
    }
    body = {
        'EmailAddress': new_email_address,
        'Name': name,
        'AccessLevel': access_level,
        'Password': password,
    }
    response = self._put(('/clients/%s/people.json' % self.client_id), body=json.dumps(body), params=params)
    self.email_address = new_email_address

dataset/ETHPy150Open campaignmonitor/createsend-python/createsend/person.py Person.update/VarMisuse@28/68 `self`->`access_level`