Using @pywith for PyCall

I think the issue may just be that this should be pyblp.parallel ? Otherwise you are indeed trying to call a module, as the error message suggests.