- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for magic (0.14 sec)
-
docs_src/path_operation_advanced_configuration/tutorial006.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jul 29 20:01:13 GMT 2021 - 1K bytes - Viewed (0) -
docs/em/docs/advanced/path-operation-advanced-configuration.md
{!../../../docs_src/path_operation_advanced_configuration/tutorial006.py!} ``` π πΌ, π₯ π« π£ π Pydantic π·. π, π¨ πͺ π« <abbr title="converted from some plain format, like bytes, into Python objects">π»</abbr> π», β«οΈ β π `bytes`, & π’ `magic_data_reader()` π π π» β«οΈ π. π, π₯ πͺ π£ π π π¨ πͺ. ### π π π π βοΈ π π π±, π πͺ βοΈ Pydantic π· π¬ π» π π β€΄οΈ π π π π π *β‘ π οΈ*. & π πͺ π π₯ π½ π π¨ π« π».
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 5.7K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial006.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 1.9K bytes - Viewed (0) -
docs/en/docs/advanced/async-tests.md
Even if your **FastAPI** application uses normal `def` functions instead of `async def`, it is still an `async` application underneath. The `TestClient` does some magic inside to call the asynchronous FastAPI application in your normal `def` test functions, using standard pytest. But that magic doesn't work anymore when we're using it inside asynchronous functions. By running our tests asynchronously, we can no longer use the `TestClient` inside our test functions.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jan 13 12:07:15 GMT 2024 - 3.9K bytes - Viewed (0) -
docs/en/docs/how-to/sql-databases-peewee.md
And `threading.local` is not compatible with the new async features of modern Python. !!! note "Technical Details" `threading.local` is used to have a "magic" variable that has a different value for each thread. This was useful in older frameworks designed to have one single thread per request, no more, no less.
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/en/docs/advanced/path-operation-advanced-configuration.md
In this example, we didn't declare any Pydantic model. In fact, the request body is not even <abbr title="converted from some plain format, like bytes, into Python objects">parsed</abbr> as JSON, it is read directly as `bytes`, and the function `magic_data_reader()` would be in charge of parsing it in some way. Nevertheless, we can declare the expected schema for the request body. ### Custom OpenAPI content type
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 (0) -
docs/de/docs/advanced/path-operation-advanced-configuration.md
Dennoch kΓΆnnen wir das zu erwartende Schema fΓΌr den Requestbody deklarieren. ### Benutzerdefinierter OpenAPI-Content-Type
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:27:23 GMT 2024 - 8.5K bytes - Viewed (0) -
docs/fr/docs/advanced/path-operation-advanced-configuration.md
NΓ©anmoins, nous pouvons dΓ©clarer le schΓ©ma attendu pour le corps de la requΓͺte. ### Type de contenu OpenAPI personnalisΓ©
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8K bytes - Viewed (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
!!! tip The important and "magic" thing here is that `get_current_user` will have a different list of `scopes` to check for each *path operation*.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 21:21:35 GMT 2024 - 20.5K bytes - Viewed (0) -
docs/de/docs/advanced/async-tests.md
Der `TestClient` macht unter der Haube magisches, um die asynchrone FastAPI-Anwendung in Ihren normalen `def`-Testfunktionen, mithilfe von Standard-Pytest aufzurufen. Aber diese Magie funktioniert nicht mehr, wenn wir sie in asynchronen Funktionen verwenden. Durch die asynchrone AusfΓΌhrung unserer Tests kΓΆnnen wir den `TestClient` nicht mehr in unseren Testfunktionen verwenden.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:25:57 GMT 2024 - 4.4K bytes - Viewed (0)