def update(self):
error = "<STR_LIT>"<EOL>if self.key is None:<EOL><INDENT>error = "<STR_LIT>"<EOL><DEDENT>if self.secret is None:<EOL><INDENT>error = "<STR_LIT>"<EOL><DEDENT>if error:<EOL><INDENT>raise ClientException(error)<EOL><DEDENT>self.request()<EOL>return True<EOL>
Updates the information the Pump server has about the client