- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 729 for Python (0.15 sec)
-
docs/pt/docs/python-types.md
Digamos que você tenha uma classe `Person`, com um nome: ```Python hl_lines="1 2 3" {!../../../docs_src/python_types/tutorial010.py!} ``` Então você pode declarar que uma variável é do tipo `Person`: ```Python hl_lines="6" {!../../../docs_src/python_types/tutorial010.py!} ``` E então, novamente, você recebe todo o suporte do editor: <img src="/img/python-types/image06.png"> ## Modelos Pydantic
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
Digamos que tienes una clase `Person`con un nombre: ```Python hl_lines="1-3" {!../../../docs_src/python_types/tutorial009.py!} ``` Entonces puedes declarar una variable que sea de tipo `Person`: ```Python hl_lines="6" {!../../../docs_src/python_types/tutorial009.py!} ``` Una vez más tendrás todo el soporte del editor: <img src="https://fastapi.tiangolo.com/img/python-types/image06.png"> ## Modelos de Pydantic
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) -
docs/fr/docs/python-types.md
```Python hl_lines="1-3" {!../../../docs_src/python_types/tutorial010.py!} ``` Vous pouvez ensuite déclarer une variable de type `Person` : ```Python hl_lines="6" {!../../../docs_src/python_types/tutorial010.py!} ``` Et vous aurez accès, encore une fois, au support complet offert par l'éditeur : <img src="/img/python-types/image06.png"> ## Les modèles Pydantic
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 10.3K bytes - Viewed (0) -
docs/ko/docs/python-types.md
하지만 슬프게도 아무런 도움이 되지 않습니다: <img src="/img/python-types/image01.png"> ### 타입 추가하기 이전 버전에서 한 줄만 수정해봅시다. 저희는 이 함수의 매개변수 부분: ```Python first_name, last_name ``` 을 아래와 같이 바꿀 겁니다: ```Python first_name: str, last_name: str ``` 이게 다입니다. 이게 "타입 힌트"입니다: ```Python hl_lines="1" {!../../../docs_src/python_types/tutorial002.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 10.5K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/classes-as-dependencies.md
=== "Python 3.10+" ```Python hl_lines="9" {!> ../../../docs_src/dependencies/tutorial001_an_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="11" {!> ../../../docs_src/dependencies/tutorial001_an_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="12" {!> ../../../docs_src/dependencies/tutorial001_an.py!}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:01:58 GMT 2024 - 12.3K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
* `Annotated` from `typing` (or from `typing_extensions` in Python below 3.9) === "Python 3.10+" In Python 3.9 or above, `Annotated` is part of the standard library, so you can import it from `typing`. ```Python hl_lines="1 3" {!> ../../../docs_src/query_params_str_validations/tutorial002_an_py310.py!} ``` === "Python 3.8+" In versions of Python below Python 3.9 you import `Annotated` from `typing_extensions`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 25.7K bytes - Viewed (0) -
docs/de/docs/advanced/settings.md
``` </div> ### Umgebungsvariablen mit Python auslesen Sie können Umgebungsvariablen auch außerhalb von Python im Terminal (oder mit einer anderen Methode) erstellen und diese dann mit Python auslesen. Sie könnten zum Beispiel eine Datei `main.py` haben mit: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` !!! tip "Tipp"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:17:14 GMT 2024 - 17.8K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
For example, we can define an `Image` model: === "Python 3.10+" ```Python hl_lines="7-9" {!> ../../../docs_src/body_nested_models/tutorial004_py310.py!} ``` === "Python 3.9+" ```Python hl_lines="9-11" {!> ../../../docs_src/body_nested_models/tutorial004_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="9-11"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.5K bytes - Viewed (0) -
docs/en/docs/tutorial/request-files.md
=== "Python 3.9+" ```Python hl_lines="9" {!> ../../../docs_src/request_files/tutorial001_an_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="8" {!> ../../../docs_src/request_files/tutorial001_an.py!} ``` === "Python 3.8+ non-Annotated" !!! tip Prefer to use the `Annotated` version if possible. ```Python hl_lines="7" {!> ../../../docs_src/request_files/tutorial001.py!}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 10.2K bytes - Viewed (0) -
docs/de/docs/tutorial/body-multiple-params.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Jan 29 17:32:43 GMT 2024 - 8.3K bytes - Viewed (0)