Subscribe to python function calls or results