chapps.rest.routers.quotas module
Quota record management implemented by factories
This module defines the API router for Quota record manipulation,
and defines the JoinAssoc
which describes the relationship between
Quota and User tables.
Implementation of Quota routes is a little simpler than for other models because some functionality is intentionally excluded. It is expected that a large number of users might share the same Quota record, therefore it is not supported to retrieve the User records associated with a Quota object.
- chapps.rest.routers.quotas.api = <fastapi.routing.APIRouter object>
The Quota record management API router
- Parameters
scope (MutableMapping[str, Any]) –
receive (Callable[[], Awaitable[MutableMapping[str, Any]]]) –
send (Callable[[MutableMapping[str, Any]], Awaitable[None]]) –
- Return type
None