Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 214 for declarar (0.04 sec)

  1. docs/pt/docs/tutorial/dependencies/sub-dependencies.md

    Esse código declara um parâmetro de consulta opcional, `q`, com o tipo `str`, e então retorna esse parâmetro.
    
    Isso é bastante simples (e não muito útil), mas irá nos ajudar a focar em como as subdependências funcionam.
    
    ## Segunda dependência, "injetável" e "dependente"
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[13] *}
    
    Let's focus on the parameters declared:
    
    * Even though this function is a dependency ("dependable") itself, it also declares another dependency (it "depends" on something else).
        * It depends on the `query_extractor`, and assigns the value returned by it to the parameter `q`.
    * It also declares an optional `last_query` cookie, as a `str`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. docs/fr/docs/advanced/additional-responses.md

    Vous pouvez déclarer un `response_model`, en utilisant le code HTTP par défaut `200` (ou un code personnalisé si vous en avez besoin), puis déclarer des informations supplémentaires pour cette même réponse dans `responses`, directement dans le schéma OpenAPI.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. docs/fr/docs/python-types.md

    {*../../docs_src/python_types/tutorial004.py hl[2] *}
    
    ## Déclarer des types
    
    Vous venez de voir là où les types sont généralement déclarés : dans les paramètres de fonctions.
    
    C'est aussi ici que vous les utiliseriez avec **FastAPI**.
    
    ### Types simples
    
    Vous pouvez déclarer tous les types  de Python, pas seulement `str`.
    
    Comme par exemple :
    
    * `int`
    * `float`
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. docs/fr/docs/tutorial/query-params-str-validations.md

    ```Python
    q: str
    ```
    
    à la place de :
    
    ```Python
    q: Union[str, None] = None
    ```
    
    Mais maintenant, on déclare `q` avec `Query`, comme ceci :
    
    ```Python
    q: Union[str, None] = Query(default=None, min_length=3)
    ```
    
    Donc pour déclarer une valeur comme requise tout en utilisant `Query`, il faut utiliser `...` comme premier argument :
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/Parameter.java

      private final ImmutableList<Annotation> annotations;
    
      /**
       * An {@code AnnotatedType} instance, or {@code null} under Android VMs (possible only when using
       * the Android flavor of Guava). The field is declared with a type of {@code Object} to avoid
       * compatibility problems on Android VMs. The corresponding accessor method, however, can have the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/security/first-steps.md

    Esse parâmetro não cria um endpoint / *path operation*, mas declara que a URL `/token` vai ser aquela que o client deve usar para obter o token. Essa informação é usada no OpenAPI, e depois na API Interativa de documentação de sistemas.
    
    Em breve também criaremos o atual path operation.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/security/first-steps.md

    * The user types the `username` and `password` in the frontend, and hits `Enter`.
    * The frontend (running in the user's browser) sends that `username` and `password` to a specific URL in our API (declared with `tokenUrl="token"`).
    * The API checks that `username` and `password`, and responds with a "token" (we haven't implemented any of this yet).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial003_py310.py hl[24] *}
    
    ...we declared the `response_model` to be our model `UserOut`, that doesn't include the password:
    
    {* ../../docs_src/response_model/tutorial003_py310.py hl[22] *}
    
    So, **FastAPI** will take care of filtering out all the data that is not declared in the output model (using Pydantic).
    
    ### `response_model` or Return Type { #response-model-or-return-type }
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/security/first-steps.md

    ///
    
    Este parámetro no crea ese endpoint / *path operation*, pero declara que la URL `/token` será la que el cliente deberá usar para obtener el token. Esa información se usa en OpenAPI, y luego en los sistemas de documentación interactiva del API.
    
    Pronto también crearemos la verdadera *path operation*.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top