Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 630 for hl (0.01 sec)

  1. docs/em/docs/advanced/wsgi.md

    👈, 👆 💪 ⚙️ `WSGIMiddleware` & ⚙️ ⚫️ 🎁 👆 🇨🇻 🈸, 🖼, 🏺, ✳, ♒️.
    
    ## ⚙️ `WSGIMiddleware`
    
    👆 💪 🗄 `WSGIMiddleware`.
    
    ⤴️ 🎁 🇨🇻 (✅ 🏺) 📱 ⏮️ 🛠️.
    
    & ⤴️ 🗻 👈 🔽 ➡.
    
    {* ../../docs_src/wsgi/tutorial001.py hl[2:3,22] *}
    
    ## ✅ ⚫️
    
    🔜, 🔠 📨 🔽 ➡ `/v1/` 🔜 🍵 🏺 🈸.
    
    & 🎂 🔜 🍵 **FastAPI**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/wsgi.md

    You need to import `WSGIMiddleware`.
    
    Then wrap the WSGI (e.g. Flask) app with the middleware.
    
    And then mount that under a path.
    
    {* ../../docs_src/wsgi/tutorial001.py hl[2:3,3] *}
    
    ## Check it { #check-it }
    
    Now, every request under the path `/v1/` will be handled by the Flask application.
    
    And the rest will be handled by **FastAPI**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/cookie-param-models.md

    동일한 기술이 `Query`, `Cookie`, 그리고 `Header`에 적용됩니다. 😎
    
    ///
    
    ## Pydantic 모델을 사용한 쿠키
    
    **Pydantic 모델**에 필요한 **쿠키** 매개변수를 선언한 다음, 해당 매개변수를 `Cookie`로 선언합니다:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI**는 요청에서 받은 **쿠키**에서 **각 필드**에 대한 데이터를 **추출**하고 정의한 Pydantic 모델을 줍니다.
    
    ## 문서 확인하기
    
    문서 UI `/docs`에서 정의한 쿠키를 볼 수 있습니다:
    
    <div class="screenshot">
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 09 12:47:02 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/request-forms.md

    ```
    
    ///
    
    ## `Form` 임포트하기
    
    `fastapi`에서 `Form`을 임포트합니다:
    
    {* ../../docs_src/request_forms/tutorial001_an_py39.py hl[3] *}
    
    ## `Form` 매개변수 정의하기
    
    `Body` 또는 `Query`와 동일한 방식으로 폼 매개변수를 만듭니다:
    
    {* ../../docs_src/request_forms/tutorial001_an_py39.py hl[9] *}
    
    예를 들어, OAuth2 사양을 사용할 수 있는 방법 중 하나("패스워드 플로우"라고 함)로 `username`과 `password`를 폼 필드로 보내야 합니다.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 09 12:42:55 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/async-tests.md

    </div>
    
    ## 详细说明
    
    这个标记 `@pytest.mark.anyio` 会告诉 pytest 该测试函数应该被异步调用:
    
    {* ../../docs_src/async_tests/test_main.py hl[7] *}
    
    /// tip
    
    请注意,测试函数现在用的是 `async def`,而不是像以前使用 `TestClient` 时那样只是 `def` 。
    
    ///
    
    我们现在可以使用应用程序创建一个 `AsyncClient` ,并使用 `await` 向其发送异步请求。
    
    {* ../../docs_src/async_tests/test_main.py hl[9:12] *}
    
    这相当于:
    
    ```Python
    response = client.get('/')
    ```
    
    我们曾经通过它向 `TestClient` 发出请求。
    
    /// tip
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 17 21:49:06 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. docs/tr/docs/tutorial/static-files.md

    ## `StaticFiles` Kullanımı
    
    * `StaticFiles` sınıfını projenize dahil edin.
    * Bir `StaticFiles()` örneğini belirli bir yola bağlayın.
    
    {* ../../docs_src/static_files/tutorial001.py hl[2,6] *}
    
    /// note | Teknik Detaylar
    
    Projenize dahil etmek için `from starlette.staticfiles import StaticFiles` kullanabilirsiniz.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. docs/zh/docs/advanced/behind-a-proxy.md

    并且 `--root-path` 命令行选项支持 `root_path`。
    
    ///
    
    ### 查看当前的 `root_path`
    
    获取应用为每个请求使用的当前 `root_path`,这是 `scope` 字典的内容(也是 ASGI 规范的内容)。
    
    我们在这里的信息里包含 `roo_path` 只是为了演示。
    
    {* ../../docs_src/behind_a_proxy/tutorial001.py hl[8] *}
    
    然后,用以下命令启动 Uvicorn:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --root-path /api/v1
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/dependencies/index.md

    そして、これらの値を含む`dict`を返します。
    
    ### `Depends`のインポート
    
    {* ../../docs_src/dependencies/tutorial001.py hl[3] *}
    
    ### "dependant"での依存関係の宣言
    
    *path operation関数*のパラメータに`Body`や`Query`などを使用するのと同じように、新しいパラメータに`Depends`を使用することができます:
    
    {* ../../docs_src/dependencies/tutorial001.py hl[13,18] *}
    
    関数のパラメータに`Depends`を使用するのは`Body`や`Query`などと同じですが、`Depends`の動作は少し異なります。
    
    `Depends`は1つのパラメータしか与えられません。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/testing.md

    ✍ 🔢 ⏮️ 📛 👈 ▶️ ⏮️ `test_` (👉 🐩 `pytest` 🏛).
    
    ⚙️ `TestClient` 🎚 🎏 🌌 👆 ⏮️ `httpx`.
    
    ✍ 🙅 `assert` 📄 ⏮️ 🐩 🐍 🧬 👈 👆 💪 ✅ (🔄, 🐩 `pytest`).
    
    {* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *}
    
    /// tip
    
    👀 👈 🔬 🔢 😐 `def`, 🚫 `async def`.
    
     &amp; 🤙 👩‍💻 😐 🤙, 🚫 ⚙️ `await`.
    
    👉 ✔ 👆 ⚙️ `pytest` 🔗 🍵 🤢.
    
    ///
    
    /// note | 📡 ℹ
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/security/oauth2-jwt.md

    {* ../../docs_src/security/tutorial004_an_py310.py hl[4,7,13:15,29:31,79:87] *}
    
    ## Atualize as dependências
    
    Atualize `get_current_user` para receber o mesmo token de antes, mas desta vez, usando tokens JWT.
    
    Decodifique o token recebido, verifique-o e retorne o usuário atual.
    
    Se o token for inválido, retorne um erro HTTP imediatamente.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[90:107] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top