Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 490 for declares (0.03 sec)

  1. docs/en/docs/advanced/response-change-status-code.md

    And if you declared a `response_model`, it will still be used to filter and convert the object you returned.
    
    **FastAPI** will use that *temporal* response to extract the status code (also cookies and headers), and will put them in the final response that contains the value you returned, filtered by any `response_model`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/path-params-numeric-validations.md

    ///
    
    ## Declare metadados { #declare-metadata }
    
    Você pode declarar todos os mesmos parâmetros que em `Query`.
    
    Por exemplo, para declarar um valor de metadado `title` para o parâmetro de path `item_id` você pode digitar:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[10] *}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/header-param-models.md

    Isso vai lhe permitir **reusar o modelo** em **múltiplos lugares** e também declarar validações e metadados para todos os parâmetros de uma vez. 😎
    
    /// note | Nota
    
    Isso é possível desde a versão `0.115.0` do FastAPI. 🤓
    
    ///
    
    ## Parâmetros do Cabeçalho com um Modelo Pydantic { #header-parameters-with-a-pydantic-model }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/response-model.md

    Dessa forma, você diz ao editor que está retornando qualquer coisa intencionalmente. Mas o FastAPI ainda fará a documentação de dados, validação, filtragem, etc. com o `response_model`.
    
    ///
    
    ### Prioridade `response_model` { #response-model-priority }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.4.md

    * Bump cadvisor dependencies to latest head.  ([#29492](https://github.com/kubernetes/kubernetes/pull/29492), [@Random-Liu](https://github.com/Random-Liu))
    * If a service of type node port declares multiple ports, quota on "services.nodeports" will charge for each port in the service. ([#29457](https://github.com/kubernetes/kubernetes/pull/29457), [@derekwaynecarr](https://github.com/derekwaynecarr))
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 133.5K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/path-params-numeric-validations.md

    ///
    
    ## Declare metadata { #declare-metadata }
    
    You can declare all the same parameters as for `Query`.
    
    For example, to declare a `title` metadata value for the path parameter `item_id` you can type:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[10] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/body-nested-models.md

    Esto hará que `tags` sea una lista, aunque no declare el tipo de los elementos de la lista.
    
    ## Campos de lista con parámetro de tipo { #list-fields-with-type-parameter }
    
    Pero Python tiene una forma específica de declarar listas con tipos internos, o "parámetros de tipo":
    
    ### Declarar una `list` con un parámetro de tipo { #declare-a-list-with-a-type-parameter }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/Closer.java

       *
       * @return this method does not return; it always throws
       * @throws IOException when the given throwable is an IOException
       * @throws X1 when the given throwable is of the declared type X1
       * @throws X2 when the given throwable is of the declared type X2
       */
      public <X1 extends Exception, X2 extends Exception> RuntimeException rethrow(
          Throwable e, Class<X1> declaredType1, Class<X2> declaredType2) throws IOException, X1, X2 {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/response-headers.md

    You can declare a parameter of type `Response` in your *path operation function* (as you can do for cookies).
    
    And then you can set headers in that *temporal* response object.
    
    {* ../../docs_src/response_headers/tutorial002_py39.py hl[1, 7:8] *}
    
    And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/body-multiple-params.md

    Por ejemplo, ampliando el modelo anterior, podrías decidir que deseas tener otra clave `importance` en el mismo cuerpo, además de `item` y `user`.
    
    Si lo declaras tal cual, debido a que es un valor singular, **FastAPI** asumirá que es un parámetro de query.
    
    Pero puedes instruir a **FastAPI** para que lo trate como otra clave del cuerpo usando `Body`:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top