Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 347 for declarou (0.26 seconds)

  1. docs/en/docs/tutorial/query-params-str-validations.md

    ```Python
    q: Annotated[str | None, Query(min_length=3)] = None
    ```
    
    So, when you need to declare a value as required while using `Query`, you can simply not declare a default value:
    
    {* ../../docs_src/query_params_str_validations/tutorial006_an_py310.py hl[9] *}
    
    ### Required, can be `None` { #required-can-be-none }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  2. docs/pt/docs/alternatives.md

    Hug ajudou a inspirar o **FastAPI** a usar anotações de tipo do Python para declarar parâmetros e para gerar um schema definindo a API automaticamente.
    
    Hug inspirou **FastAPI** a declarar um parâmetro de `response` em funções para definir cabeçalhos e cookies.
    
    ///
    
    ### [APIStar](https://github.com/encode/apistar) (<= 0.5) { #apistar-0-5 }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 24.5K bytes
    - Click Count (0)
  3. docs/fr/docs/advanced/advanced-python-types.md

    Par exemple, vous pourriez déclarer que quelque chose peut être un `str` ou `None` :
    
    ```python
    from typing import Union
    
    
    def say_hi(name: Union[str, None]):
            print(f"Hi {name}!")
    ```
    
    `typing` propose également un raccourci pour déclarer que quelque chose peut être `None`, avec `Optional`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/dependencies/global-dependencies.md

    ps-of-path-operations }
    
    Más adelante, al leer sobre cómo estructurar aplicaciones más grandes ([Aplicaciones Más Grandes - Múltiples Archivos](../../tutorial/bigger-applications.md)), posiblemente con múltiples archivos, aprenderás cómo declarar un solo parámetro de `dependencies` para un grupo de *path operations*....
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *   <li>If there is any non-private constructor or non-private static factory method declared by
       *       {@code cls}, all non-private instance methods will be checked too using the instance
       *       created by invoking the constructor or static factory method.
       *   <li>If there is any non-private constructor or non-private static factory method declared by
       *       {@code cls}:
       *       <ul>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  6. docs/pt/docs/tutorial/server-sent-events.md

    Se você declarar o tipo de retorno como `AsyncIterable[Item]`, o FastAPI o usará para validar, documentar e serializar os dados com o Pydantic.
    
    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[10:12,23] *}
    
    /// tip | Dica
    
    Como o Pydantic fará a serialização no lado em **Rust**, você terá um desempenho muito maior do que se não declarar um tipo de retorno.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:13 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/reflect/TypeResolver.java

              // Since this is an artificially generated type variable, we don't bother checking
              // subtyping between declared type bound and actual type bound. So it's possible that we
              // may generate something like <capture#1-of ? extends Foo&SubFoo>.
              // Checking subtype between declared and actual type bounds
              // adds recursive isSubtypeOf() call and feels complicated.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 22:30:05 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  8. docs/fr/docs/tutorial/dependencies/index.md

    ///
    
    ### Importer `Depends` { #import-depends }
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *}
    
    ### Déclarer la dépendance, dans le « dependant » { #declare-the-dependency-in-the-dependant }
    
    De la même manière que vous utilisez `Body`, `Query`, etc. avec les paramètres de votre fonction de chemin d’accès, utilisez `Depends` avec un nouveau paramètre :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/body-multiple-params.md

    You can also declare singular values to be received as part of the body.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       AbstractPackageSanityTests} doesn't know how to construct, the test will fail.
       *   <li>If there is no visible constructor or visible static factory method declared by {@code
       *       C}, {@code C} is skipped for serialization test, even if it implements {@link
       *       Serializable}.
       *   <li>Serialization test is not performed on method return values unless the method is a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
Back to Top