format
This commit is contained in:
parent
f42e8e4807
commit
841723103c
2 changed files with 0 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue