1 parent 967a6fd commit 7105be2Copy full SHA for 7105be2
1 file changed
src/nns/__init__.py
@@ -4,7 +4,7 @@
4
5
from nns.pm_matrix import pm_matrix as pm_matrix
6
7
-__version__ = "1.4.0"
+__version__ = "1.5.0"
8
9
_EXPORTS = {
10
"BoostResult": ("nns.boost", "BoostResult"),
@@ -78,16 +78,3 @@
78
"upm_var": ("nns.var", "upm_var"),
79
"var_pm": ("nns.classical", "var_pm"),
80
}
81
-
82
-__all__ = sorted((*_EXPORTS, "pm_matrix"))
83
84
85
-def __getattr__(name: str) -> Any:
86
- if name not in _EXPORTS:
87
- raise AttributeError(f"module 'nns' has no attribute {name!r}")
88
- module_name, attr_name = _EXPORTS[name]
89
- from importlib import import_module
90
91
- value = getattr(import_module(module_name), attr_name)
92
- globals()[name] = value
93
- return value
0 commit comments