Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 342 for routes (0.09 seconds)

  1. docs/zh-hant/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[17:19] *}
    
    ## 在路由器中自訂 `APIRoute` 類別 { #custom-apiroute-class-in-a-router }
    
    你也可以在 `APIRouter` 上設定 `route_class` 參數:
    
    {* ../../docs_src/custom_request_and_route/tutorial003_py310.py hl[26] *}
    
    在此範例中,`router` 底下的路徑操作會使用自訂的 `TimedRoute` 類別,並在回應中多加上一個 `X-Response-Time` 標頭,標示產生該回應所花費的時間:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  2. tests/test_strict_content_type_nested.py

        response = client_nested.post("/outer/strict/items/", json={"key": "value"})
        assert response.status_code == 200
    
    
    def test_default_inner_accepts_json_content_type():
        response = client_nested.post("/outer/default/items/", json={"key": "value"})
        assert response.status_code == 200
    
    
    # Strict app -> lax outer router -> strict inner router
    
    app_mixed = FastAPI(strict_content_type=True)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Feb 23 17:45:20 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  3. docs/ja/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[17:19] *}
    
    ## ルーターでのカスタム `APIRoute` クラス { #custom-apiroute-class-in-a-router }
    
    `APIRouter` の `route_class` パラメータを設定することもできます:
    
    {* ../../docs_src/custom_request_and_route/tutorial003_py310.py hl[26] *}
    
    この例では、`router` 配下の *path operations* はカスタムの `TimedRoute` クラスを使用し、レスポンスの生成にかかった時間を示す追加の `X-Response-Time` ヘッダーがレスポンスに含まれます:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  4. fastapi/.agents/skills/fastapi/SKILL.md

    ## Including Routers
    
    When declaring routers, prefer to add router level parameters like prefix, tags, etc. to the router itself, instead of in `include_router()`.
    
    Do this:
    
    ```python
    from fastapi import APIRouter, FastAPI
    
    app = FastAPI()
    
    router = APIRouter(prefix="/items", tags=["items"])
    
    
    @router.get("/")
    async def list_items():
        return []
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  5. CHANGELOG/CHANGELOG-1.16.md

        - [Node Binaries](#node-binaries-16)
    - [Kubernetes v1.16.0 Release Notes](#kubernetes-v1160-release-notes)
      - [What’s New (Major Themes)](#what’s-new-major-themes)
        - [Additional Notable Feature Updates](#additional-notable-feature-updates)
      - [Known Issues](#known-issues)
      - [Urgent Upgrade Notes](#urgent-upgrade-notes-1)
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Oct 23 20:13:20 GMT 2024
    - 345.2K bytes
    - Click Count (0)
  6. docs/tr/docs/editor-support.md

    ## Özellikler { #features }
    
    - **Path Operation Explorer** - Uygulamanızdaki tüm <dfn title="route'lar, endpoint'ler">*path operation*'lar</dfn> için yan panelde bir ağaç görünümü. Herhangi bir route veya router tanımına tıklayarak atlayın.
    - **Route Search** - <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>E</kbd> (macOS: <kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>E</kbd>) ile path, method veya ada göre arama.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:51:35 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  7. docs/fr/docs/tutorial/middleware.md

    Par exemple :
    
    ```Python
    app.add_middleware(MiddlewareA)
    app.add_middleware(MiddlewareB)
    ```
    
    Cela aboutit à l’ordre d’exécution suivant :
    
    * **Requête** : MiddlewareB → MiddlewareA → route
    
    * **Réponse** : route → MiddlewareA → MiddlewareB
    
    Ce comportement d’empilement garantit que les middlewares s’exécutent dans un ordre prévisible et contrôlable.
    
    ## Autres middlewares { #other-middlewares }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  8. CHANGELOG/CHANGELOG-1.25.md

    - Fix: Route controller should update routes with NodeIP changed ([#116361](https://github.com/kubernetes/kubernetes/pull/116361), [@lzhecheng](https://github.com/lzhecheng)) [SIG Cloud Provider]
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Mon May 06 09:23:20 GMT 2024
    - 419.1K bytes
    - Click Count (0)
  9. CHANGELOG/CHANGELOG-1.26.md

    - Fix: Route controller should update routes with NodeIP changed ([#116362](https://github.com/kubernetes/kubernetes/pull/116362), [@lzhecheng](https://github.com/lzhecheng)) [SIG Cloud Provider]
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Tue Sep 02 13:51:56 GMT 2025
    - 425.7K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/editor-support.md

    ## 功能 { #features }
    
    - **Path Operation Explorer** - 顯示應用程式中所有 <dfn title="路由、端點">*路徑操作*</dfn> 的側邊欄樹狀檢視。點擊即可跳至任一路由或 router 定義。
    - **Route Search** - 使用 <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>E</kbd>(macOS:<kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>E</kbd>)依路徑、方法或名稱進行搜尋。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 2.4K bytes
    - Click Count (0)
Back to Top