fmn.api.handlers.misc module¶
- async fmn.api.handlers.misc.get_artifacts(names: list[str] = Query([]), users: list[str] = Query([]), groups: list[str] = Query([]), distgit_proxy: PagureAsyncProxy = Depends(dependency=<functools._lru_cache_wrapper object>, use_cache=True, scope=None))[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