def get_attributes(var):
    is_valid = partial(is_valid_in_template, var)
    return filter(is_valid, dir(var))
Tells the AppController to stop routing traffic to an AppServer.
dataset/ETHPy150Open calebsmith/django-template-debug/template_debug/utils.py/get_attributes--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/appcontroller_client.py/AppControllerClient.remove_appserver_from_haproxy