Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for keys (0.14 sec)

  1. docs/en/docs/tutorial/body-fields.md

    You will learn more about adding extra information later in the docs, when learning to declare examples.
    
    !!! warning
        Extra keys passed to `Field` will also be present in the resulting OpenAPI schema for your application.
        As these keys may not necessarily be part of the OpenAPI specification, some OpenAPI tools, for example [the OpenAPI validator](https://validator.swagger.io/), may not work with your generated schema.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/nosql-databases.md

    πŸ“₯ πŸ‘₯ πŸ”œ πŸ‘€ πŸ–Ό βš™οΈ **<a href="https://www.couchbase.com/" class="external-link" target="_blank">πŸ—„</a>**, <abbr title="Document here refers to a JSON object (a dict), with keys and values, and those values can also be other JSON objects, arrays (lists), numbers, strings, booleans, etc.">πŸ“„</abbr> 🧒 ☁ πŸ’½.
    
    πŸ‘† πŸ’ͺ πŸ› οΈ ⚫️ πŸ™† 🎏 ☁ πŸ’½ πŸ’–:
    
    * **✳**
    * **πŸ‘Έ**
    * **✳**
    * **πŸ‡ΈπŸ‡²**
    * **✳**, ♒️.
    
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/nosql-databases-couchbase.md

    It will take the `dict` at `result.value`, and take each of its keys and values and pass them as key-values to `UserInDB` as keyword arguments.
    
    So, if the `dict` contains:
    
    ```Python
    {
        "username": "johndoe",
        "hashed_password": "some_hash",
    }
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/body-nested-models.md

    You can also declare a body as a `dict` with keys of some type and values of some other type.
    
    This way, you don't have to know beforehand what the valid field/attribute names are (as would be the case with Pydantic models).
    
    This would be useful if you want to receive keys that you don't already know.
    
    ---
    
    Another useful case is when you want to have keys of another type (e.g., `int`).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  5. 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)
  6. docs/en/docs/tutorial/extra-models.md

        'full_name': None,
    }
    ```
    
    #### Unwrapping a `dict`
    
    If we take a `dict` like `user_dict` and pass it to a function (or class) with `**user_dict`, Python will "unwrap" it. It will pass the keys and values of the `user_dict` directly as key-value arguments.
    
    So, continuing with the `user_dict` from above, writing:
    
    ```Python
    UserInDB(**user_dict)
    ```
    
    would result in something equivalent to:
    
    ```Python
    UserInDB(
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
  7. docs/en/docs/features.md

        "id": 4,
        "name": "Mary",
        "joined": "2018-11-30",
    }
    
    my_second_user: User = User(**second_user_data)
    ```
    
    !!! info
        `**second_user_data` means:
    
        Pass the keys and values of the `second_user_data` dict directly as key-value arguments, equivalent to: `User(id=4, name="Mary", joined="2018-11-30")`
    
    ### Editor support
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top