- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for keys (0.14 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
docs/em/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
!!! tip π¨βπ¨ β β» π’ π’, & π¦ π« β. βοΈ π `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: Sat Apr 01 09:26:04 GMT 2023 - 2.2K bytes - Viewed (0)