From 0ec26895c04f42ef6f38ea19e38b37bbebffef09 Mon Sep 17 00:00:00 2001 From: Brian Wiborg Date: Sat, 27 Sep 2025 17:00:53 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Make=20asyncio=20available=20in?= =?UTF-8?q?=20shell=20automatically?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ohmyapi/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ohmyapi/cli.py b/src/ohmyapi/cli.py index 38d8fcc..eb8df12 100644 --- a/src/ohmyapi/cli.py +++ b/src/ohmyapi/cli.py @@ -49,6 +49,7 @@ def shell(root: str = "."): from IPython import start_ipython shell_vars = { "p": project, + "asyncio": asyncio, } from traitlets.config.loader import Config c = Config() @@ -103,7 +104,6 @@ def createsuperuser(root: str = "."): print("Auth app not installed! Please add 'ohmyapi_auth' to your INSTALLED_APPS.") return - import asyncio import ohmyapi_auth email = input("E-Mail: ") username = input("Username: ")