mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
Cut the docstrings back to the one paragraph the surrounding migrations use, and drop the comments that restate the index name next to them. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
9 lines
259 B
Python
9 lines
259 B
Python
import importlib
|
|
import pkgutil
|
|
|
|
|
|
def load_all_models() -> None:
|
|
"""Import every module under `models/` so `BaseModel.metadata` is complete."""
|
|
for module in pkgutil.iter_modules(__path__):
|
|
importlib.import_module(f"{__name__}.{module.name}")
|