You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: unify global config singleton and fix conn() persistence
- instance._global_config now reuses settings.config instead of creating
a duplicate Config object. This ensures dj.config["safemode"] = False
actually affects self.connection._config["safemode"] reads.
- schemas.py now uses _get_singleton_connection() from instance.py
instead of the old conn() from connection.py, eliminating the
duplicate singleton connection holder.
- dj.conn() now only creates a new connection when the singleton doesn't
exist or reset=True (not on every call with credentials).
- test_uppercase_schema: use prompt=False for drop() calls.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments