learn-sql-model/learn_sql_model/api.py
2023-05-19 20:37:42 -05:00

13 lines
274 B
Python

from typing import Union
from fastapi import FastAPI
from learn_sql_model.models.hero import Hero
from learn_sql_model.models.pet import Pet
models = Union[Hero, Pet]
# from learn_sql_model.config import config
# from learn_sql_model.models import Hero
app = FastAPI()