- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for Raines (0.18 sec)
-
docs/ja/docs/tutorial/security/first-steps.md
その場合、**FastAPI**はそれを構築するためのツールも提供します。 `OAuth2PasswordBearer` クラスのインスタンスを作成する時に、パラメーター`tokenUrl`を渡します。このパラメーターには、クライアント (ユーザーのブラウザで動作するフロントエンド) がトークンを取得するために`ユーザー名`と`パスワード`を送信するURLを指定します。 ```Python hl_lines="6" {!../../../docs_src/security/tutorial001.py!} ``` !!! tip "豆知識" ここで、`tokenUrl="token"`は、まだ作成していない相対URL`token`を指します。相対URLなので、`./token`と同じです。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.5K bytes - Viewed (0) -
docs/pl/docs/tutorial/first-steps.md
Możesz również zdefiniować to jako normalną funkcję zamiast `async def`: ```Python hl_lines="7" {!../../../docs_src/first_steps/tutorial003.py!} ``` !!! note Jeśli nie znasz różnicy, sprawdź [Async: *"In a hurry?"*](../async.md#in-a-hurry){.internal-link target=_blank}. ### Krok 5: zwróć zawartość ```Python hl_lines="8" {!../../../docs_src/first_steps/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 9.8K bytes - Viewed (0) -
docs/ru/docs/tutorial/first-steps.md
```Python hl_lines="7" {!../../../docs_src/first_steps/tutorial001.py!} ``` Это обычная Python функция. **FastAPI** будет вызывать её каждый раз при получении `GET` запроса к URL "`/`". В данном случае это асинхронная функция. --- Вы также можете определить ее как обычную функцию вместо `async def`: ```Python hl_lines="7" {!../../../docs_src/first_steps/tutorial003.py!}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13.1K bytes - Viewed (0) -
docs/em/docs/tutorial/first-steps.md
### 🔁 1️⃣: 🗄 `FastAPI` ```Python hl_lines="1" {!../../../docs_src/first_steps/tutorial001.py!} ``` `FastAPI` 🐍 🎓 👈 🚚 🌐 🛠️ 👆 🛠️. !!! note "📡 ℹ" `FastAPI` 🎓 👈 😖 🔗 ⚪️➡️ `Starlette`. 👆 💪 ⚙️ 🌐 <a href="https://www.starlette.io/" class="external-link" target="_blank">💃</a> 🛠️ ⏮️ `FastAPI` 💁♂️. ### 🔁 2️⃣: ✍ `FastAPI` "👐" ```Python hl_lines="3"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.1K bytes - Viewed (0) -
docs/ja/docs/tutorial/first-steps.md
### Step 1: `FastAPI`をインポート ```Python hl_lines="1" {!../../../docs_src/first_steps/tutorial001.py!} ``` `FastAPI`は、APIのすべての機能を提供するPythonクラスです。 !!! note "技術詳細" `FastAPI`は`Starlette`を直接継承するクラスです。 `FastAPI`でも<a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a>のすべての機能を利用可能です。 ### Step 2: `FastAPI`の「インスタンス」を生成 ```Python hl_lines="3"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.2K bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
You could also define it as a normal function instead of `async def`: ```Python hl_lines="7" {!../../../docs_src/first_steps/tutorial003.py!} ``` !!! note If you don't know the difference, check the [Async: *"In a hurry?"*](../async.md#in-a-hurry){.internal-link target=_blank}. ### Step 5: return the content ```Python hl_lines="8" {!../../../docs_src/first_steps/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 12K bytes - Viewed (0)