- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 129 for EXTRA (0.11 sec)
-
docs/en/docs/tutorial/schema-extra-example.md
# Declare Request Example Data { #declare-request-example-data } You can declare examples of the data your app can receive. Here are several ways to do it. ## Extra JSON Schema data in Pydantic models { #extra-json-schema-data-in-pydantic-models } You can declare `examples` for a Pydantic model that will be added to the generated JSON Schema. //// tab | Pydantic v2 {* ../../docs_src/schema_extra_example/tutorial001_py310.py hl[13:24] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.6K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
So, we get a Pydantic model from the data in another Pydantic model. #### Unpacking a `dict` and extra keywords { #unpacking-a-dict-and-extra-keywords } And then adding the extra keyword argument `hashed_password=hashed_password`, like in: ```Python UserInDB(**user_in.dict(), hashed_password=hashed_password) ``` ...ends up being like:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.2K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-data-types.md
# Extra Data Types { #extra-data-types } Up to now, you have been using common data types, like: * `int` * `float` * `str` * `bool` But you can also use more complex data types. And you will still have the same features as seen up to now: * Great editor support. * Data conversion from incoming requests. * Data conversion for response data. * Data validation. * Automatic annotation and documentation.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.7K bytes - Viewed (0) -
docs/en/docs/tutorial/query-param-models.md
<div class="screenshot"> <img src="/img/tutorial/query-param-models/image01.png"> </div> ## Forbid Extra Query Parameters { #forbid-extra-query-parameters } In some special use cases (probably not very common), you might want to **restrict** the query parameters that you want to receive. You can use Pydantic's model configuration to `forbid` any `extra` fields: {* ../../docs_src/query_param_models/tutorial002_an_py310.py hl[10] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.2K bytes - Viewed (0) -
docs/en/docs/tutorial/request-form-models.md
{* ../../docs_src/request_form_models/tutorial002_an_py39.py hl[12] *} If a client tries to send some extra data, they will receive an **error** response. For example, if the client tries to send the form fields: * `username`: `Rick` * `password`: `Portal Gun` * `extra`: `Mr. Poopybutthole` They will receive an error response telling them that the field `extra` is not allowed: ```json
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.2K bytes - Viewed (0) -
docs/en/docs/tutorial/header-param-models.md
</div> ## Forbid Extra Headers { #forbid-extra-headers } In some special use cases (probably not very common), you might want to **restrict** the headers that you want to receive. You can use Pydantic's model configuration to `forbid` any `extra` fields: {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *} If a client tries to send some **extra headers**, they will receive an **error** response.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.6K bytes - Viewed (0) -
docs/en/docs/tutorial/body-fields.md
/// ## Add extra information { #add-extra-information } You can declare extra information in `Field`, `Query`, `Body`, etc. And it will be included in the generated JSON Schema. You will learn more about adding extra information later in the docs, when learning to declare examples. /// warning
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacLogonInfo.java
* @return the resource group SIDs array */ public SID[] getResourceGroupSids() { return this.resourceGroupSids; } /** * Returns an array of extra SIDs associated with the user. * @return the extra SIDs array */ public SID[] getExtraSids() { return this.extraSids; } /** * Returns the user account control flags.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.3K bytes - Viewed (0) -
docs/en/docs/tutorial/cookie-param-models.md
But even if you **fill the data** and click "Execute", because the docs UI works with **JavaScript**, the cookies won't be sent, and you will see an **error** message as if you didn't write any values. /// ## Forbid Extra Cookies { #forbid-extra-cookies } In some special use cases (probably not very common), you might want to **restrict** the cookies that you want to receive.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.1K bytes - Viewed (0) -
docs/en/docs/advanced/security/index.md
# Advanced Security { #advanced-security } ## Additional Features { #additional-features } There are some extra features to handle security apart from the ones covered in the [Tutorial - User Guide: Security](../../tutorial/security/index.md){.internal-link target=_blank}. /// tip The next sections are **not necessarily "advanced"**. And it's possible that for your use case, the solution is in one of them. ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 708 bytes - Viewed (0)