mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Renaming of symbols. Functions, variables, values, DB values, etc. Basically everything that is not user-facing. This only covers "Trusted User" things: tests, comments, etc. will covered in a following commit.
35 lines
538 B
Python
35 lines
538 B
Python
"""
|
|
API routers for FastAPI.
|
|
|
|
See https://fastapi.tiangolo.com/tutorial/bigger-applications/
|
|
"""
|
|
from . import (
|
|
accounts,
|
|
auth,
|
|
html,
|
|
package_maintainer,
|
|
packages,
|
|
pkgbase,
|
|
requests,
|
|
rpc,
|
|
rss,
|
|
sso,
|
|
)
|
|
|
|
"""
|
|
aurweb application routes. This constant can be any iterable
|
|
and each element must have a .router attribute which points
|
|
to a fastapi.APIRouter.
|
|
"""
|
|
APP_ROUTES = [
|
|
accounts,
|
|
auth,
|
|
html,
|
|
packages,
|
|
pkgbase,
|
|
requests,
|
|
package_maintainer,
|
|
rss,
|
|
rpc,
|
|
sso,
|
|
]
|