azurefunctions-extensions-http-fastapi/azurefunctions/extensions/http/fastapi/__init__.py (28 lines of code) (raw):
from fastapi import Request, Response
from fastapi.responses import (
FileResponse,
HTMLResponse,
JSONResponse,
ORJSONResponse,
PlainTextResponse,
RedirectResponse,
StreamingResponse,
UJSONResponse,
)
from .web import RequestSynchronizer, WebApp, WebServer
__all__ = [
"WebServer",
"WebApp",
"Request",
"Response",
"RequestSynchronizer",
"StreamingResponse",
"HTMLResponse",
"PlainTextResponse",
"RedirectResponse",
"JSONResponse",
"UJSONResponse",
"ORJSONResponse",
"FileResponse",
]
__version__ = '1.0.0b2'