You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
500 B
Python
20 lines
500 B
Python
from .__about__ import __version__
|
|
|
|
__all__ = [
|
|
"SystemModule",
|
|
"__version__",
|
|
"create_system_module",
|
|
]
|
|
|
|
|
|
def __getattr__(name: str):
|
|
if name in {"SystemModule", "create_system_module"}:
|
|
from .module import SystemModule, create_system_module
|
|
|
|
values = {
|
|
"SystemModule": SystemModule,
|
|
"create_system_module": create_system_module,
|
|
}
|
|
return values[name]
|
|
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|