Coverage for src/local_deep_research/database/models/base.py: 100%

2 statements  

« prev     ^ index     » next       coverage.py v7.15.1, created at 2026-07-20 01:24 +0000

1""" 

2Base model configuration for SQLAlchemy. 

3 

4The canonical ``Base`` now lives in the dependency-free ``database.base`` leaf so 

5that models in other top-level packages (e.g. ``domain_classifier.models``) can 

6import it without triggering the ``database.models`` package ``__init__`` — which 

7eagerly imports every model and would otherwise form an import cycle. This module 

8re-exports the same object, so ``from .base import Base`` throughout the models 

9package is unchanged and there is exactly one ``Base`` / one ``metadata``. 

10""" 

11 

12from ..base import Base 

13 

14__all__ = ["Base"]