def run_chunk(environ, lowstate):
    client = environ['SALT_APIClient']

    for chunk in lowstate:
        yield client.run(chunk)
Expects a list of lowstate dictionaries that are executed and returned in
dataset/ETHPy150Open saltstack/salt/salt/netapi/rest_wsgi.py/run_chunk