- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for Structures (0.22 sec)
-
docs/en/docs/advanced/dataclasses.md
This way, its schema will show up in the API docs user interface: <img src="/img/tutorial/dataclasses/image01.png"> ## Dataclasses in Nested Data Structures You can also combine `dataclasses` with other type annotations to make nested data structures. In some cases, you might still have to use Pydantic's version of `dataclasses`. For example, if you have errors with the automatically generated API documentation.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 4.1K bytes - Viewed (0) -
docs/fr/docs/python-types.md
* `int` * `float` * `bool` * `bytes` ```Python hl_lines="1" {!../../../docs_src/python_types/tutorial005.py!} ``` ### Types génériques avec des paramètres de types Il existe certaines structures de données qui contiennent d'autres valeurs, comme `dict`, `list`, `set` et `tuple`. Et les valeurs internes peuvent elles aussi avoir leurs propres types.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 10.3K bytes - Viewed (0) -
docs/en/docs/python-types.md
* `int` * `float` * `bool` * `bytes` ```Python hl_lines="1" {!../../../docs_src/python_types/tutorial005.py!} ``` ### Generic types with type parameters There are some data structures that can contain other values, like `dict`, `list`, `set` and `tuple`. And the internal values can have their own type too.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17K bytes - Viewed (0) -
docs/en/docs/features.md
* Because pydantic data structures are just instances of classes you define; auto-completion, linting, mypy and your intuition should all work properly with your validated data. * Validate **complex structures**: * Use of hierarchical Pydantic models, Python `typing`’s `List` and `Dict`, etc.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.3K bytes - Viewed (0) -
docs/fr/docs/features.md
* Parce que les structures de données de pydantic consistent seulement en une instance de classe que vous définissez; l'auto-complétion, le linting, mypy et votre intuition devrait être largement suffisante pour valider vos données. * Valide les **structures complexes**: * Utilise les modèles hiérarchique de Pydantic, le `typage` Python pour les `Lists`, `Dict`, etc.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.1K bytes - Viewed (0) -
docs/en/docs/tutorial/bigger-applications.md
**FastAPI** provides a convenience tool to structure your application while keeping all the flexibility. !!! info If you come from Flask, this would be the equivalent of Flask's Blueprints. ## An example file structure Let's say you have a file structure like this: ``` . ├── app │ ├── __init__.py │ ├── main.py │ ├── dependencies.py
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 18.6K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/global-dependencies.md
## Dependencies for groups of *path operations*
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 1.4K bytes - Viewed (0) -
docs/en/docs/tutorial/cookie-params.md
```Python hl_lines="3" {!> ../../../docs_src/cookie_params/tutorial001.py!} ``` ## Declare `Cookie` parameters Then declare the cookie parameters using the same structure as with `Path` and `Query`. The first value is the default value, you can pass all the extra validation or annotation parameters: === "Python 3.10+" ```Python hl_lines="9"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 2.4K bytes - Viewed (0) -
docs/en/docs/release-notes.md
* ✨ Update OpenAPI models, supporting recursive models and extensions. PR [#3628](https://github.com/tiangolo/fastapi/pull/3628) by [@tiangolo](https://github.com/tiangolo). * ✨ Import and re-export data structures from Starlette, used by Request properties, on `fastapi.datastructures`. Initial PR [#1872](https://github.com/tiangolo/fastapi/pull/1872) by [@jamescurtin](https://github.com/jamescurtin). ### Docs
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sun Apr 28 00:28:00 GMT 2024 - 385.5K bytes - Viewed (1) -
docs/en/docs/how-to/custom-docs-ui-assets.md
### Project file structure Let's say your project file structure looks like this: ``` . ├── app │ ├── __init__.py │ ├── main.py ``` Now create a directory to store those static files. Your new file structure could look like this: ``` . ├── app │ ├── __init__.py │ ├── main.py └── static/ ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Mon Oct 30 09:58:58 GMT 2023 - 7.5K bytes - Viewed (0)