Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 315 for router (0.08 seconds)

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

    ## Classe `APIRoute` personalizada em um router { #custom-apiroute-class-in-a-router }
    
    Você também pode definir o parâmetro `route_class` de uma `APIRouter`:
    
    {* ../../docs_src/custom_request_and_route/tutorial003_py310.py hl[26] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  2. docs/de/docs/how-to/custom-request-and-route.md

    ## Benutzerdefinierte `APIRoute`-Klasse in einem Router { #custom-apiroute-class-in-a-router }
    
    Sie können auch den Parameter `route_class` eines `APIRouter` festlegen:
    
    {* ../../docs_src/custom_request_and_route/tutorial003_py310.py hl[26] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  3. tests/test_modules_same_name_body/app/main.py

    from fastapi import FastAPI
    
    from . import a, b
    
    app = FastAPI()
    
    app.include_router(a.router, prefix="/a")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jun 28 17:35:16 GMT 2019
    - 150 bytes
    - Click Count (0)
  4. docs/ja/docs/tutorial/bigger-applications.md

    * `app/dependencies.py` ファイルもあり、`app/main.py` と同様に「モジュール」: `app.dependencies` です。
    * `app/routers/` サブディレクトリに別の `__init__.py` があるので、「Python サブパッケージ」: `app.routers` です。
    * `app/routers/items.py` はパッケージ `app/routers/` 内のファイルなので、サブモジュール: `app.routers.items` です。
    * `app/routers/users.py` も同様で、別のサブモジュール: `app.routers.users` です。
    * `app/internal/` サブディレクトリにも `__init__.py` があるので、別の「Python サブパッケージ」: `app.internal` です。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  5. docs/es/docs/how-to/custom-request-and-route.md

    ## Clase personalizada `APIRoute` en un router { #custom-apiroute-class-in-a-router }
    
    También puedes establecer el parámetro `route_class` de un `APIRouter`:
    
    {* ../../docs_src/custom_request_and_route/tutorial003_py310.py hl[26] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  6. docs/en/docs/release-notes.md

    * `dependencies`: to include ✨ router-level dependencies ✨ that apply to all the *path operations* in a router. Up to now, this was only possible with `include_router`.
    * `callbacks`: OpenAPI callbacks that apply to all the *path operations* in this router.
    * `deprecated`: to mark all the *path operations* in a router as deprecated.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
  7. docs/ru/docs/how-to/custom-request-and-route.md

    ## Пользовательский класс `APIRoute` в роутере { #custom-apiroute-class-in-a-router }
    
    Вы также можете задать параметр `route_class` у `APIRouter`:
    
    {* ../../docs_src/custom_request_and_route/tutorial003_py310.py hl[26] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  8. docs/uk/docs/how-to/custom-request-and-route.md

    ## Користувацький клас `APIRoute` у маршрутизаторі { #custom-apiroute-class-in-a-router }
    
    Можна також встановити параметр `route_class` у `APIRouter`:
    
    {* ../../docs_src/custom_request_and_route/tutorial003_py310.py hl[26] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  9. docs/fr/docs/how-to/custom-request-and-route.md

    ## Utiliser une classe `APIRoute` personnalisée dans un routeur { #custom-apiroute-class-in-a-router }
    
    Vous pouvez également définir le paramètre `route_class` d'un `APIRouter` :
    
    {* ../../docs_src/custom_request_and_route/tutorial003_py310.py hl[26] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  10. docs/zh/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:06:37 GMT 2026
    - 4.1K bytes
    - Click Count (0)
Back to Top