fmn.api.handlers.misc module

fmn.api.handlers.misc.get_applications()[source]
async fmn.api.handlers.misc.get_artifacts(names: list[str] = Query([]), users: list[str] = Query([]), groups: list[str] = Query([]), distgit_proxy: PagureAsyncProxy = Depends(get_distgit_proxy))[source]

This handler queries artifacts from Pagure

Proxying Pagure queries lets the API cache results to reduce load on the backend service.

Parameters:
  • names – Name patterns of artifacts which should be returned

  • users – Names of users whose artifacts should be returned

  • groups – Names of groups whose artifacts should be returned

async fmn.api.handlers.misc.liveness_check()[source]
async fmn.api.handlers.misc.readiness_check(db_session: AsyncSession = Depends(gen_db_session))[source]