Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for Key (0.25 sec)

  1. docs/fr/docs/advanced/additional-responses.md

    ```Python
    old_dict = {
        "old key": "old value",
        "second old key": "second old value",
    }
    new_dict = {**old_dict, "new key": "new value"}
    ```
    
    Ici, `new_dict` contiendra toutes les paires clรฉ-valeur de `old_dict` plus la nouvelle paire clรฉ-valeurย :
    
    ```Python
    {
        "old key": "old value",
        "second old key": "second old value",
        "new key": "new value",
    }
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/openapi-callbacks.md

    * Der *Pfad* kann einen <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#key-expression" class="external-link" target="_blank">OpenAPI-3-Ausdruck</a> enthalten (mehr dazu weiter unten), wo er Variablen mit Parametern und Teilen des ursprรผnglichen Requests verwenden kann, der an *Ihre API* gesendet wurde.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:23 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    !!! tip
        ๐Ÿ‘จโ€๐ŸŽจ โœ… โ™ป ๐Ÿ”ข ๐Ÿ”ข, &amp; ๐ŸŽฆ ๐Ÿ‘ซ โŒ.
    
        โš™๏ธ ๐Ÿ‘‰ `dependencies` *โžก ๐Ÿ› ๏ธ ๐Ÿ‘จโ€๐ŸŽจ* ๐Ÿ‘† ๐Ÿ’ช โš’ ๐Ÿ’ญ ๐Ÿ‘ซ ๐Ÿ› ๏ธ โช โŽ ๐Ÿ‘จโ€๐ŸŽจ/๐Ÿญ โŒ.
    
        โšซ๏ธ ๐Ÿ’ช โ„น โŽ ๐Ÿ˜จ ๐Ÿ†• ๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿ‘ˆ ๐Ÿ‘€ โ™ป ๐Ÿ”ข ๐Ÿ‘† ๐Ÿ“Ÿ &amp; ๐Ÿ’ช ๐Ÿ’ญ โšซ๏ธ ๐Ÿ™ƒ.
    
    !!! info
        ๐Ÿ‘‰ ๐Ÿ–ผ ๐Ÿ‘ฅ โš™๏ธ ๐Ÿ’ญ ๐Ÿ›ƒ ๐ŸŽš `X-Key` &amp; `X-Token`.
    
        โœ‹๏ธ ๐ŸŽฐ ๐Ÿ’ผ, ๐Ÿ•โ” ๐Ÿ› ๏ธ ๐Ÿ’‚โ€โ™‚, ๐Ÿ‘† ๐Ÿ”œ ๐Ÿคš ๐ŸŒ– ๐Ÿ’ฐ โšช๏ธโžก๏ธ โš™๏ธ ๐Ÿ› ๏ธ [๐Ÿ’‚โ€โ™‚ ๐Ÿš™ (โญ ๐Ÿ“ƒ)](../security/index.md){.internal-link target=_blank}.
    
    ## ๐Ÿ”— โŒ &amp; ๐Ÿ“จ ๐Ÿ’ฒ
    
    ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ ๐ŸŽ ๐Ÿ”— *๐Ÿ”ข* ๐Ÿ‘† โš™๏ธ ๐Ÿ›Ž.
    
    ### ๐Ÿ”— ๐Ÿ“„
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/openapi-callbacks.md

    *  *โžก* ๐Ÿ’ช ๐Ÿ”Œ <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#key-expression" class="external-link" target="_blank">๐Ÿ—„ 3๏ธโƒฃ ๐Ÿงฌ</a> (๐Ÿ‘€ ๐ŸŒ– ๐Ÿ”›) ๐ŸŒโ” โšซ๏ธ ๐Ÿ’ช โš™๏ธ ๐Ÿ”ข โฎ๏ธ ๐Ÿ”ข &amp; ๐Ÿ• โฎ๏ธ ๐Ÿ“จ ๐Ÿ“จ *๐Ÿ‘† ๐Ÿ› ๏ธ*.
    
    ### โฒ โžก ๐Ÿงฌ
    
    โฒ *โžก* ๐Ÿ’ช โœ”๏ธ <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#key-expression" class="external-link" target="_blank">๐Ÿ—„ 3๏ธโƒฃ ๐Ÿงฌ</a> ๐Ÿ‘ˆ ๐Ÿ’ช ๐Ÿ”Œ ๐Ÿ• โฎ๏ธ ๐Ÿ“จ ๐Ÿ“จ *๐Ÿ‘† ๐Ÿ› ๏ธ*.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

        *๊ฒฝ๋กœ ์ž‘๋™ ๋ฐ์ฝ”๋ ˆ์ดํ„ฐ*์—์„œ `dependencies`๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ํŽธ์ง‘๊ธฐ/๋„๊ตฌ ์˜ค๋ฅ˜๋ฅผ ํ”ผํ•˜๋ฉฐ ์‹คํ–‰๋˜๋„๋ก ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
        ๋˜ํ•œ ์ฝ”๋“œ์—์„œ ์‚ฌ์šฉ๋˜์ง€ ์•Š๋Š” ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ๋ณด๊ณ  ๋ถˆํ•„์š”ํ•˜๋‹ค๊ณ  ์ƒ๊ฐํ•  ์ˆ˜ ์žˆ๋Š” ์ƒˆ๋กœ์šด ๊ฐœ๋ฐœ์ž์˜ ํ˜ผ๋ž€์„ ๋ฐฉ์ง€ํ•˜๋Š”๋ฐ ๋„์›€์ด ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    !!! info "์ •๋ณด"
        ์ด ์˜ˆ์‹œ์—์„œ `X-Key`์™€ `X-Token`์ด๋ผ๋Š” ์ปค์Šคํ…€ ํ—ค๋”๋ฅผ ๋งŒ๋“ค์–ด ์‚ฌ์šฉํ–ˆ์Šต๋‹ˆ๋‹ค.
    
        ๊ทธ๋Ÿฌ๋‚˜ ์‹ค์ œ๋กœ ๋ณด์•ˆ์„ ๊ตฌํ˜„ํ•  ๋•Œ๋Š” ํ†ตํ•ฉ๋œ [๋ณด์•ˆ ์œ ํ‹ธ๋ฆฌํ‹ฐ (๋‹ค์Œ ์ฑ•ํ„ฐ)](../security/index.md){.internal-link target=_blank}๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์ด ๋” ๋งŽ์€ ์ด์ ์„ ์–ป์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    ## ์˜์กด์„ฑ ์˜ค๋ฅ˜์™€ ๊ฐ’ ๋ฐ˜ํ™˜ํ•˜๊ธฐ
    
    ํ‰์†Œ์— ์‚ฌ์šฉํ•˜๋˜๋Œ€๋กœ ๊ฐ™์€ ์˜์กด์„ฑ *ํ•จ์ˆ˜*๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Feb 11 13:49:45 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. docs/zh/docs/advanced/additional-responses.md

    ๅฏนไบŽ่ฟ™ไบ›ๆƒ…ๅ†ต๏ผŒไฝ ๅฏไปฅไฝฟ็”จPython็š„ๆŠ€ๆœฏ๏ผŒๅฐ† `dict` ไธŽ `**dict_to_unpack` ่งฃๅŒ…๏ผš
    ```Python
    old_dict = {
        "old key": "old value",
        "second old key": "second old value",
    }
    new_dict = {**old_dict, "new key": "new value"}
    ```
    
    ่ฟ™้‡Œ๏ผŒ new_dict ๅฐ†ๅŒ…ๅซๆฅ่‡ช old_dict ็š„ๆ‰€ๆœ‰้”ฎๅ€ผๅฏนๅŠ ไธŠๆ–ฐ็š„้”ฎๅ€ผๅฏน๏ผš
    ```python
    {
        "old key": "old value",
        "second old key": "second old value",
        "new key": "new value",
    }
    ```
    ๆ‚จๅฏไปฅไฝฟ็”จ่ฏฅๆŠ€ๆœฏๅœจ่ทฏๅพ„ๆ“ไฝœไธญ้‡็”จไธ€ไบ›้ข„ๅฎšไน‰็š„ๅ“ๅบ”๏ผŒๅนถๅฐ†ๅฎƒไปฌไธŽๅ…ถไป–่‡ชๅฎšไน‰ๅ“ๅบ”็›ธ็ป“ๅˆใ€‚
    **ไพ‹ๅฆ‚๏ผš**
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 09 15:53:39 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/body-multiple-params.md

    For example, extending the previous model, you could decide that you want to have another key `importance` in the same body, besides the `item` and `user`.
    
    If you declare it as is, because it is a singular value, **FastAPI** will assume that it is a query parameter.
    
    But you can instruct **FastAPI** to treat it as another body key using `Body`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="23"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/security/get-current-user.md

    ## Code size
    
    This example might seem verbose. Keep in mind that we are mixing security, data models, utility functions and *path operations* in the same file.
    
    But here's the key point.
    
    The security and dependency injection stuff is written once.
    
    And you can make it as complex as you want. And still, have it written only once, in a single place. With all the flexibility.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/oauth2-jwt.md

    Import the modules installed.
    
    Create a random secret key that will be used to sign the JWT tokens.
    
    To generate a secure random secret key use the command:
    
    <div class="termy">
    
    ```console
    $ openssl rand -hex 32
    
    09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7
    ```
    
    </div>
    
    And copy the output to the variable `SECRET_KEY` (don't use the one in the example).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/async-sql-encode-databases.md

    but it doesn't have the `id` field.
    
    So we create a new `dict`, that contains the key-value pairs from `note.dict()` with:
    
    ```Python
    {**note.dict()}
    ```
    
    `**note.dict()` "unpacks" the key value pairs directly, so, `{**note.dict()}` would be, more or less, a copy of `note.dict()`.
    
    And then, we extend that copy `dict`, adding another key-value pair: `"id": last_record_id`:
    
    ```Python
    {**note.dict(), "id": last_record_id}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top