Spaces:
Running
Running
| class FastAPI: | |
| def __init__(self, *a, **k): ... | |
| def include_router(self, *a, **k): ... | |
| def mount(self, *a, **k): ... | |
| 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 | |