Update codex_loader.py

This commit is contained in:
blackboxprogramming
2025-08-08 12:51:57 -07:00
committed by GitHub
parent 53321c6c47
commit ff27a5711a

View File

@@ -1 +1,18 @@
print("Hello World") from __future__ import annotations
from importlib import import_module
from typing import Iterable
def ensure_modules(mod_paths: Iterable[str]) -> None:
"""
Import a list of modules to ensure class/function symbols are registered.
Example:
ensure_modules([
"codex.operator_definition",
"codex.truth_table",
])
"""
for path in mod_paths:
import_module(path)