def __init__(self, consumer_key, consumer_secret, params = {}):
<EOL>for opt in accessors:<EOL><INDENT>setattr(self, opt, None)<EOL><DEDENT>self.consumer_key = consumer_key<EOL>self.consumer_secret = consumer_secret<EOL>super(ToolConsumer, self).__init__()<EOL>self.non_spec_params = defaultdict(lambda: None)<EOL>self.launch_url = params.get('<STR_LIT>')<EOL>self.process_params(params)<EOL>
Create new ToolConsumer.