Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 588 for validate (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_datastructures.py

    from fastapi.datastructures import Default
    from fastapi.testclient import TestClient
    
    
    def test_upload_file_invalid_pydantic_v2():
        with pytest.raises(ValueError):
            UploadFile._validate("not a Starlette UploadFile", {})
    
    
    def test_default_placeholder_equals():
        placeholder_1 = Default("a")
        placeholder_2 = Default("a")
        assert placeholder_1 == placeholder_2
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Security-focused test cases for BufferCache to verify buffer overflow protection.
     */
    public class BufferCacheSecurityTest {
    
        /**
         * Test that buffer allocation validates size to prevent overflow.
         */
        @Test
        public void testBufferSizeValidation() {
            // When - Get a buffer
            byte[] buffer = BufferCache.getBuffer();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/query-params-str-validations.md

    Você pode fazer isso usando o [`AfterValidator` do Pydantic](https://docs.pydantic.dev/latest/concepts/validators/#field-after-validator) dentro de `Annotated`.
    
    /// tip | Dica
    
    O Pydantic também tem [`BeforeValidator`](https://docs.pydantic.dev/latest/concepts/validators/#field-before-validator) e outros. 🤓
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  4. docs/tr/docs/tutorial/body-fields.md

    /// warning | Uyarı
    
    `Field`'a geçirilen ekstra key'ler, uygulamanız için üretilen OpenAPI schema'sında da yer alır.
    Bu key'ler OpenAPI spesifikasyonunun bir parçası olmak zorunda olmadığından, örneğin [OpenAPI validator](https://validator.swagger.io/) gibi bazı OpenAPI araçları üretilen schema'nızla çalışmayabilir.
    
    ///
    
    ## Özet { #recap }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 15:43:38 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  5. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/CoreExtensions.java

    import org.apache.maven.api.cli.extensions.CoreExtension;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * Represents the list of core extensions configured at one source. The list is validated (are GA unique), but no
     * other logic than that is applied.
     *
     * @since 4.0.0
     * @param source The source file of core extensions, is never {@code null}.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 13 12:50:59 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. docs/pt/docs/advanced/using-request-directly.md

    Embora qualquer outro parâmetro declarado normalmente (o corpo da requisição com um modelo Pydantic, por exemplo) ainda seria validado, convertido, anotado, etc.
    
    Mas há situações específicas onde é útil utilizar o objeto `Request`.
    
    ## Utilize o objeto `Request` diretamente { #use-the-request-object-directly }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  7. guava/src/com/google/common/cache/AbstractCache.java

      }
    
      @Override
      public void invalidate(Object key) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * @since 11.0
       */
      @Override
      // For discussion of <? extends Object>, see getAllPresent.
      public void invalidateAll(Iterable<? extends Object> keys) {
        for (Object key : keys) {
          invalidate(key);
        }
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  8. docs/es/docs/advanced/using-request-directly.md

    Aunque cualquier otro parámetro declarado normalmente (por ejemplo, el cuerpo con un modelo de Pydantic) seguiría siendo validado, convertido, anotado, etc.
    
    Pero hay casos específicos donde es útil obtener el objeto `Request`.
    
    ## Usa el objeto `Request` directamente { #use-the-request-object-directly }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/resources/test/ssl/README.md

    The certificates are generated using catch-all SAN in the following procedure:
    
    1. Generate the node's keystore:
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.5K bytes
    - Click Count (0)
  10. docs/fr/docs/tutorial/query-params-str-validations.md

    Vous pouvez y parvenir en utilisant [`AfterValidator` de Pydantic](https://docs.pydantic.dev/latest/concepts/validators/#field-after-validator) à l’intérieur de `Annotated`.
    
    /// tip | Astuce
    
    Pydantic a aussi [`BeforeValidator`](https://docs.pydantic.dev/latest/concepts/validators/#field-before-validator) et d’autres. 🤓
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 19K bytes
    - Click Count (0)
Back to Top