human
I wrote the below code

    def _OnResponse(response):
        response_dict = www_util.ParseJSONResponse(response)
        viewpoints = response_dict.get('viewpoints')
        if (len(viewpoints) < 1):
            logger.error('query_followed    returned    0    viewpoints,    should    always    return    at    least    one.')
        else:
            logger.info('QueryFollowed    scenario    passed.')
        callback()
    device.SendRequest('service/query_followed', _OnResponse, 'POST', limit=5, headers={'version': message.MAX_SUPPORTED_MESSAGE_VERSION})

What's a good function header?
assistant
#Here's a good function header.

def QueryFollowed(device, logger, callback):