- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 874 for python3 (0.1 sec)
-
docs/em/docs/tutorial/extra-models.md
, ๐ฅ ๐ฅ โ Pydantic ๐ `user_in` ๐: ```Python user_in = UserIn(username="john", password="secret", email="******@****.***") ``` & โคด๏ธ ๐ฅ ๐ค: ```Python user_dict = user_in.dict() ``` ๐ฅ ๐ โ๏ธ `dict` โฎ๏ธ ๐ฝ ๐ข `user_dict` (โซ๏ธ `dict` โฉ๏ธ Pydantic ๐ท ๐). & ๐ฅ ๐ฅ ๐ค: ```Python print(user_dict) ``` ๐ฅ ๐ ๐ค ๐ `dict` โฎ๏ธ: ```Python { 'username': 'john',
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.8K bytes - Viewed (0) -
docs/ko/docs/tutorial/path-operation-configuration.md
```Python hl_lines="17 22 27" {!../../docs_src/path_operation_configuration/tutorial002.py!} ``` ์ ๋ฌ๋ ํ๊ทธ๋ค์ OpenAPI์ ์คํค๋ง์ ์ถ๊ฐ๋๋ฉฐ, ์๋ ๋ฌธ์ ์ธํฐํ์ด์ค์์ ์ฌ์ฉ๋ฉ๋๋ค: <img src="/img/tutorial/path-operation-configuration/image01.png"> ## ์์ฝ๊ณผ ๊ธฐ์ `summary`์ `description`์ ์ถ๊ฐํ ์ ์์ต๋๋ค: ```Python hl_lines="20-21" {!../../docs_src/path_operation_configuration/tutorial003.py!}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/de/docs/tutorial/security/get-current-user.md
//// tab | Python 3.10+ ```Python hl_lines="25" {!> ../../docs_src/security/tutorial002_an_py310.py!} ``` //// //// tab | Python 3.9+ ```Python hl_lines="25" {!> ../../docs_src/security/tutorial002_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="26" {!> ../../docs_src/security/tutorial002_an.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.3K bytes - Viewed (0) -
docs/ru/docs/tutorial/query-params.md
ะะฝะฐะปะพะณะธัะฝะพ, ะฒั ะผะพะถะตัะต ะพะฑััะฒะปััั ะฝะตะพะฑัะทะฐัะตะปัะฝัะต query-ะฟะฐัะฐะผะตััั, ัััะฐะฝะพะฒะธะฒ ะธั ะทะฝะฐัะตะฝะธะต ะฟะพ ัะผะพะปัะฐะฝะธั, ัะฐะฒะฝะพะต `None`: //// tab | Python 3.10+ ```Python hl_lines="7" {!> ../../docs_src/query_params/tutorial002_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="9" {!> ../../docs_src/query_params/tutorial002.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.3K bytes - Viewed (0) -
docs/en/docs/tutorial/security/get-current-user.md
``` //// //// tab | Python 3.9+ ```Python hl_lines="5 12-16" {!> ../../docs_src/security/tutorial002_an_py39.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="5 13-17" {!> ../../docs_src/security/tutorial002_an.py!} ``` //// //// tab | Python 3.10+ non-Annotated /// tip Prefer to use the `Annotated` version if possible. /// ```Python hl_lines="3 10-14"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.4K bytes - Viewed (0) -
docs/en/docs/index.md
You do that with standard modern Python types. You don't have to learn a new syntax, the methods or classes of a specific library, etc. Just standard **Python**. For example, for an `int`: ```Python item_id: int ``` or for a more complex `Item` model: ```Python item: Item ``` ...and with that single declaration you get:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 20.4K bytes - Viewed (0) -
docs/en/docs/tutorial/debugging.md
```Python from myapp import app ``` #### More details Let's say your file is named `myapp.py`. If you run it with: <div class="termy"> ```console $ python myapp.py ``` </div> then the internal variable `__name__` in your file, created automatically by Python, will have as value the string `"__main__"`. So, the section: ```Python uvicorn.run(app, host="0.0.0.0", port=8000)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.4K bytes - Viewed (0) -
docs/em/docs/advanced/path-operation-advanced-configuration.md
๐ ๐ โ๏ธ โ ๐ญ ๐ โซ๏ธ ๐ ๐ ๐ ๏ธ. ```Python hl_lines="6" {!../../docs_src/path_operation_advanced_configuration/tutorial001.py!} ``` ### โ๏ธ *โก ๐ ๏ธ ๐ข* ๐ { ๐ฅ ๐ ๐ โ๏ธ ๐ ๐' ๐ข ๐ `operationId`โ, ๐ ๐ช ๐ ๐คญ ๐ ๐ซ & ๐ ๐ *โก ๐ ๏ธ* `operation_id` โ๏ธ ๐ซ `APIRoute.name`. ๐ ๐ โซ๏ธ โฎ๏ธ โ ๐ ๐ *โก ๐ ๏ธ*. ```Python hl_lines="2 12-21 24"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.7K bytes - Viewed (0) -
docs/de/docs/advanced/middleware.md
```Python hl_lines="2 6" {!../../docs_src/advanced_middleware/tutorial001.py!} ``` ## `TrustedHostMiddleware` Erzwingt, dass alle eingehenden Requests einen korrekt gesetzten `Host`-Header haben, um sich vor HTTP-Host-Header-Angriffen zu schรผtzen. ```Python hl_lines="2 6-8" {!../../docs_src/advanced_middleware/tutorial002.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/en/docs/reference/websockets.md
You can import it directly form `fastapi`: ```python from fastapi import WebSocketDisconnect ``` ::: fastapi.WebSocketDisconnect ## WebSockets - additional classes Additional classes for handling WebSockets. Provided directly by Starlette, but you can import it from `fastapi`: ```python from fastapi.websockets import WebSocketDisconnect, WebSocketState ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 1.7K bytes - Viewed (0)