Looks like python-language-server is somewhat broken.
python-language-server
I asked to rename a function that was in another module and it completely destroyed my code -- including removing large if sequences.
if
I know the code isn't pretty but... heck.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!