Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 834 for Python (0.34 sec)

  1. docs/de/docs/advanced/security/http-basic-auth.md

        * Es enthält den gesendeten `username` und das gesendete `password`.
    
    === "Python 3.9+"
    
        ```Python hl_lines="4  8  12"
        {!> ../../../docs_src/security/tutorial006_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="2  7  11"
        {!> ../../../docs_src/security/tutorial006_an.py!}
        ```
    
    === "Python 3.8+ nicht annotiert"
    
        !!! tip "Tipp"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:28:08 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/request-files.md

    === "Python 3.10+"
    
        ```Python hl_lines="9  17"
        {!> ../../../docs_src/request_files/tutorial001_02_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="9  17"
        {!> ../../../docs_src/request_files/tutorial001_02_an_py39.py!}
        ```
    
    === "Python 3.6+"
    
        ```Python hl_lines="10  18"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  3. docs/de/docs/how-to/separate-openapi-schemas.md

    === "Python 3.10+"
    
        ```Python hl_lines="19"
        {!> ../../../docs_src/separate_openapi_schemas/tutorial001_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="21"
        {!> ../../../docs_src/separate_openapi_schemas/tutorial001_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="21"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:18:03 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  4. docs/en/docs/how-to/separate-openapi-schemas.md

    But if you use the same model as an output, like here:
    
    === "Python 3.10+"
    
        ```Python hl_lines="19"
        {!> ../../../docs_src/separate_openapi_schemas/tutorial001_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="21"
        {!> ../../../docs_src/separate_openapi_schemas/tutorial001_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="21"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    === "Python 3.9+"
    
        ```Python hl_lines="15-16"
        {!> ../../../docs_src/dependencies/tutorial008c_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="14-15"
        {!> ../../../docs_src/dependencies/tutorial008c_an.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  6. 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)
  7. docs/en/docs/tutorial/body-multiple-params.md

    ```Python
    q: Union[str, None] = None
    ```
    
    Or in Python 3.10 and above:
    
    ```Python
    q: str | None = None
    ```
    
    For example:
    
    === "Python 3.10+"
    
        ```Python hl_lines="27"
        {!> ../../../docs_src/body_multiple_params/tutorial004_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="27"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body-fields.md

    ## Import `Field`
    
    First, you have to import it:
    
    === "Python 3.10+"
    
        ```Python hl_lines="4"
        {!> ../../../docs_src/body_fields/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="4"
        {!> ../../../docs_src/body_fields/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="4"
        {!> ../../../docs_src/body_fields/tutorial001_an.py!}
        ```
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/body-fields.md

    ## 导入 `Field`
    
    首先,从 Pydantic 中导入 `Field`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="4"
        {!> ../../../docs_src/body_fields/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="4"
        {!> ../../../docs_src/body_fields/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="4"
        {!> ../../../docs_src/body_fields/tutorial001_an.py!}
        ```
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Apr 01 05:35:27 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

        {!> ../../../docs_src/dependencies/tutorial006.py!}
        ```
    
    ### 오류 발생시키기
    
    다음 의존성은 기존 의존성과 동일하게 예외를 `raise`를 일으킬 수 있습니다:
    
    === "Python 3.9+"
    
        ```Python hl_lines="10  15"
        {!> ../../../docs_src/dependencies/tutorial006_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="9  14"
        {!> ../../../docs_src/dependencies/tutorial006_an.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Feb 11 13:49:45 GMT 2024
    - 4.7K bytes
    - Viewed (0)
Back to top