- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for got3 (0.38 sec)
-
docs/en/docs/alternatives.md
**FastAPI** is not actually an alternative to **Requests**. Their scope is very different. It would actually be common to use Requests *inside* of a FastAPI application. But still, FastAPI got quite some inspiration from Requests. **Requests** is a library to *interact* with APIs (as a client), while **FastAPI** is a library to *build* APIs (as a server).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 23.2K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
password = user_dict["password"], email = user_dict["email"], full_name = user_dict["full_name"], ) ``` #### A Pydantic model from the contents of another As in the example above we got `user_dict` from `user_in.dict()`, this code: ```Python user_dict = user_in.dict() UserInDB(**user_dict) ``` would be equivalent to: ```Python UserInDB(**user_in.dict()) ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.7K bytes - Viewed (1) -
docs/en/docs/advanced/events.md
!!! tip The `shutdown` would happen when you are **stopping** the application. Maybe you need to start a new version, or you just got tired of running it. 🤷 ### Lifespan function The first thing to notice, is that we are defining an async function with `yield`. This is very similar to Dependencies with `yield`. ```Python hl_lines="14-19"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 7.8K bytes - Viewed (0)