basemode-loom 0.1.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,24 @@
1
+ """Persistent branching exploration for basemode."""
2
+
3
+ __all__ = [
4
+ "GenerationStore",
5
+ "LoomSession",
6
+ "Node",
7
+ "default_db_path",
8
+ ]
9
+
10
+
11
+ def __getattr__(name: str):
12
+ if name in {"GenerationStore", "Node", "default_db_path"}:
13
+ from .store import GenerationStore, Node, default_db_path
14
+
15
+ return {
16
+ "GenerationStore": GenerationStore,
17
+ "Node": Node,
18
+ "default_db_path": default_db_path,
19
+ }[name]
20
+ if name == "LoomSession":
21
+ from .session import LoomSession
22
+
23
+ return LoomSession
24
+ raise AttributeError(f"module {__name__!r} has no attribute {name!r}")