From ed3a776bdead8b3482ccd402e4104d06516d761d Mon Sep 17 00:00:00 2001 From: Brian Wiborg Date: Wed, 1 Oct 2025 22:04:30 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20More=20inline=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ohmyapi/core/runtime.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ohmyapi/core/runtime.py b/src/ohmyapi/core/runtime.py index fdb811a..6778024 100644 --- a/src/ohmyapi/core/runtime.py +++ b/src/ohmyapi/core/runtime.py @@ -121,6 +121,12 @@ class Project: def build_aerich_command( self, app_label: str, db_url: Optional[str] = None ) -> AerichCommand: + """ + Build Aerich command for app with given app_label. + + Aerich needs to see only the app of interest, but with the extra model + "aerich.models". + """ if app_label not in self._apps: raise RuntimeError(f"App '{app_label}' is not registered")