- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 112 for demais (0.15 sec)
-
docs/en/docs/advanced/middleware.md
```Python hl_lines="2 6-8" {!../../../docs_src/advanced_middleware/tutorial002.py!} ``` The following arguments are supported: * `allowed_hosts` - A list of domain names that should be allowed as hostnames. Wildcard domains such as `*.example.com` are supported for matching subdomains. To allow any hostname either use `allowed_hosts=["*"]` or omit the middleware.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 10 18:27:10 GMT 2023 - 4K bytes - Viewed (0) -
docs/en/docs/tutorial/static-files.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 19:56:09 GMT 2024 - 1.6K bytes - Viewed (0) -
docs/en/docs/deployment/manually.md
</div> That would work for most of the cases. ๐ You could use that command for example to start your **FastAPI** app in a container, in a server, etc. ## ASGI Servers Let's go a little deeper into the details. FastAPI uses a standard for building Python web frameworks and servers called <abbr title="Asynchronous Server Gateway Interface">ASGI</abbr>. FastAPI is an ASGI web framework.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 9.2K bytes - Viewed (0) -
docs/em/docs/tutorial/metadata.md
| `license_info` | `dict` | ๐ โน ๐ฆ ๐ ๏ธ. โซ๏ธ ๐ช ๐ ๐ ๐. <details><summary><code>license_info</code> ๐</summary><table><thead><tr><th>๐ข</th><th>๐</th><th>๐</th></tr></thead><tbody><tr><td><code>name</code></td><td><code>str</code></td><td><strong>๐</strong> (๐ฅ <code>license_info</code> โ). ๐ ๐ โ๏ธ ๐ ๏ธ.</td></tr><tr><td><code>url</code></td><td><code>str</code></td><td>๐ ๐ โ๏ธ ๐ ๏ธ. ๐ ๐ ๐. </td></tr></tbody></table></details> | ๐ ๐ช โ ๐ซ โฉ:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 4.2K bytes - Viewed (0) -
docs/en/docs/tutorial/middleware.md
* It then takes the **response** generated by the application (by some *path operation*). * It can do something to that **response** or run any needed code. * Then it returns the **response**. !!! note "Technical Details" If you have dependencies with `yield`, the exit code will run *after* the middleware. If there were any background tasks (documented later), they will run *after* all the middleware. ## Create a middleware
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 2.9K bytes - Viewed (0) -
docs/de/docs/tutorial/middleware.md
* Sie kann etwas mit dieser **Response** tun oder beliebigen Code ausfรผhren. * Dann gibt sie die **Response** zurรผck. !!! note "Technische Details" Wenn Sie Abhรคngigkeiten mit `yield` haben, wird der Exit-Code *nach* der Middleware ausgefรผhrt. Wenn es Hintergrundaufgaben gab (spรคter dokumentiert), werden sie *nach* allen Middlewares ausgefรผhrt.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 23 11:26:59 GMT 2024 - 3.4K bytes - Viewed (0) -
docs/zh/docs/tutorial/handling-errors.md
} ``` ไฝๅฆๆๅฎขๆท็ซฏ่ฏทๆฑ `http://example.com/items/bar`๏ผ`item_id` `ใbarใ` ไธๅญๅจๆถ๏ผ๏ผๅไผๆฅๆถๅฐ HTTP ็ถๆ็ - 404๏ผใๆชๆพๅฐใ้่ฏฏ๏ผๅๅฆไธ JSON ๅๅบ็ปๆ๏ผ ```JSON { "detail": "Item not found" } ``` !!! tip "ๆ็คบ" ่งฆๅ `HTTPException` ๆถ๏ผๅฏไปฅ็จๅๆฐ `detail` ไผ ้ไปปไฝ่ฝ่ฝฌๆขไธบ JSON ็ๅผ๏ผไธไป ้ไบ `str`ใ ่ฟๆฏๆไผ ้ `dict`ใ`list` ็ญๆฐๆฎ็ปๆใ **FastAPI** ่ฝ่ชๅจๅค็่ฟไบๆฐๆฎ๏ผๅนถๅฐไน่ฝฌๆขไธบ JSONใ ## ๆทปๅ ่ชๅฎไนๅๅบๅคด
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 8.4K bytes - Viewed (0) -
docs/en/docs/advanced/testing-websockets.md
For this, you use the `TestClient` in a `with` statement, connecting to the WebSocket: ```Python hl_lines="27-31" {!../../../docs_src/app_testing/tutorial002.py!} ``` !!! note
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Aug 29 14:02:58 GMT 2020 - 449 bytes - Viewed (0) -
docs/em/docs/tutorial/handling-errors.md
``` โ๏ธ ๐ฅ ๐ฉโ๐ป ๐จ `http://example.com/items/bar` (๐ซ-๐ซ `item_id` `"bar"`), ๐ ๐ฉโ๐ป ๐ ๐จ ๐บ๐ธ๐ ๐ ๐ 4๏ธโฃ0๏ธโฃ4๏ธโฃ ("๐ซ ๐" โ), & ๐ป ๐จ: ```JSON { "detail": "Item not found" } ``` !!! tip ๐โ ๐โโ `HTTPException`, ๐ ๐ช ๐ถโโ๏ธ ๐ ๐ฒ ๐ ๐ช ๐ ๐ป ๐ข `detail`, ๐ซ ๐ด `str`. ๐ ๐ช ๐ถโโ๏ธ `dict`, `list`, โ๏ธ. ๐ซ ๐ต ๐ **FastAPI** & ๐ ๐ป. ## ๐ฎ ๐ ๐
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 8.3K bytes - Viewed (0) -
docs/en/docs/tutorial/testing.md
And the calls to the client are also normal calls, not using `await`. This allows you to use `pytest` directly without complications. !!! note "Technical Details" You could also use `from starlette.testclient import TestClient`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 6.2K bytes - Viewed (0)