about summary refs log tree commit diff stats
path: root/archive/2025/summer/bsc_gerg/src/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'archive/2025/summer/bsc_gerg/src/utils.py')
-rw-r--r--archive/2025/summer/bsc_gerg/src/utils.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/archive/2025/summer/bsc_gerg/src/utils.py b/archive/2025/summer/bsc_gerg/src/utils.py
new file mode 100644
index 000000000..479760acc
--- /dev/null
+++ b/archive/2025/summer/bsc_gerg/src/utils.py
@@ -0,0 +1,9 @@
+from importlib import import_module
+
+__lazy_modules: dict = {}
+
+def lazy_module(module: str):
+    global __lazy_modules
+    if module not in __lazy_modules:
+        __lazy_modules[module] = import_module(module)
+    return __lazy_modules[module]
\ No newline at end of file