Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 220 for Python (0.35 sec)

  1. docs/em/docs/python-types.md

    🖼 ⚪️➡️ 🛂 Pydantic 🩺:
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011.py!}
        ```
    
    === "🐍 3️⃣.9️⃣ & 🔛"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011_py39.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011_py310.py!}
        ```
    
    !!! info
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  2. docs/en/docs/python-types.md

    === "Python 3.10+"
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/python_types/tutorial009_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial009.py!}
        ```
    
    === "Python 3.8+ alternative"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial009b.py!}
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  3. docs/vi/docs/python-types.md

    Một ví dụ từ tài liệu chính thức của Pydantic:
    
    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011.py!}
        ```
    
    !!! info
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  4. docs/uk/docs/python-types.md

    Приклад з документації Pydantic:
    
    === "Python 3.8 і вище"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011.py!}
        ```
    
    === "Python 3.9 і вище"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011_py39.py!}
        ```
    
    === "Python 3.10 і вище"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011_py310.py!}
        ```
    
    !!! info
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  5. docs/bn/docs/python-types.md

    অফিসিয়াল Pydantic ডক্স থেকে একটি উদাহরণ:
    
    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/python_types/tutorial011.py!}
        ```
    
    !!! Info
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Apr 03 15:34:37 GMT 2024
    - 36K bytes
    - Viewed (0)
  6. docs/tr/docs/python-types.md

    Diyelim ki  `name` değerine sahip `Person` sınıfınız var:
    
    ```Python hl_lines="1-3"
    {!../../../docs_src/python_types/tutorial010.py!}
    ```
    
    Sonra bir değişkeni 'Person' tipinde tanımlayabilirsiniz:
    
    ```Python hl_lines="6"
    {!../../../docs_src/python_types/tutorial010.py!}
    ```
    
    Ve yine bütün editör desteğini alırsınız:
    
    <img src="/img/python-types/image06.png">
    
    ## Pydantic modelleri
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  7. docs/en/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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/settings.md

        ```
    
        </div>
    
    ### Read env vars in Python
    
    You could also create environment variables outside of Python, in the terminal (or with any other method), and then read them in Python.
    
    For example you could have a file `main.py` with:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    !!! tip
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/sql-databases.md

    === "Python 3.10+"
    
        ```Python hl_lines="1  4-6  9-10  21-22  25-26"
        {!> ../../../docs_src/sql_databases/sql_app_py310/schemas.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="3  6-8  11-12  23-24  27-28"
        {!> ../../../docs_src/sql_databases/sql_app_py39/schemas.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="3  6-8  11-12  23-24  27-28"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  10. docs/uk/docs/alternatives.md

    Ось чому, як сказано на офіційному сайті:
    
    > Requests є одним із найбільш завантажуваних пакетів Python усіх часів
    
    Використовувати його дуже просто. Наприклад, щоб виконати запит `GET`, ви повинні написати:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    Відповідна операція *роуту* API FastAPI може виглядати так:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
         return {"message": "Hello World"}
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 38.2K bytes
    - Viewed (0)
Back to top