blob: 9a2da2933c2a6afd41b2e00a8339e38060a41845 (
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))
|