from fastapi import FastAPI app = FastAPI() @app.get("/items/") def read_items(): return ["plumbus", "portal gun"]