Skip to content

Commit ff6d77f

Browse files
committed
add back settings.config
1 parent 56456e0 commit ff6d77f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dsp/utils/settings.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ def copy(self):
8989
overrides = dspy_ctx_overrides.get()
9090
return dotdict({**main_thread_config, **overrides})
9191

92+
@property
93+
def config(self):
94+
config = self.copy()
95+
del config['lock']
96+
return config
97+
9298
# Configuration methods
9399

94100
def configure(self, return_token=False, **kwargs):

0 commit comments

Comments
 (0)