From 91c32a5b99674e9b01ba7b1171dd2e5d211f2f9e Mon Sep 17 00:00:00 2001 From: tkrabel-db <91616041+tkrabel-db@users.noreply.github.com> Date: Fri, 27 Oct 2023 14:07:48 +0200 Subject: [PATCH] Update pylsp/workspace.py Co-authored-by: Carlos Cordoba --- pylsp/workspace.py | 1 + 1 file changed, 1 insertion(+) 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