- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 873 for Pythona (0.09 sec)
-
docs/pt/docs/tutorial/handling-errors.md
### Import `HTTPException` ```Python hl_lines="1" {!../../docs_src/handling_errors/tutorial001.py!} ``` ### Lance o `HTTPException` no seu código. `HTTPException`, ao fundo, nada mais é do que a conjunção entre uma exceção comum do Python e informações adicionais relevantes para APIs. E porque é uma exceção do Python, você não **retorna** (return) o `HTTPException`, você lança o (raise) no seu código.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10K bytes - Viewed (0) -
docs/tr/docs/index.md
Bu işlemi standart modern Python tipleriyle yapıyoruz. Yeni bir sözdizimi yapısını, bir kütüphane özel metod veya sınıfları öğrenmeye gerek yoktur. Hepsi sadece **Python** standartlarına dayalıdır. Örnek olarak, `int` tanımlamak için: ```Python item_id: int ``` ya da daha kompleks herhangi bir python modelini tanımlayabiliriz, örneğin `Item` modeli için: ```Python
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 16 16:50:01 UTC 2024 - 21.9K bytes - Viewed (0) -
docs/ru/docs/tutorial/body-nested-models.md
//// tab | Python 3.10+ ```Python hl_lines="12" {!> ../../docs_src/body_nested_models/tutorial003_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="14" {!> ../../docs_src/body_nested_models/tutorial003_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="1 14" {!> ../../docs_src/body_nested_models/tutorial003.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14.8K bytes - Viewed (0) -
docs/de/docs/tutorial/body.md
Verwenden Sie Standard-Python-Typen für die Klassenattribute: //// tab | Python 3.10+ ```Python hl_lines="5-9" {!> ../../docs_src/body/tutorial001_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="7-11" {!> ../../docs_src/body/tutorial001.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8K bytes - Viewed (0) -
docs/zh/docs/tutorial/body.md
从 `pydantic` 中导入 `BaseModel`: //// tab | Python 3.10+ ```Python hl_lines="2" {!> ../../docs_src/body/tutorial001_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="4" {!> ../../docs_src/body/tutorial001.py!} ``` //// ## 创建数据模型 把数据模型声明为继承 `BaseModel` 的类。 使用 Python 标准类型声明所有属性: //// tab | Python 3.10+ ```Python hl_lines="5-9"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.4K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
For example, we can define an `Image` model: //// tab | Python 3.10+ ```Python hl_lines="7-9" {!> ../../docs_src/body_nested_models/tutorial004_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="9-11" {!> ../../docs_src/body_nested_models/tutorial004_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="9-11"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.4K bytes - Viewed (0) -
docs/de/docs/tutorial/security/get-current-user.md
//// tab | Python 3.10+ ```Python hl_lines="25" {!> ../../docs_src/security/tutorial002_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="25" {!> ../../docs_src/security/tutorial002_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="26" {!> ../../docs_src/security/tutorial002_an.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.3K bytes - Viewed (0) -
docs/en/docs/virtual-environments.md
<div class="termy"> ```console $ which python /home/user/code/awesome-project/.venv/bin/python ``` </div> If it shows the `python` binary at `.venv/bin/python`, inside of your project (in this case `awesome-project`), then it worked. 🎉 //// //// tab | Windows PowerShell <div class="termy"> ```console $ Get-Command python
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 24 03:16:23 UTC 2024 - 21.7K bytes - Viewed (0) -
docs/ko/docs/tutorial/body-fields.md
## `Field` 임포트 먼저 이를 임포트해야 합니다: //// tab | Python 3.10+ ```Python hl_lines="4" {!> ../../docs_src/body_fields/tutorial001_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="4" {!> ../../docs_src/body_fields/tutorial001_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="4" {!> ../../docs_src/body_fields/tutorial001_an.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.2K bytes - Viewed (0) -
docs/en/docs/tutorial/security/get-current-user.md
``` //// //// tab | Python 3.9+ ```Python hl_lines="5 12-16" {!> ../../docs_src/security/tutorial002_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="5 13-17" {!> ../../docs_src/security/tutorial002_an.py!} ``` //// //// tab | Python 3.10+ non-Annotated /// tip Prefer to use the `Annotated` version if possible. /// ```Python hl_lines="3 10-14"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.4K bytes - Viewed (0)