multihost tasks back to python api (Block class in af.py)