Skip to main content

dependencies

FastAPI dependency providers for the activity domain.

Module

Functions

get_activity_repository

def get_activity_repository(    request: Request,)> ActivityRepository:

Return the activity repository bound to the app.

Arguments

  • request: The incoming request, used to reach app.state.

Returns The ActivityRepository stored on the app at creation time.