API Reference#
The public API documented below is accessible through fr, including
submodules such as fr.views and
fr.objects. Using fr. is the recommended
convention:
import fastapi_restly as fr
Module reference#
Module |
Contents |
|---|---|
Names exported directly by the package, linked to their definitions in the submodules. |
|
View classes, route decorators, registration, CRUD methods, and action hooks. |
|
Pydantic bases, field markers, a field type and a function for times in UTC, relationship references, and schema generation. |
|
Defaults for your declarative base, and mixins for IDs and timestamps. |
|
Configuration, session dependencies, session context managers, and engine access. |
|
Reusable query predicates, boolean composition, and request context values. |
|
The list params (filter, sort, and pagination), how to apply them to SQLAlchemy queries, and the tools for list params of your own: their keys, their page fields and the primary key as the last sort term. |
|
Functions for building, updating, saving, and deleting ORM objects through a session. |
|
Configuration errors, HTTP errors, and warnings. |
|
Database test setup and synchronous and asynchronous test clients. |
Reference pages#
Modules documents every module, with complete signatures.
View Reference lists everything you can set, override, or call on a view, on one page.
Changelog lists the changes in each release.