- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for light (0.06 sec)
-
docs/en/mkdocs.yml
palette: - media: '(prefers-color-scheme: light)' scheme: default primary: teal accent: amber toggle: icon: material/lightbulb name: Switch to dark mode - media: '(prefers-color-scheme: dark)' scheme: slate primary: teal accent: amber toggle: icon: material/lightbulb-outline name: Switch to light mode features: - search.suggest
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu May 02 22:37:31 UTC 2024 - 9.1K bytes - Viewed (0) -
docs/en/docs/how-to/async-sql-encode-databases.md
* MySQL * SQLite In this example, we'll use **SQLite**, because it uses a single file and Python has integrated support. So, you can copy this example and run it as is. Later, for your production application, you might want to use a database server like **PostgreSQL**. !!! tip
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 5.3K bytes - Viewed (0) -
docs/en/docs/advanced/dataclasses.md
This works the same way as with Pydantic models. And it is actually achieved in the same way underneath, using Pydantic. !!! info Keep in mind that dataclasses can't do everything Pydantic models can do. So, you might still need to use Pydantic models. But if you have a bunch of dataclasses laying around, this is a nice trick to use them to power a web API using FastAPI. 🤓 ## Dataclasses in `response_model`
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/en/overrides/main.html
</div> </div> <div id="announce-right" style="position: relative;"> <div class="item">
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu May 30 13:28:20 UTC 2024 - 5K bytes - Viewed (0) -
docs/en/docs/fastapi-cli.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Jun 12 23:39:50 UTC 2024 - 6.1K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
Some editors check for unused function parameters, and show them as errors. Using these `dependencies` in the *path operation decorator* you can make sure they are executed while avoiding editor/tooling errors. It might also help avoid confusion for new developers that see an unused parameter in your code and could think it's unnecessary. !!! info In this example we use invented custom headers `X-Key` and `X-Token`.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 23:43:13 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
```Python UserInDB( username="john", password="secret", email="******@****.***", full_name=None, ) ``` Or more exactly, using `user_dict` directly, with whatever contents it might have in the future: ```Python UserInDB( username = user_dict["username"], password = user_dict["password"], email = user_dict["email"], full_name = user_dict["full_name"], ) ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 7.7K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
And then, right after the `yield`, we unload the model. This code will be executed **after** the application **finishes handling requests**, right before the *shutdown*. This could, for example, release resources like memory or a GPU. !!! tip
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 7.8K bytes - Viewed (0) -
docs/en/docs/tutorial/background-tasks.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 23:43:13 UTC 2024 - 5.6K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
The benefit of raising an exception over `return`ing a value will be more evident in the section about Dependencies and Security.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 23:43:13 UTC 2024 - 9.1K bytes - Viewed (0)