Spaces:
Sleeping
Sleeping
File size: 677 Bytes
4d9c047 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | class FastAPI:
def __init__(self, *a, **k): ...
def include_router(self, *a, **k): ...
def mount(self, *a, **k): ...
@property
def routes(self): return []
class HTTPException(Exception):
def __init__(self, status_code=500, detail=None, headers=None):
self.status_code = status_code; self.detail = detail; self.headers = headers
class RequestValidationError(Exception): ...
from starlette.responses import JSONResponse, ORJSONResponse
from pydantic import BaseModel
def Depends(dependency=None): ...
def Header(...): ...
def Path(...): ...
def Query(...): ...
def Request(...): ...
def Response(...): ...
def status(...): ...
APIRouter = FastAPI
|