Skip to content

Commit afd0e87

Browse files
committed
Create __initi__.py
1 parent cd6c01f commit afd0e87

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed
13 KB
Loading
7.9 KB
Loading

src/dashboard/__init__.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
"""
2-
Dashboard package initializer.
2+
Dashboard package exports.
33
4-
Re-exports commonly-used items so tests can do:
5-
from dashboard import ModelWrapper, find_model
4+
Re-export selected symbols for convenient imports like:
5+
from dashboard import ModelWrapper, find_model, REPORTS_EXPLAIN_DIR
66
"""
77

8-
from .predict import REPORTS_EXPLAIN_DIR, ModelWrapper, find_model # noqa: F401
8+
from .predict import (
9+
REPORTS_EXPLAIN_DIR as REPORTS_EXPLAIN_DIR, # explicit re-exports to satisfy Ruff F401
10+
)
11+
from .predict import ModelWrapper as ModelWrapper
12+
from .predict import find_model as find_model
13+
14+
__all__ = ["REPORTS_EXPLAIN_DIR", "ModelWrapper", "find_model"]

0 commit comments

Comments
 (0)