- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for aliases (0.35 sec)
-
docs/ru/docs/tutorial/dependencies/index.md
=== "Python 3.8+" ```Python hl_lines="15 19 24" {!> ../../../docs_src/dependencies/tutorial001_02_an.py!} ``` !!! tip "Подсказка" Это стандартный синтаксис python и называется "type alias", это не особенность **FastAPI**. Но потому что **FastAPI** базируется на стандартах Python, включая `Annotated`, вы можете использовать этот трюк в вашем коде. 😎
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17.7K bytes - Viewed (0) -
docs/es/docs/index.md
### Resumen En resumen, declaras los tipos de parámetros, body, etc. **una vez** como parámetros de la función. Lo haces con tipos modernos estándar de Python. No tienes que aprender una sintaxis nueva, los métodos o clases de una library específica, etc. Solo **Python** estándar. Por ejemplo, para un `int`: ```Python item_id: int ``` o para un modelo más complejo de `Item`: ```Python item: Item
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 19K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/index.md
``` === "Python 3.8+" ```Python hl_lines="15 19 24" {!> ../../../docs_src/dependencies/tutorial001_02_an.py!} ``` !!! tip This is just standard Python, it's called a "type alias", it's actually not specific to **FastAPI**. But because **FastAPI** is based on the Python standards, including `Annotated`, you can use this trick in your code. 😎
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.6K bytes - Viewed (0) -
docs/ko/docs/tutorial/dependencies/index.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13.6K bytes - Viewed (0)