def execute(self, input_data):
        input_data = input_data['info']
        type_tag = input_data['type_tag']
        if type_tag == 'help':
            return {'help': input_data['help'], 'type_tag': input_data['type_tag']}
        elif type_tag == 'worker':
            out_keys = ['name', 'dependencies', 'docstring', 'type_tag'] 
            return {key: value for key, value in input_data.iteritems() if key in out_keys}
        elif type_tag == 'command':
            out_keys = ['command', 'sig', 'docstring', 'type_tag']
            return {key: value for key, value in input_data.iteritems() if key in out_keys}
        elif type_tag == 'other':
            return input_data
        else:
            print 'Got a malformed info object %s' % input_data
            return input_data

# Unit test: Create the class, the proper input and run the execute() method for a test
Info objects all have a type_tag of ('help','worker','command', or 'other')
dataset/ETHPy150Open SuperCowPowers/workbench/workbench/workers/help_base.py/HelpBase.execute