- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 681 for Python3 (0.04 sec)
-
docs/pt/docs/advanced/security/http-basic-auth.md
E eles enviam uma requisição com um usuário `johndoe` e uma senha `love123`. Então o código Python em sua aplicação seria equivalente a algo como: ```Python if "johndoe" == "stanleyjobson" and "love123" == "swordfish": ... ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.1K bytes - Viewed (0) -
docs/ja/docs/tutorial/path-params.md
# パスパラメータ Pythonのformat文字列と同様のシンタックスで「パスパラメータ」や「パス変数」を宣言できます: {* ../../docs_src/path_params/tutorial001.py hl[6,7] *} パスパラメータ `item_id` の値は、引数 `item_id` として関数に渡されます。 しがたって、この例を実行して <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a> にアクセスすると、次のレスポンスが表示されます。 ```JSON {"item_id":"foo"} ``` ## パスパラメータと型 標準のPythonの型アノテーションを使用して、関数内のパスパラメータの型を宣言できます:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.4K bytes - Viewed (0) -
docs/tr/docs/async.md
Sonuçları vermeden önce beklemeyi gerektirecek ve yeni Python özelliklerini destekleyen bir işlem olduğunda aşağıdaki gibi kodlayabilirsiniz: ```Python burgers = await get_burgers(2) ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:56:21 UTC 2025 - 21.8K bytes - Viewed (0) -
docs/tr/docs/tutorial/path-params.md
{"item_id":3} ``` /// check | Ek bilgi Dikkatinizi çekerim ki, fonksiyonunuzun aldığı (ve döndürdüğü) değer olan `3` bir string `"3"` değil aksine bir Python `int`'idir. Bu tanımlamayla birlikte, **FastAPI** size otomatik istek <abbr title="HTTP isteği ile birlikte gelen string'i Python verisine dönüştürme">"ayrıştırma"</abbr> özelliği sağlar. /// ## Veri Doğrulama
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 10.5K bytes - Viewed (0) -
docs/uk/docs/tutorial/path-params.md
```JSON {"item_id":3} ``` /// check | Примітка Зверніть увагу, що значення, яке отримала (і повернула) ваша функція, — це `3`. Це Python `int`, а не рядок `"3"`. Отже, з таким оголошенням типу **FastAPI** автоматично виконує <abbr title="перетворення рядка, що надходить із HTTP-запиту, у типи даних Python">"парсинг"</abbr> запитів. /// ## <abbr title="Або валідація">Перевірка</abbr> даних
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 14.1K bytes - Viewed (0) -
docs/es/docs/index.md
Lo haces con tipos estándar modernos de Python. No tienes que aprender una nueva sintaxis, los métodos o clases de un paquete específico, etc. Solo **Python** estándar. Por ejemplo, para un `int`: ```Python item_id: int ``` o para un modelo `Item` más complejo: ```Python item: Item ``` ...y con esa única declaración obtienes:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 21.5K bytes - Viewed (0) -
docs/nl/docs/index.md
Dat doe je met standaard moderne Python types. Je hoeft geen nieuwe syntax te leren, de methods of klassen van een specifieke bibliotheek, etc. Gewoon standaard **Python**. Bijvoorbeeld, voor een `int`: ```Python item_id: int ``` of voor een complexer `Item` model: ```Python item: Item ``` ...en met die ene verklaring krijg je:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 21.2K bytes - Viewed (0) -
docs/zh-hant/docs/index.md
### 總結 總結來說, 你就像宣告函式的參數型別一樣,只宣告了一次請求參數和請求主體參數等型別。 你使用 Python 標準型別來完成聲明。 你不需要學習新的語法、類別、方法或函式庫等等。 只需要使用 **Python 以上的版本**。 舉個範例,比如宣告 int 的型別: ```Python item_id: int ``` 或是一個更複雜的 `Item` 模型: ```Python item: Item ``` 在進行一次宣告後,你將獲得: - 編輯器支援: - 自動補全 - 型別檢查 - 資料驗證:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 18.8K bytes - Viewed (0) -
docs/en/docs/reference/middleware.md
It can be imported from `fastapi`: ```python from fastapi.middleware.cors import CORSMiddleware ``` ::: fastapi.middleware.gzip.GZipMiddleware It can be imported from `fastapi`: ```python from fastapi.middleware.gzip import GZipMiddleware ``` ::: fastapi.middleware.httpsredirect.HTTPSRedirectMiddleware It can be imported from `fastapi`: ```python
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 991 bytes - Viewed (0) -
docs/en/docs/alternatives.md
That's why, as said in the official website: > Requests is one of the most downloaded Python packages of all time The way you use it is very simple. For example, to do a `GET` request, you would write: ```Python response = requests.get("http://example.com/some/url") ``` The FastAPI counterpart API *path operation* could look like: ```Python hl_lines="1" @app.get("/some/url") def read_url():
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 23.6K bytes - Viewed (0)