create fastapi
This commit is contained in:
parent
a21dbb08d4
commit
f42e8e4807
6 changed files with 40 additions and 43 deletions
|
|
@ -1,12 +1,8 @@
|
|||
import json
|
||||
|
||||
import typer
|
||||
from iterfzf import iterfzf
|
||||
from rich.console import Console
|
||||
|
||||
from sqlmodel_base.database import get_engine
|
||||
from sqlmodel_base.hero.models import Hero
|
||||
from sqlmodel_base.team.models import Team
|
||||
|
||||
engine = get_engine()
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
from typing import Optional
|
||||
|
||||
from pydantic import BaseModel, validator
|
||||
from pydantic import validator
|
||||
from rich.console import Console
|
||||
from sqlalchemy import func
|
||||
from sqlmodel import Field, Session, SQLModel, create_engine, select
|
||||
from sqlmodel import Field
|
||||
|
||||
from sqlmodel_base.base import Base
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue