Files

16 lines
452 B
Python
Raw Permalink Normal View History

from __future__ import annotations
__all__ = ["StepEditorWindow", "StepModel", "main"]
2026-07-29 15:43:28 +08:00
def __getattr__(name: str):
if name == "StepModel":
from .model import StepModel
return StepModel
2026-07-29 15:43:28 +08:00
if name in {"StepEditorWindow", "main"}:
from .app import StepEditorWindow, main
return {"StepEditorWindow": StepEditorWindow, "main": main}[name]
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")