- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for unwrap (0.14 sec)
-
docs/en/docs/tutorial/extra-models.md
'email': '******@****.***', '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) ```
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/mkdocs.yml
show_if_no_docstring: true preload_modules: - httpx - starlette inherited_members: true members_order: source separate_signature: true unwrap_annotated: true filters: - '!^_' merge_init_into_class: true docstring_section_style: spacy signature_crossrefs: true show_symbol_type_heading: true
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 9.1K bytes - Viewed (0) -
docs/en/docs/css/custom.css
.shadow { box-shadow: 5px 5px 10px #999; } /* Give space to lower icons so Gitter chat doesn't get on top of them */ .md-footer-meta { padding-bottom: 2em; } .user-list { display: flex; flex-wrap: wrap; margin-bottom: 2rem; } .user-list-center { justify-content: space-evenly; } .user { margin: 1em; min-width: 7em; } .user .avatar-wrapper { width: 80px; height: 80px;
CSS - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Jan 28 09:53:45 GMT 2024 - 2.8K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
We had this type annotation: === "Python 3.10+" ```Python q: str | None = None ``` === "Python 3.8+" ```Python q: Union[str, None] = None ``` What we will do is wrap that with `Annotated`, so it becomes: === "Python 3.10+" ```Python q: Annotated[str | None] = None ``` === "Python 3.8+" ```Python q: Annotated[Union[str, None]] = None
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 25.7K bytes - Viewed (0) -
docs/en/docs/advanced/wsgi.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 1.1K bytes - Viewed (0)