Reference
This reference documents every public symbol exported from quater.
Prerequisites
Use this section after reading Quickstart and Public API. The reference tells you exact names and defaults; the guides show how to design an app.
Public Imports
python
from quater import Quater, Request, JSONResponse, ResourcePublic symbols:
| Area | Symbols |
|---|---|
| Application | Quater, RouteGroup, AppConfig, CORSConfig, __version__ |
| Parameters | Path, Query, Body, Form, File, Header, Cookie |
| Request | Request, State, FormData, UploadFile |
| Resources | Resource |
| Responses | Response, JSONResponse, TextResponse, HTMLResponse, BytesResponse, StreamResponse, RedirectResponse, EmptyResponse |
| Auth | AuthRequest, AuthContext, ApprovalRequest, ActionApproval, HTTPError, ImproperlyConfigured, SignedCookieSigner |
| Observability | AccessLogEvent, AccessLogHook, ToolAuditEvent |
| Testing | TestClient, MCPTestClient, TestResponse |
Pages
- Application: app construction, route groups, CORS, and server-facing objects.
- Parameters: request binding markers.
- Request: request object, state, headers, query, cookies, and context.
- Resources: request-scoped injection.
- Responses: automatic return conversion and explicit responses.
- Auth and Security: auth hooks, approval hooks, errors, and signed cookies.
- Observability: access-log and MCP audit events.
- Testing: in-process HTTP and MCP test clients.
What Can Go Wrong
If a symbol does not appear here, do not treat it as public API. If application code needs an internal import, treat that as a design question before depending on it.
Also See
- Stability: import boundary rules during pre-release.
- Public API: human explanation before the reference.
- Quickstart: first working app.