chapps.rest.routers.emails module
Email record management implemented by factories
This module defines the management routes for Email records, and also the JoinAssoc
between Email and User tables.
It is implemented using factory functions from the common
module, in a nearly-identical way to the domains
module, just using Email
as the main data model.
- chapps.rest.routers.emails.api = <fastapi.routing.APIRouter object>
The Email object API router
- Parameters
scope (MutableMapping[str, Any]) –
receive (Callable[[], Awaitable[MutableMapping[str, Any]]]) –
send (Callable[[MutableMapping[str, Any]], Awaitable[None]]) –
- Return type
None
- chapps.rest.routers.emails.email_join_assoc = [JoinAssoc(Email, User, users, typing.List[int])]
List of join associations for Email objects