def update(self, new_email_address, name, custom_fields, resubscribe, consent_to_track, restart_subscription_based_autoresponders=False):
        """Updates any aspect of a subscriber, including email address, name, and
        custom field data if supplied."""
        validate_consent_to_track(consent_to_track)
        params = {"email": self.email_address}
        body = {
            "EmailAddress": new_email_address,
            "Name": name,
            "CustomFields": custom_fields,
            "Resubscribe": resubscribe,
            "ConsentToTrack": consent_to_track,
            "RestartSubscriptionBasedAutoresponders": restart_subscription_based_autoresponders}
        response = self._put("/subscribers/%s.json" % self.list_id,
                             body=json.dumps(body), params=params)
        # Update self.email_address, so this object can continue to be used
        # reliably
        self.email_address = new_email_address
def update ( self , new_email_address , name , custom_fields , resubscribe , consent_to_track , restart_subscription_based_autoresponders = False ) : validate_consent_to_track ( consent_to_track ) params = { "email" : self . email_address } body = { "EmailAddress" : new_email_address , "Name" : name , "CustomFields" : custom_fields , "Resubscribe" : resubscribe , "ConsentToTrack" : consent_to_track , "RestartSubscriptionBasedAutoresponders" : restart_subscription_based_autoresponders } response = self . _put ( "/subscribers/%s.json" % self . list_id , body = json . dumps ( body ) , params = params ) self . email_address = new_email_address
Updates any aspect of a subscriber, including email address, name, and
        custom field data if supplied.