stubbing out callback to python api