I have made some progress, in that peasy currently cannot generate GI stuff against Geany's master. Need to repair that first.
Then, I would probably try to implement a python-lsp plugin in python, or do you have a better idea?
I don' think this needs to block this PR, if you're OK that the API may need to be changed after the fact.