Spaces:
Running
Running
Download _testvendor/fastapi/__init__.py from basyx/MediaRouter: direct link, hf CLI and curl.
- Browser
- Download file 677 Bytes
-
https://huggingface.co/spaces/basyx/MediaRouter/resolve/main/_testvendor/fastapi/__init__.py
- Command line
-
hf download hf://spaces/basyx/MediaRouter/_testvendor/fastapi/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/basyx/MediaRouter/resolve/main/_testvendor/fastapi/__init__.py
677 Bytes
| 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 | |