Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 158 for validating (0.13 sec)

  1. cmd/xl-storage-format-v1.go

    )
    
    // Valid - tells us if the format is sane by validating
    // format version and erasure coding information.
    func (m *xlMetaV1Object) valid() bool {
    	return isXLMetaFormatValid(m.Version, m.Format) &&
    		isXLMetaErasureInfoValid(m.Erasure.DataBlocks, m.Erasure.ParityBlocks)
    }
    
    // Verifies if the backend format metadata is sane by validating
    // the version string and format style.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/using-request-directly.md

    Up to now, you have been declaring the parts of the request that you need with their types.
    
    Taking data from:
    
    * The path as parameters.
    * Headers.
    * Cookies.
    * etc.
    
    And by doing so, **FastAPI** is validating that data, converting it and generating documentation for your API automatically.
    
    But there are situations where you might need to access the `Request` object directly.
    
    ## Details about the `Request` object
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

    import java.util.HashMap;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Queue;
    import java.util.Set;
    
    /**
     * Utilities for collecting and validating tester requirements from annotations.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public final class FeatureUtil {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

    import java.util.HashMap;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Queue;
    import java.util.Set;
    
    /**
     * Utilities for collecting and validating tester requirements from annotations.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public final class FeatureUtil {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/security/oauth2-scopes.md

    And then we validate that data with the Pydantic model (catching the `ValidationError` exception), and if we get an error reading the JWT token or validating the data with Pydantic, we raise the `HTTPException` we created before.
    
    For that, we update the Pydantic model `TokenData` with a new property `scopes`.
    
    By validating the data with Pydantic we can make sure that we have, for example, exactly a `list` of `str` with the scopes and a `str` with the `username`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:02:16 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. cmd/iam.go

    				iamLogIf(ctx, nerr.Err)
    			}
    		}
    	}
    
    	return nil
    }
    
    // CurrentPolicies - returns comma separated policy string, from
    // an input policy after validating if there are any current
    // policies which exist on MinIO corresponding to the input.
    func (sys *IAMSys) CurrentPolicies(policyName string) string {
    	if !sys.Initialized() {
    		return ""
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/query-params-str-validations.md

    ////
    
    ## Recap
    
    You can declare additional validations and metadata for your parameters.
    
    Generic validations and metadata:
    
    * `alias`
    * `title`
    * `description`
    * `deprecated`
    
    Validations specific for strings:
    
    * `min_length`
    * `max_length`
    * `pattern`
    
    In these examples you saw how to declare validations for `str` values.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/path-params-numeric-validations.md

    ```
    
    ////
    
    ## Recap
    
    With `Query`, `Path` (and others you haven't seen yet) you can declare metadata and string validations in the same ways as with [Query Parameters and String Validations](query-params-str-validations.md){.internal-link target=_blank}.
    
    And you can also declare numeric validations:
    
    * `gt`: `g`reater `t`han
    * `ge`: `g`reater than or `e`qual
    * `lt`: `l`ess `t`han
    * `le`: `l`ess than or `e`qual
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. docs/fr/docs/tutorial/query-params-str-validations.md

    ## Rajouter plus de validation
    
    Vous pouvez aussi rajouter un second paramètre `min_length` :
    
    {* ../../docs_src/query_params_str_validations/tutorial003.py hl[9] *}
    
    ## Ajouter des validations par expressions régulières
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:14:38 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.29.md

    that workloads (e.g. Deployments, DaemonSets, etc.) which used `PersistentDisk` volumes were using them in read-only mode.  This validation provided very little value at relatively host implementation cost, and will no longer be validated.  If this is a problem for a specific use-case, please set the `SkipReadOnlyValidationGCE` gate to false to re-enable the validation, and file a Kubernetes bug with details. ([#121083](https://github.com/kubernetes/kubernetes/pull/121083), [@thockin](https://github.com/thockin))...
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 04:37:31 UTC 2024
    - 375.1K bytes
    - Viewed (1)
Back to top