Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 873 for Python3 (0.04 sec)

  1. docs/ko/docs/tutorial/extra-data-types.md

    ## 예시
    
    위의 몇몇 자료형을 매개변수로 사용하는 *경로 작동* 예시입니다.
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="1  3  12-16"
    {!> ../../docs_src/extra_data_types/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="1  3  12-16"
    {!> ../../docs_src/extra_data_types/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="1  3  13-17"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. docs/de/docs/tutorial/query-params-str-validations.md

    * `Annotated` von `typing` (oder von `typing_extensions` in Python unter 3.9)
    
    //// tab | Python 3.10+
    
    In Python 3.9 oder darüber, ist `Annotated` Teil der Standardbibliothek, also können Sie es von `typing` importieren.
    
    ```Python hl_lines="1  3"
    {!> ../../docs_src/query_params_str_validations/tutorial002_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    In Versionen unter Python 3.9 importieren Sie `Annotated` von `typing_extensions`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top