def slave_table(slaves):

    fields = OrderedDict([
        ('HOSTNAME', lambda s: s['hostname']),
        ('IP', lambda s: mesos.parse_pid(s['pid'])[1]),
        ('ID', lambda s: s['id'])
    ])

    tb = table(fields, slaves, sortby="HOSTNAME")
    return tb
Returns True if the user has required permissions.
dataset/ETHPy150Open dcos/dcos-cli/cli/dcoscli/tables.py/slave_table--crossover with--dataset/ETHPy150Open OpenSlides/OpenSlides/openslides/core/views.py/ConfigViewSet.check_view_permissions