from fastapi import FastAPI import os app = FastAPI() @app.get("/") def greet_json(): return {"Hello": os.environ.get("TEST", "failed.")}