Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 116 for undefined (0.23 sec)

  1. fastapi/utils.py

            new_field.key_field = create_cloned_field(  # type: ignore[attr-defined]
                field.key_field,  # type: ignore[attr-defined]
                cloned_types=cloned_types,
            )
        new_field.validators = field.validators  # type: ignore[attr-defined]
        new_field.pre_validators = field.pre_validators  # type: ignore[attr-defined]
        new_field.post_validators = field.post_validators  # type: ignore[attr-defined]
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  2. fastapi/params.py

    from ._compat import PYDANTIC_V2, PYDANTIC_VERSION, Undefined
    
    _Unset: Any = Undefined
    
    
    class ParamTypes(Enum):
        query = "query"
        header = "header"
        path = "path"
        cookie = "cookie"
    
    
    class Param(FieldInfo):
        in_: ParamTypes
    
        def __init__(
            self,
            default: Any = Undefined,
            *,
            default_factory: Union[Callable[[], Any], None] = _Unset,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 27.5K bytes
    - Viewed (1)
  3. fastapi/_compat.py

            Required as Required,  # noqa: F401
        )
        from pydantic.fields import (  # type: ignore[no-redef,attr-defined]
            Undefined as Undefined,
        )
        from pydantic.fields import (  # type: ignore[no-redef, attr-defined]
            UndefinedType as UndefinedType,  # noqa: F401
        )
        from pydantic.schema import (
            field_schema,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. .cm/plugins/filters/readField/index.js

     */
    
    function readField(objects, objectName, fieldName) {
        let group = Object.values(objects).find(s => s.name === objectName);
        if (group) {
            const result = group[fieldName];
            if (result === undefined) {
                throw "readField: field '" + fieldName + "' not found on object named '" + objectName + "' with fields '" + Object.keys(group) + "'";
            } else {
                return result;
            }
        } else {
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1K bytes
    - Viewed (0)
  5. fastapi/param_functions.py

    from typing import Any, Callable, Dict, List, Optional, Sequence, Union
    
    from fastapi import params
    from fastapi._compat import Undefined
    from fastapi.openapi.models import Example
    from typing_extensions import Annotated, Doc, deprecated
    
    _Unset: Any = Undefined
    
    
    def Path(  # noqa: N802
        default: Annotated[
            Any,
            Doc(
                """
                Default value if the parameter field is not set.
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  6. tests/test_jsonable_encoder.py

            test: str
    
        dq = deque([Model(test="test")])
    
        assert jsonable_encoder(dq)[0]["test"] == "test"
    
    
    @needs_pydanticv2
    def test_encode_pydantic_undefined():
        data = {"value": Undefined}
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 9K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/ppc64.s

    	BCL 20,undefined_symbol,LR      // BCL $20,CR0LT,LR // 4e800021
    	BCL 20,undefined_symbol+1,LR    // BCL $20,CR0GT,LR // 4e810021
    
    	// Verify the supported forms of bcctr[l]
    	BC $20,CR0LT,CTR                // 4e800420
    	BC $20,CR0GT,CTR                // 4e810420
    	BC 20,CR0LT,CTR                 // BC $20,CR0LT,CTR // 4e800420
    	BC 20,undefined_symbol,CTR      // BC $20,CR0LT,CTR // 4e800420
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Ordering.java

       * Ordering.from(comp1).compound(comp2).compound(comp3) . . .}.
       *
       * <p>The returned object is serializable if each of the {@code comparators} is serializable.
       *
       * <p><b>Warning:</b> Supplying an argument with undefined iteration order, such as a {@link
       * HashSet}, will produce non-deterministic results.
       *
       * <p><b>Java 8+ users:</b> Use a chain of calls to {@link Comparator#thenComparing(Comparator)},
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  9. cmd/s3-zip-handlers.go

    	if crypto.S3.IsRequested(r.Header) || crypto.S3KMS.IsRequested(r.Header) { // If SSE-S3 or SSE-KMS present -> AWS fails with undefined error
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrBadRequest), r.URL)
    		return
    	}
    
    	zipPath, object, err := splitZipExtensionPath(object)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Sets.java

       * contains all elements that are contained in either {@code set1} or {@code set2} but not in
       * both. The iteration order of the returned set is undefined.
       *
       * <p>Results are undefined if {@code set1} and {@code set2} are sets based on different
       * equivalence relations, for example if {@code set1} is a {@link HashSet} and {@code set2} is a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
Back to top