blob: 35f902cb0631d1402f87c476b42f6f4cbad4929d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
from app import app as flask_app
from fastapi import Body, FastAPI
from fastapi.middleware.wsgi import WSGIMiddleware
from pydantic import BaseModel
app = FastAPI(title="SaaS-in-a-Flask",description="Sample API", version="0.1")
from app import apis
app.mount("/", WSGIMiddleware(flask_app))
|