- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for recommended (0.04 seconds)
-
docs/en/docs/how-to/graphql.md
## GraphQL with Strawberry { #graphql-with-strawberry } If you need or want to work with **GraphQL**, <a href="https://strawberry.rocks/" class="external-link" target="_blank">**Strawberry**</a> is the **recommended** library as it has the design closest to **FastAPI's** design, it's all based on **type annotations**.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 3.4K bytes - Click Count (0) -
docs/en/docs/release-notes.md
app = FastAPI(lifespan=lifespan) @app.get("/predict") async def predict(x: float): result = ml_models["answer_to_everything"](x) return {"result": result} ``` **Note**: This is the recommended way going forward, instead of using `startup` and `shutdown` events. Read more about it in the new docs: [Advanced User Guide: Lifespan Events](https://fastapi.tiangolo.com/advanced/events/). ### Docs
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 19:06:15 GMT 2025 - 586.7K bytes - Click Count (0)