Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 329 for declare (0.07 sec)

  1. guava/src/com/google/common/collect/ImmutableMapEntry.java

       * be upcast back to ImmutableMapEntry[] (or Object[], etc.), or allowed to escape the class.
       *
       * <p>The returned array has all its elements set to their initial null values. However, we don't
       * declare it as {@code @Nullable ImmutableMapEntry[]} because our checker doesn't require newly
       * created arrays to have a {@code @Nullable} element type even when they're created directly with
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 21:42:29 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. docs/pt/docs/async.md

    Se você estiver utilizando bibliotecas de terceiros que dizem para você chamar as funções com `await`, como:
    
    ```Python
    results = await some_library()
    ```
    
    Então, declare sua *função de operação de rota* com `async def` como:
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    /// note
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/response-directly.md

    But you can still document it as described in [Additional Responses in OpenAPI](additional-responses.md){.internal-link target=_blank}.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/request-files.md

    ///
    
    /// tip | Dica
    
    Para declarar corpos de arquivos, você precisa usar `File`, caso contrário, os parâmetros seriam interpretados como parâmetros de consulta ou parâmetros de corpo (JSON).
    
    ///
    
    Os arquivos serão enviados como "dados de formulário".
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    Dans cet exemple, nous n'avons déclaré aucun modèle Pydantic. En fait, le corps de la requête n'est même pas <abbr title="converti d'un format simple, comme des octets, en objets Python">parsé</abbr> en tant que JSON, il est lu directement en tant que `bytes`, et la fonction `magic_data_reader()` serait chargé de l'analyser d'une manière ou d'une autre.
    
    Néanmoins, nous pouvons déclarer le schéma attendu pour le corps de la requête.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/dataclasses.md

    # Using Dataclasses { #using-dataclasses }
    
    FastAPI is built on top of **Pydantic**, and I have been showing you how to use Pydantic models to declare requests and responses.
    
    But FastAPI also supports using <a href="https://docs.python.org/3/library/dataclasses.html" class="external-link" target="_blank">`dataclasses`</a> the same way:
    
    {* ../../docs_src/dataclasses/tutorial001.py hl[1,7:12,19:20] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

      }
    
      @CollectionSize.Require(SEVERAL)
      @MapFeature.Require(SUPPORTS_REMOVE)
      /*
       * SetMultimap.asMap essentially returns a Map<K, Set<V>>; we just can't declare it that way.
       * Thus, calls like asMap().values().remove(someSet) are safe because they are comparing a set to
       * a collection of other sets.
       */
      @SuppressWarnings("CollectionUndefinedEquality")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/templates.md

    ```console
    $ pip install jinja2
    
    ---> 100%
    ```
    
    </div>
    
    ## Using `Jinja2Templates` { #using-jinja2templates }
    
    * Import `Jinja2Templates`.
    * Create a `templates` object that you can reuse later.
    * Declare a `Request` parameter in the *path operation* that will return a template.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. docs/fr/docs/tutorial/path-params-numeric-validations.md

    ///
    
    ## Déclarer des métadonnées
    
    Vous pouvez déclarer les mêmes paramètres que pour `Query`.
    
    Par exemple, pour déclarer une valeur de métadonnée `title` pour le paramètre de chemin `item_id`, vous pouvez écrire :
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/PredecessorsFunction.java

     * }
     *
     * <p>Graph algorithms that need additional capabilities (accessing both predecessors and
     * successors, iterating over the edges, etc.) should declare their input to be of a type that
     * provides those capabilities, such as {@link Graph}, {@link ValueGraph}, or {@link Network}.
     *
     * <h3>Additional documentation</h3>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top