Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 187 for decorate (0.07 seconds)

  1. docs/es/docs/tutorial/path-operation-configuration.md

    # Configuración de Path Operation { #path-operation-configuration }
    
    Hay varios parámetros que puedes pasar a tu *path operation decorator* para configurarlo.
    
    /// warning | Advertencia
    
    Ten en cuenta que estos parámetros se pasan directamente al *path operation decorator*, no a tu *path operation function*.
    
    ///
    
    ## Código de Estado del Response { #response-status-code }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/custom-response.md

    {* ../../docs_src/response_model/tutorial001_01_py310.py ln[15:17] hl[16] *}
    
    ## HTML Response { #html-response }
    
    To return a response with HTML directly from **FastAPI**, use `HTMLResponse`.
    
    * Import `HTMLResponse`.
    * Pass `HTMLResponse` as the parameter `response_class` of your *path operation decorator*.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  3. docs/fr/docs/tutorial/middleware.md

    ///
    
    ## Créer un middleware { #create-a-middleware }
    
    Pour créer un middleware, utilisez le décorateur `@app.middleware("http")` au-dessus d’une fonction.
    
    La fonction de middleware reçoit :
    
    * La `request`.
    * Une fonction `call_next` qui recevra la `request` en paramètre.
    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)
  4. docs/es/docs/tutorial/first-steps.md

    * `DELETE`: para eliminar datos.
    
    Así que, en OpenAPI, cada uno de los métodos HTTP se llama una "operation".
    
    Vamos a llamarlas "**operaciones**" también.
    
    #### Define un *path operation decorator* { #define-a-path-operation-decorator }
    
    {* ../../docs_src/first_steps/tutorial001_py310.py hl[6] *}
    
    El `@app.get("/")` le dice a **FastAPI** que la función justo debajo se encarga de manejar requests que vayan a:
    
    * el path `/`
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  5. docs/tr/docs/tutorial/response-model.md

    Bu gibi durumlarda, dönüş tipi yerine *path operation decorator* parametresi olan `response_model`’i kullanabilirsiniz.
    
    `response_model` parametresini herhangi bir *path operation* içinde kullanabilirsiniz:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 17K bytes
    - Click Count (0)
  6. docs/es/docs/advanced/custom-response.md

    {* ../../docs_src/response_model/tutorial001_01_py310.py ln[15:17] hl[16] *}
    
    ## Response HTML { #html-response }
    
    Para devolver un response con HTML directamente desde **FastAPI**, usa `HTMLResponse`.
    
    * Importa `HTMLResponse`.
    * Pasa `HTMLResponse` como parámetro `response_class` de tu *path operation decorator*.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/middleware.md

    ///
    
    ## Create a middleware { #create-a-middleware }
    
    To create a middleware you use the decorator `@app.middleware("http")` on top of a function.
    
    The middleware function receives:
    
    * The `request`.
    * A function `call_next` that will receive the `request` as a parameter.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  8. docs/fr/docs/advanced/custom-response.md

    {* ../../docs_src/response_model/tutorial001_01_py310.py ln[15:17] hl[16] *}
    
    ## Réponse HTML { #html-response }
    
    Pour renvoyer une réponse avec du HTML directement depuis **FastAPI**, utilisez `HTMLResponse`.
    
    - Importez `HTMLResponse`.
    - Passez `HTMLResponse` comme paramètre `response_class` de votre *décorateur de chemin d'accès*.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/path-operation-configuration.md

    # Path Operation Configuration { #path-operation-configuration }
    
    There are several parameters that you can pass to your *path operation decorator* to configure it.
    
    /// warning
    
    Notice that these parameters are passed directly to the *path operation decorator*, not to your *path operation function*.
    
    ///
    
    ## Response Status Code { #response-status-code }
    
    You can define the (HTTP) `status_code` to be used in the response of your *path operation*.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  10. docs/fr/docs/tutorial/path-operation-configuration.md

    # Configurer les chemins d'accès { #path-operation-configuration }
    
    Vous pouvez passer plusieurs paramètres à votre *décorateur de chemin d'accès* pour le configurer.
    
    /// warning | Alertes
    
    Notez que ces paramètres sont passés directement au *décorateur de chemin d'accès*, et non à votre *fonction de chemin d'accès*.
    
    ///
    
    ## Définir le code d'état de la réponse { #response-status-code }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.6K bytes
    - Click Count (0)
Back to Top