Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 214 for declarar (0.04 sec)

  1. docs/es/docs/async.md

    Si tienes bastante conocimiento técnico (coroutines, hilos, bloqueo, etc.) y tienes curiosidad sobre cómo FastAPI maneja `async def` vs `def` normal, adelante.
    
    ///
    
    ### Funciones de *path operation*
    
    Cuando declaras una *path operation function* con `def` normal en lugar de `async def`, se ejecuta en un threadpool externo que luego es esperado, en lugar de ser llamado directamente (ya que bloquearía el servidor).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/MethodUtil.java

                    && method.getParameterTypes().length == 0;
        }
    
        /**
         * Returns the element type of the parameterized collection declared as the method's argument type.
         *
         * @param method
         *            The method. Cannot be {@literal null}
         * @param position
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/body.md

    ```JSON
    {
        "name": "Foo",
        "price": 45.2
    }
    ```
    
    ## Déclarez-le comme paramètre
    
    Pour l'ajouter à votre *opération de chemin*, déclarez-le comme vous déclareriez des paramètres de chemin ou de requête :
    
    {* ../../docs_src/body/tutorial001.py hl[18] *}
    
    ...et déclarez que son type est le modèle que vous avez créé : `Item`.
    
    ## Résultats
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/security/oauth2-scopes.md

    ///
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[157] *}
    
    ## Declare scopes in *path operations* and dependencies { #declare-scopes-in-path-operations-and-dependencies }
    
    Now we declare that the *path operation* for `/users/me/items/` requires the scope `items`.
    
    For this, we import and use `Security` from `fastapi`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. docs/fr/docs/async.md

    Pour que `await` fonctionne, il doit être placé dans une fonction qui supporte l'asynchronicité. Pour que ça soit le cas, il faut déclarer cette dernière avec `async def` :
    
    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # Opérations asynchrones pour créer les burgers
        return burgers
    ```
    
    ...et non `def` :
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/query-params-str-validations.md

    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_py39.py hl[9] *}
    
    ### Required, can be `None` { #required-can-be-none }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

            verifyNoInteractions(mocked);
        }
    
        // Reflection-based check: ensure serialVersionUID remains the declared constant
        @Test
        @DisplayName("serialVersionUID matches declared constant")
        void serialVersionUID_hasExpectedValue() throws Exception {
            // Arrange
            Field f = SMBSignatureValidationException.class.getDeclaredField("serialVersionUID");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Invokable.java

      }
    
      /**
       * Returns {@code true} if this is an overridable method. Constructors, private, static or final
       * methods, or methods declared by final classes are not overridable.
       */
      public abstract boolean isOverridable();
    
      /** Returns {@code true} if this was declared to take a variable number of arguments. */
      public abstract boolean isVarArgs();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  9. 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>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  10. docs/pt/docs/index.md

    * A documentação alternativa também irá refletir o novo parâmetro da _query_ e o corpo:
    
    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-06-redoc-02.png)
    
    ### Recapitulando
    
    Resumindo, você declara **uma vez** os tipos dos parâmetros, corpo etc. como parâmetros de função.
    
    Você faz isso com os tipos padrão do Python moderno.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.6K bytes
    - Viewed (0)
Back to top