- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 271 for Value (0.16 sec)
-
tests/test_tutorial/test_request_files/test_tutorial002.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 8.5K bytes - Viewed (0) -
docs/en/docs/tutorial/security/first-steps.md
## What it does It will go and look in the request for that `Authorization` header, check if the value is `Bearer ` plus some token, and will return the token as a `str`. If it doesn't see an `Authorization` header, or the value doesn't have a `Bearer ` token, it will respond with a 401 status code error (`UNAUTHORIZED`) directly.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 8.9K bytes - Viewed (0) -
docs/en/docs/alternatives.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 23.2K bytes - Viewed (0) -
docs/de/docs/tutorial/path-params.md
#### *Enum-Wert* erhalten Den tatsächlichen Wert (in diesem Fall ein `str`) erhalten Sie via `model_name.value`, oder generell, `ihr_enum_member.value`: ```Python hl_lines="20" {!../../../docs_src/path_params/tutorial005.py!} ``` !!! tip "Tipp" Sie können den Wert `"lenet"` außerdem mittels `ModelName.lenet.value` abrufen. #### *Enum-Member* zurückgeben
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:28:59 GMT 2024 - 10.3K bytes - Viewed (0) -
docs/en/docs/how-to/nosql-databases-couchbase.md
### `dict` unpacking If you are not familiar with the `UserInDB(**result.value)`, <a href="https://docs.python.org/3/glossary.html#term-argument" class="external-link" target="_blank">it is using `dict` "unpacking"</a>. 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:
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) -
tests/test_tutorial/test_query_params/test_tutorial005.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 4K bytes - Viewed (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
So, to avoid ID collisions, when creating the JWT token for the user, you could prefix the value of the `sub` key, e.g. with `username:`. So, in this example, the value of `sub` could have been: `username:johndoe`. The important thing to keep in mind is that the `sub` key should have a unique identifier across the entire application, and it should be a string.
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) -
tests/test_schema_extra_examples.py
# @app.post("/form_examples") # def form_examples( # lastname: str = Form( # ..., # examples={ # "example1": {"summary": "last name summary", "value": "Doe"}, # "example2": {"value": "Doesn't"}, # }, # ), # ): # return lastname # @app.post("/form_example_examples") # def form_example_examples( # lastname: str = Form(
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 37.7K bytes - Viewed (0) -
.github/actions/notify-translations/app/main.py
discussion_id: Union[str, None] = None, comment_id: Union[str, None] = None, body: Union[str, None] = None, ) -> Dict[str, Any]: headers = {"Authorization": f"token {settings.input_token.get_secret_value()}"} # some fields are only used by one query, but GraphQL allows unused variables, so # keep them here for simplicity variables = { "after": after, "category_id": category_id,
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Sep 27 23:01:46 GMT 2023 - 12.4K bytes - Viewed (0) -
docs/en/docs/tutorial/body-multiple-params.md
{!> ../../../docs_src/body_multiple_params/tutorial001.py!} ``` !!! note Notice that, in this case, the `item` that would be taken from the body is optional. As it has a `None` default value. ## Multiple body parameters In the previous example, the *path operations* would expect a JSON body with the attributes of an `Item`, like: ```JSON { "name": "Foo", "description": "The pretender",
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)