from fastapi import FastAPI, Depends from app import auth, user, server app = FastAPI() app.include_router(auth.router) app.include_router(user.router) app.include_router(server.router, dependencies=[Depends(auth.authorise)])