- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for declare (0.13 sec)
-
docs/en/docs/python-types.md
```Python hl_lines="2" {!../../../docs_src/python_types/tutorial004.py!} ``` ## Declaring types You just saw the main place to declare type hints. As function parameters. This is also the main place you would use them with **FastAPI**. ### Simple types You can declare all the standard Python types, not only `str`. You can use, for example: * `int` * `float` * `bool` * `bytes`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17K bytes - Viewed (0) -
docs/pt/docs/python-types.md
# Introdução aos tipos Python **Python 3.6 +** tem suporte para "type hints" opcionais. Esses **"type hints"** são uma nova sintaxe (desde Python 3.6+) que permite declarar o <abbr title = "por exemplo: str, int, float, bool"> tipo </abbr> de uma variável. Ao declarar tipos para suas variáveis, editores e ferramentas podem oferecer um melhor suporte.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.6K bytes - Viewed (0) -
docs/es/docs/python-types.md
{!../../../docs_src/python_types/tutorial004.py!} ``` ## Declarando tipos Acabas de ver el lugar principal para declarar los type hints. Como parámetros de las funciones. Este es también el lugar principal en que los usarías con **FastAPI**. ### Tipos simples Puedes declarar todos los tipos estándar de Python, no solamente `str`. Por ejemplo, puedes usar: * `int` * `float` * `bool`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.2K bytes - Viewed (0)