Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 141 for validar (0.07 sec)

  1. docs/pt/docs/advanced/security/oauth2-scopes.md

    Para isso, nós atualizamos o modelo Pydantic `TokenData` com a nova propriedade `scopes`.
    
    Ao validar os dados com o Pydantic nós podemos garantir que temos, por exemplo, exatamente uma `list` de `str` com os escopos e uma `str` com o `username`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. docs/pt/docs/index.md

        * Swagger UI.
        * ReDoc.
    
    ---
    
    Voltando ao código do exemplo anterior, **FastAPI** irá:
    
    * Validar que existe um `item_id` na rota para requisições `GET` e `PUT`.
    * Validar que `item_id` é do tipo `int` para requisições `GET` e `PUT`.
        * Se não é validado, o cliente verá um útil, claro erro.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  3. docs/es/docs/advanced/security/oauth2-scopes.md

    Para eso, actualizamos el modelo de Pydantic `TokenData` con una nueva propiedad `scopes`.
    
    Al validar los datos con Pydantic podemos asegurarnos de que tenemos, por ejemplo, exactamente una `list` de `str` con los scopes y un `str` con el `username`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            // Validate special group
            violations = validator.validate(bean, SpecialGroup.class);
            assertEquals(1, violations.size());
            assertTrue(violations.iterator().next().getPropertyPath().toString().contains("specialCron"));
    
            // Validate all groups
            violations = validator.validate(bean);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/PathValidator.java

        private final Set<String> blacklistedPaths;
        private final Set<String> whitelistedPaths;
    
        /**
         * Create path validator with default settings
         */
        public PathValidator() {
            this(260, 255, true, false);
        }
    
        /**
         * Create path validator with custom settings
         *
         * @param maxPathLength maximum total path length
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/query-params-str-validations.md

    In those cases, you can use a **custom validator function** that is applied after the normal validation (e.g. after validating that the value is a `str`).
    
    You can achieve that using <a href="https://docs.pydantic.dev/latest/concepts/validators/#field-after-validator" class="external-link" target="_blank">Pydantic's `AfterValidator`</a> inside of `Annotated`.
    
    /// tip
    
    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. docs/id/docs/index.md

    Digunakan oleh Pydantic:
    
    * <a href="https://github.com/JoshData/python-email-validator" target="_blank"><code>email-validator</code></a> - untuk validasi email.
    
    Digunakan oleh Starlette:
    
    * <a href="https://www.python-httpx.org" target="_blank"><code>httpx</code></a> - Dibutuhkan jika anda menggunakan `TestClient`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. cmd/signature-v2_test.go

    			if errCode != testCase.expected {
    				t.Errorf("(%d) expected to get success, instead got %s", i, niceError(errCode))
    			}
    		}
    	}
    }
    
    // TestValidateV2AuthHeader - Tests validate the logic of V2 Authorization header validator.
    func TestValidateV2AuthHeader(t *testing.T) {
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/response-model.md

    /// info
    
    To use `EmailStr`, first install <a href="https://github.com/JoshData/python-email-validator" class="external-link" target="_blank">`email-validator`</a>.
    
    Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install it, for example:
    
    ```console
    $ pip install email-validator
    ```
    
    or with:
    
    ```console
    $ pip install "pydantic[email]"
    ```
    
    ///
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

    public class CustomSizeValidatorTest extends UnitFessTestCase {
    
        private CustomSizeValidator validator;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            validator = new CustomSizeValidator();
        }
    
        public void test_constructor() {
            assertNotNull(validator);
        }
    
        public void test_isValid_nullValue() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top