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
refactor: replace global config reads with connection-scoped config
All internal code now reads configuration from self.connection._config
instead of the global config singleton. This ensures thread-safe mode
works correctly: each Instance's connection carries its own config,
and tables/schemas/jobs access it through the connection.
Changes across 9 files:
- schemas.py: safemode, create_tables default
- table.py: safemode in delete/drop, config passed to declare()
- expression.py: loglevel in __repr__
- preview.py: display.* settings via query_expression.connection._config
- autopopulate.py: jobs.allow_new_pk_fields, jobs.auto_refresh
- jobs.py: jobs.default_priority, stale_timeout, keep_completed
- declare.py: jobs.add_job_metadata (config param threaded through)
- diagram.py: display.diagram_direction (connection stored on instance)
- staged_insert.py: get_store_spec()
Removed unused `from .settings import config` imports from 7 modules.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments