Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 874 for python3 (0.05 sec)

  1. docs/em/docs/tutorial/extra-models.md

    , ๐Ÿšฅ ๐Ÿ‘ฅ โœ Pydantic ๐ŸŽš `user_in` ๐Ÿ’–:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    & โคด๏ธ ๐Ÿ‘ฅ ๐Ÿค™:
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    ๐Ÿ‘ฅ ๐Ÿ”œ โœ”๏ธ `dict` โฎ๏ธ ๐Ÿ’ฝ ๐Ÿ”ข `user_dict` (โšซ๏ธ `dict` โ†ฉ๏ธ Pydantic ๐Ÿท ๐ŸŽš).
    
    & ๐Ÿšฅ ๐Ÿ‘ฅ ๐Ÿค™:
    
    ```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)
  2. 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)
  3. docs/ko/docs/tutorial/path-operation-configuration.md

    ```Python hl_lines="17  22  27"
    {!../../docs_src/path_operation_configuration/tutorial002.py!}
    ```
    
    ์ „๋‹ฌ๋œ ํƒœ๊ทธ๋“ค์€ OpenAPI์˜ ์Šคํ‚ค๋งˆ์— ์ถ”๊ฐ€๋˜๋ฉฐ, ์ž๋™ ๋ฌธ์„œ ์ธํ„ฐํŽ˜์ด์Šค์—์„œ ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค:
    
    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ## ์š”์•ฝ๊ณผ ๊ธฐ์ˆ 
    
    `summary`์™€ `description`์„ ์ถ”๊ฐ€ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:
    
    ```Python hl_lines="20-21"
    {!../../docs_src/path_operation_configuration/tutorial003.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/query-params.md

    ะะฝะฐะปะพะณะธั‡ะฝะพ, ะฒั‹ ะผะพะถะตั‚ะต ะพะฑัŠัะฒะปัั‚ัŒ ะฝะตะพะฑัะทะฐั‚ะตะปัŒะฝั‹ะต query-ะฟะฐั€ะฐะผะตั‚ั€ั‹, ัƒัั‚ะฐะฝะพะฒะธะฒ ะธั… ะทะฝะฐั‡ะตะฝะธะต ะฟะพ ัƒะผะพะปั‡ะฐะฝะธัŽ, ั€ะฐะฒะฝะพะต `None`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="7"
    {!> ../../docs_src/query_params/tutorial002_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="9"
    {!> ../../docs_src/query_params/tutorial002.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)
  5. 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)
  6. docs/en/docs/index.md

    You do that with standard modern Python types.
    
    You don't have to learn a new syntax, the methods or classes of a specific library, etc.
    
    Just standard **Python**.
    
    For example, for an `int`:
    
    ```Python
    item_id: int
    ```
    
    or for a more complex `Item` model:
    
    ```Python
    item: Item
    ```
    
    ...and with that single declaration you get:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/debugging.md

    ```Python
    from myapp import app
    ```
    
    #### More details
    
    Let's say your file is named `myapp.py`.
    
    If you run it with:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    then the internal variable `__name__` in your file, created automatically by Python, will have as value the string `"__main__"`.
    
    So, the section:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. docs/em/docs/advanced/path-operation-advanced-configuration.md

    ๐Ÿ‘† ๐Ÿ”œ โœ”๏ธ โš’ ๐Ÿ’ญ ๐Ÿ‘ˆ โšซ๏ธ ๐Ÿ˜ ๐Ÿ”  ๐Ÿ› ๏ธ.
    
    ```Python hl_lines="6"
    {!../../docs_src/path_operation_advanced_configuration/tutorial001.py!}
    ```
    
    ### โš™๏ธ *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข* ๐Ÿ“› {
    
    ๐Ÿšฅ ๐Ÿ‘† ๐Ÿ’š โš™๏ธ ๐Ÿ‘† ๐Ÿ”—' ๐Ÿ”ข ๐Ÿ“› `operationId`โ“‚, ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ” ๐Ÿคญ ๐ŸŒ ๐Ÿ‘ซ &amp; ๐Ÿ” ๐Ÿ”  *โžก ๐Ÿ› ๏ธ* `operation_id` โš™๏ธ ๐Ÿ‘ซ `APIRoute.name`.
    
    ๐Ÿ‘† ๐Ÿ”œ โšซ๏ธ โฎ๏ธ โŽ ๐ŸŒ ๐Ÿ‘† *โžก ๐Ÿ› ๏ธ*.
    
    ```Python hl_lines="2  12-21  24"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/request-forms.md

    //// tab | Python 3.9+
    
    ```Python hl_lines="3"
    {!> ../../docs_src/request_forms/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/request_forms/tutorial001_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="1"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/middleware.md

    ```Python hl_lines="2  6"
    {!../../docs_src/advanced_middleware/tutorial001.py!}
    ```
    
    ## `TrustedHostMiddleware`
    
    Erzwingt, dass alle eingehenden Requests einen korrekt gesetzten `Host`-Header haben, um sich vor HTTP-Host-Header-Angriffen zu schรผtzen.
    
    ```Python hl_lines="2  6-8"
    {!../../docs_src/advanced_middleware/tutorial002.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top