From 841723103cfcd8e8353f1beb653c5a2193f53cfb Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Fri, 1 Mar 2024 10:25:48 -0600 Subject: [PATCH] format --- sqlmodel_base/database.py | 1 - sqlmodel_base/hero/cli.py | 3 --- 2 files changed, 4 deletions(-) diff --git a/sqlmodel_base/database.py b/sqlmodel_base/database.py index 96e1617..13f8dbc 100644 --- a/sqlmodel_base/database.py +++ b/sqlmodel_base/database.py @@ -8,7 +8,6 @@ sqlite_url = f"sqlite:///{sqlite_file_name}" @lru_cache def get_engine(): - engine = create_engine(sqlite_url) SQLModel.metadata.create_all(engine) return engine diff --git a/sqlmodel_base/hero/cli.py b/sqlmodel_base/hero/cli.py index 123b337..784edef 100644 --- a/sqlmodel_base/hero/cli.py +++ b/sqlmodel_base/hero/cli.py @@ -1,4 +1,3 @@ - from rich.console import Console from sqlmodel_base.database import get_engine @@ -8,8 +7,6 @@ engine = get_engine() hero_app = Hero.cli console = Console() - - # @hero_app.callback() # def hero(): # "model cli"