Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 873 for Python (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. docs/em/docs/tutorial/extra-models.md

    , 🚥 👥 ✍ Pydantic 🎚 `user_in` 💖:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    &amp; ⤴️ 👥 🤙:
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    👥 🔜 ✔️ `dict` ⏮️ 💽 🔢 `user_dict` (⚫️ `dict` ↩️ Pydantic 🏷 🎚).
    
    &amp; 🚥 👥 🤙:
    
    ```Python
    print(user_dict)
    ```
    
    👥 🔜 🤚 🐍 `dict` ⏮️:
    
    ```Python
    {
        'username': 'john',
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. tensorflow/__init__.py

    # module.
    
    # pylint: disable=g-bad-import-order
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
    
    from tensorflow.python.platform import flags  # pylint: disable=g-import-not-at-top
    from tensorflow.python.platform import app  # pylint: disable=g-import-not-at-top
    app.flags = flags
    
    # These symbols appear because we import the python package which
    # in turn imports from tensorflow.core and tensorflow.python. They
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 1.4K bytes
    - Viewed (0)
Back to top