Skip to content

Commit 56456e0

Browse files
committed
fix settings.py
1 parent 21ab3bb commit 56456e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsp/utils/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Settings:
4949
def __new__(cls):
5050
if cls._instance is None:
5151
cls._instance = super().__new__(cls)
52-
# No need for a lock since we're only updating main_thread_config in the main thread
52+
cls._instance.lock = threading.Lock() # maintained here for DSPy assertions.py
5353
return cls._instance
5454

5555
def __getattr__(self, name):

0 commit comments

Comments
 (0)