- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 53 for inherits (0.17 sec)
-
docs/en/docs/tutorial/header-params.md
```Python hl_lines="9" {!> ../../../docs_src/header_params/tutorial001.py!} ``` !!! note "Technical Details" `Header` is a "sister" class of `Path`, `Query` and `Cookie`. It also inherits from the same common `Param` class. But remember that when you import `Query`, `Path`, `Header`, and others from `fastapi`, those are actually functions that return special classes. !!! info
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 5.8K bytes - Viewed (0) -
docs/en/docs/how-to/sql-databases-peewee.md
We will create a `PeeweeConnectionState`: ```Python hl_lines="10-19" {!../../../docs_src/sql_databases_peewee/sql_app/database.py!} ``` This class inherits from a special internal class used by Peewee. It has all the logic to make Peewee use `contextvars` instead of `threading.local`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 16 13:23:25 GMT 2024 - 23.6K bytes - Viewed (1) -
docs/fr/mkdocs.yml
INHERIT: ../en/mkdocs.yml...
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Jun 25 12:33:58 GMT 2023 - 26 bytes - Viewed (0) -
docs/zh-hant/mkdocs.yml
INHERIT: ../en/mkdocs.yml...
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Jan 17 17:15:27 GMT 2024 - 26 bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
"size": "XL" } } ``` #### FastAPI's `HTTPException` vs Starlette's `HTTPException` **FastAPI** has its own `HTTPException`. And **FastAPI**'s `HTTPException` error class inherits from Starlette's `HTTPException` error class. The only difference is that **FastAPI**'s `HTTPException` accepts any JSON-able data for the `detail` field, while Starlette's `HTTPException` only accepts strings for it.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.1K bytes - Viewed (0) -
docs/en/docs/advanced/dataclasses.md
Check the in-code annotation tips above to see more specific details. ## Learn More You can also combine `dataclasses` with other Pydantic models, inherit from them, include them in your own models, etc. To learn more, check the <a href="https://docs.pydantic.dev/latest/concepts/dataclasses/" class="external-link" target="_blank">Pydantic docs about dataclasses</a>. ## Version
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 4.1K bytes - Viewed (0) -
fastapi/security/oauth2.py
) class OAuth2(SecurityBase): """ This is the base class for OAuth2 authentication, an instance of it would be used as a dependency. All other OAuth2 classes inherit from it and customize it for each OAuth2 flow. You normally would not create a new class inheriting from it but use one of the existing subclasses, and maybe compose them if you want to support multiple flows.
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 21.1K bytes - Viewed (1) -
tests/test_union_inherited_body.py
Sebastián RamÃrez <******@****.***> 1688749933 +0200
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 5.2K bytes - Viewed (0) -
docs/bn/mkdocs.yml
INHERIT: ../en/mkdocs.yml...
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Jan 10 17:43:35 GMT 2024 - 26 bytes - Viewed (0) -
docs/fa/mkdocs.yml
INHERIT: ../en/mkdocs.yml...
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Jun 25 12:33:58 GMT 2023 - 26 bytes - Viewed (0)