- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 616 for Hines (0.16 sec)
-
docs/fa/docs/tutorial/middleware.md
* این تابع `درخواست` را به *path operation* مربوطه ارسال می کند. * سپس `پاسخ` تولید شده توسط *path operation* مربوطه را برمیگرداند. * شما میتوانید سپس `پاسخ` را تغییر داده و پس از آن را برگردانید. ```Python hl_lines="8-9 11 14" {!../../../docs_src/middleware/tutorial001.py!} ``` !!! نکته به خاطر داشته باشید که هدرهای اختصاصی سفارشی را می توان با استفاده از پیشوند "X-" اضافه کرد.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Jan 29 17:53:46 GMT 2024 - 4.4K bytes - Viewed (0) -
docs/em/docs/advanced/security/http-basic-auth.md
* 🗄 `HTTPBasic` & `HTTPBasicCredentials`. * ✍ "`security` ⚖" ⚙️ `HTTPBasic`. * ⚙️ 👈 `security` ⏮️ 🔗 👆 *➡ 🛠️*. * ⚫️ 📨 🎚 🆎 `HTTPBasicCredentials`: * ⚫️ 🔌 `username` & `password` 📨. ```Python hl_lines="2 6 10" {!../../../docs_src/security/tutorial006.py!} ``` 🕐❔ 👆 🔄 📂 📛 🥇 🕰 (⚖️ 🖊 "🛠️" 🔼 🩺) 🖥 🔜 💭 👆 👆 🆔 & 🔐: <img src="/img/tutorial/security/image12.png"> ## ✅ 🆔 📥 🌅 🏁 🖼.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 4.1K bytes - Viewed (0) -
docs/de/docs/alternatives.md
Und es generiert OpenAPI-Schemas. So funktioniert es in Flask, Starlette, Responder, usw. Aber dann haben wir wieder das Problem einer Mikrosyntax innerhalb eines Python-Strings (eines großen YAML). Der Texteditor kann dabei nicht viel helfen. Und wenn wir Parameter oder Marshmallow-Schemas ändern und vergessen, auch den YAML-Docstring zu ändern, wäre das generierte Schema veraltet. !!! info
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:26:28 GMT 2024 - 26.7K bytes - Viewed (0) -
docs/zh/docs/advanced/testing-websockets.md
# 测试 WebSockets 测试 WebSockets 也使用 `TestClient`。 为此,要在 `with` 语句中使用 `TestClient` 连接 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: Sun Jan 28 18:12:29 GMT 2024 - 418 bytes - Viewed (0) -
docs/ru/docs/tutorial/testing.md
``` hl_lines="5" . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` Так как оба файла находятся в одной директории, для импорта объекта приложения из файла `main` в файл `test_main` Вы можете использовать относительный импорт: ```Python hl_lines="3" {!../../../docs_src/app_testing/test_main.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.2K bytes - Viewed (0) -
docs/em/docs/advanced/response-directly.md
🖼, 👆 🚫🔜 🚮 Pydantic 🏷 `JSONResponse` 🍵 🥇 🏭 ⚫️ `dict` ⏮️ 🌐 📊 🆎 (💖 `datetime`, `UUID`, ♒️) 🗜 🎻-🔗 🆎. 📚 💼, 👆 💪 ⚙️ `jsonable_encoder` 🗜 👆 📊 ⏭ 🚶♀️ ⚫️ 📨: ```Python hl_lines="6-7 21-22" {!../../../docs_src/response_directly/tutorial001.py!} ``` !!! note "📡 ℹ" 👆 💪 ⚙️ `from starlette.responses import JSONResponse`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 2.6K bytes - Viewed (0) -
docs/en/docs/advanced/async-tests.md
```Python hl_lines="7" {!../../../docs_src/async_tests/test_main.py!} ``` !!! tip Note that the test function is now `async def` instead of just `def` as before when using the `TestClient`. Then we can create an `AsyncClient` with the app, and send async requests to it, using `await`. ```Python hl_lines="9-10" {!../../../docs_src/async_tests/test_main.py!} ```
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/em/docs/tutorial/dependencies/global-dependencies.md
🆎 🈸 👆 💪 💚 🚮 🔗 🎂 🈸. 🎏 🌌 👆 💪 [🚮 `dependencies` *➡ 🛠️ 👨🎨*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank}, 👆 💪 🚮 👫 `FastAPI` 🈸. 👈 💼, 👫 🔜 ✔ 🌐 *➡ 🛠️* 🈸: ```Python hl_lines="15" {!../../../docs_src/dependencies/tutorial012.py!} ``` & 🌐 💭 📄 🔃 [❎ `dependencies` *➡ 🛠️ 👨🎨*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank} ✔, ✋️ 👉 💼, 🌐 *➡ 🛠️* 📱.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 828 bytes - Viewed (0) -
docs/tr/docs/index.md
return {"item_id": item_id, "q": q} ``` <details markdown="1"> <summary>Ya da <code>async def</code>...</summary> Eğer kodunuzda `async` / `await` varsa, `async def` kullanalım: ```Python hl_lines="9 14" from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") async def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}")
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 21.9K bytes - Viewed (0) -
docs/uk/docs/index.md
``` <details markdown="1"> <summary>Або використайте <code>async def</code>...</summary> Якщо ваш код використовує `async` / `await`, скористайтеся `async def`: ```Python hl_lines="9 14" from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") async def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}")
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 24.2K bytes - Viewed (0)