human
I wrote the below code

    descriptions = load_yaml_config_file(os.path.join(os.path.dirname(__file__), 'media_player', 'services.yaml'))
    def play_media(call):
        'Get    stream    URL    and    send    it    to    the    media_player.play_media.'
        MediaExtractor(hass, config[DOMAIN], call.data).extract_and_send()
    hass.services.register(DOMAIN, SERVICE_PLAY_MEDIA, play_media, description=descriptions[SERVICE_PLAY_MEDIA], schema=MEDIA_PLAYER_PLAY_MEDIA_SCHEMA)
    return True

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

def setup(hass, config):