diff --git a/pylsp/workspace.py b/pylsp/workspace.py index be5ee792..5c6880c9 100644 --- a/pylsp/workspace.py +++ b/pylsp/workspace.py @@ -58,6 +58,7 @@ def __init__(self, root_uri, endpoint, config=None): # Whilst incubating, keep rope private self.__rope = None self.__rope_config = None + # We have a sperate AutoImport object for each feature to avoid sqlite errors # from accessing the same database from multiple threads. # An upstream fix discussion is here: https://github.com/python-rope/rope/issues/713