We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b929627 commit ba637d5Copy full SHA for ba637d5
docs/design/thread-safe-mode.md
@@ -153,8 +153,8 @@ Mouse().insert(...) # Uses schema.connection.config for settings
153
- `Schema.__init__`: Raise `ThreadSafetyError` when `connection=None` and `thread_safe=True`
154
155
### 3. Add conn.config to all connections
156
-- `dj.conn()`: Set `conn.config = dj.config` (same object for backward compatibility)
157
-- `dj.Connection(...)`: Set `self.config = copy(dj.config)` (independent copy)
+- `Connection.__init__`: Always creates `self.config = copy(dj.config)` (independent copy)
+- `dj.conn()`: After connection creation, overrides `conn.config = dj.config` (same object for backward compatibility)
158
159
### 4. Refactor internal code to use conn.config
160
0 commit comments