We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21ab3bb commit 56456e0Copy full SHA for 56456e0
dsp/utils/settings.py
@@ -49,7 +49,7 @@ class Settings:
49
def __new__(cls):
50
if cls._instance is None:
51
cls._instance = super().__new__(cls)
52
- # No need for a lock since we're only updating main_thread_config in the main thread
+ cls._instance.lock = threading.Lock() # maintained here for DSPy assertions.py
53
return cls._instance
54
55
def __getattr__(self, name):
0 commit comments