Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 400 for declares (0.09 sec)

  1. docs/en/docs/tutorial/body.md

    ```JSON
    {
        "name": "Foo",
        "price": 45.2
    }
    ```
    
    ## Declare it as a parameter
    
    To add it to your *path operation*, declare it the same way you declared path and query parameters:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[16] *}
    
    ...and declare its type as the model you created, `Item`.
    
    ## Results
    
    With just that Python type declaration, **FastAPI** will:
    
    * Read the body of the request as JSON.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:58:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. docs/fr/docs/tutorial/body-multiple-params.md

    Encore une fois, cela convertira les types de données, les validera, permettra de générer la documentation, etc...
    
    ## Paramètres multiples body et query
    
    Bien entendu, vous pouvez déclarer autant de paramètres que vous le souhaitez, en plus des paramètres body déjà déclarés.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

     *
     * <p>The declaration methods must be public.
     */
    @AndroidIncompatible // only used by android incompatible tests.
    abstract class SubtypeTester implements Cloneable {
    
      /** Annotates a public method that declares subtype assertion. */
      @RequiredModifiers(Modifier.PUBLIC)
      @Retention(RetentionPolicy.RUNTIME)
      @Target(ElementType.METHOD)
      @interface TestSubtype {
        /** Suppresses the assertion on {@link TypeToken#getSubtype}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/first-steps.md

    ///
    
    This parameter doesn't create that endpoint / *path operation*, but declares that the URL `/token` will be the one that the client should use to get the token. That information is used in OpenAPI, and then in the interactive API documentation systems.
    
    We will soon also create the actual path operation.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:21:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      // +optional
      optional ParamRef paramRef = 2;
    
      // MatchResources declares what resources match this binding and will be validated by it.
      // Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/response-model.md

    ## `response_model` Parameter
    
    There are some cases where you need or want to return some data that is not exactly what the type declares.
    
    For example, you could want to **return a dictionary** or a database object, but **declare it as a Pydantic model**. This way the Pydantic model would do all the data documentation, validation, etc. for the object that you returned (e.g. a dictionary or database object).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  8. doc/asm.html

    ...
    DATA divtab&lt;&gt;+0x3c(SB)/4, $0x81828384
    GLOBL divtab&lt;&gt;(SB), RODATA, $64
    
    GLOBL runtime·tlsoffset(SB), NOPTR, $4
    </pre>
    
    <p>
    declares and initializes <code>divtab&lt;&gt;</code>, a read-only 64-byte table of 4-byte integer values,
    and declares <code>runtime·tlsoffset</code>, a 4-byte, implicitly zeroed variable that
    contains no pointers.
    </p>
    
    <p>
    There may be one or two arguments to the directives.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/sql-databases.md

    Because each SQLModel model is also a Pydantic model, you can use it in the same **type annotations** that you could use Pydantic models.
    
    For example, if you declare a parameter of type `Hero`, it will be read from the **JSON body**.
    
    The same way, you can declare it as the function's **return type**, and then the shape of the data will show up in the automatic API docs UI.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * declaration of a method with the same name and formal parameters as {@link Object#equals} that
       * is not public and boolean-returning, or that declares any type parameters, would be rejected at
       * compile-time.
       */
      private static boolean isEquals(Member member) {
        if (!(member instanceof Method)) {
          return false;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top