Add cursor to python shark context