app = FastAPI() @app.get( "/" ) def root( ... ): return {"greeting": "Hello world"} app.include_router( events.router, prefix="/events".
確定! 回上一頁