about summary refs log tree commit diff stats
path: root/archive/2025/summer/bsc_gerg/src/utils.py
diff options
context:
space:
mode:
authorJonas Gerg <joniogerg@gmail.com>2025-09-09 20:06:52 +0200
committerJonas Gerg <joniogerg@gmail.com>2025-09-09 20:06:52 +0200
commit3e5d3ca82193e8e8561beb9ceac9982f376d84e2 (patch)
tree76e4c260123b68b93da2417482024ba11f9838ee /archive/2025/summer/bsc_gerg/src/utils.py
parenta910d0a3e57f4de47cf2387ac239ae8d0eaca507 (diff)
downloadresearch-work-archive-artifacts-3e5d3ca82193e8e8561beb9ceac9982f376d84e2.tar.gz
research-work-archive-artifacts-3e5d3ca82193e8e8561beb9ceac9982f376d84e2.zip
Add bsc_gerg
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