Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,730 for must (0.05 sec)

  1. docs_src/path_operation_configuration/tutorial004_py39.py

        tags: set[str] = set()
    
    
    @app.post("/items/", response_model=Item, summary="Create an item")
    async def create_item(item: Item):
        """
        Create an item with all the information:
    
        - **name**: each item must have a name
        - **description**: a long description
        - **price**: required
        - **tax**: if the item doesn't have tax, you can omit this
        - **tags**: a set of unique tag strings for this item
        """
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 676 bytes
    - Viewed (0)
  2. tests/test_filter_pydantic_sub_model/app_pv1.py

        name: str
        description: Optional[str] = None
        model_b: ModelB
    
        @validator("name")
        def lower_username(cls, name: str, values):
            if not name.endswith("A"):
                raise ValueError("name must end in A")
            return name
    
    
    async def get_model_c() -> ModelC:
        return ModelC(username="test-user", password="test-password")
    
    
    @app.get("/model/{name}", response_model=ModelA)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 784 bytes
    - Viewed (0)
  3. src/clean.bash

    #!/usr/bin/env bash
    # Copyright 2009 The Go Authors. All rights reserved.
    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    set -e
    
    if [ ! -f run.bash ]; then
    	echo 'clean.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    export GOROOT="$(cd .. && pwd)"
    
    gobin="${GOROOT}"/bin
    if ! "$gobin"/go help >/dev/null 2>&1; then
    	echo 'cannot find go command; nothing to clean' >&2
    	exit 1
    fi
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Feb 26 21:54:09 UTC 2020
    - 518 bytes
    - Viewed (0)
  4. src/all.bat

    if %GOBUILDFAIL%==1...
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Apr 19 14:36:22 UTC 2023
    - 543 bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

    /**
     * Builds up the transformer context.
     * After the buildplan is ready, the build()-method returns the immutable context useful during distribution.
     * This is an inner class, as it must be able to call readRawModel()
     *
     * @since 4.0.0
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. apache-maven/src/main/appended-resources/META-INF/NOTICE.vm

    reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name...
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 10 19:27:25 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  7. internal/crypto/metadata.go

    	// MetaContext will not be present.
    	// MetaContext only contains the bucket/object name if the client explicitly
    	// added it. However, when decrypting an object the bucket/object name must
    	// be part of the object. Therefore, the bucket/object name must be added
    	// to the context, if not present, whenever a decryption is performed.
    	MetaContext = "X-Minio-Internal-Server-Side-Encryption-Context"
    
    	// ARNPrefix prefix for "arn:aws:kms"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       * to HTTP/1.1.
       */
      var protocolNegotiationEnabled: Boolean = true
    
      /**
       * The protocols supported by ALPN on incoming HTTPS connections in order of preference. The list
       * must contain [Protocol.HTTP_1_1]. It must not contain null.
       *
       * This list is ignored when [negotiation is disabled][protocolNegotiationEnabled].
       */
      var protocols: List<Protocol> = immutableListOf(Protocol.HTTP_2, Protocol.HTTP_1_1)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  9. fastapi/openapi/utils.py

    ) -> Tuple[Dict[str, Any], Dict[str, Any], Dict[str, Any]]:
        path = {}
        security_schemes: Dict[str, Any] = {}
        definitions: Dict[str, Any] = {}
        assert route.methods is not None, "Methods must be a list"
        if isinstance(route.response_class, DefaultPlaceholder):
            current_response_class: Type[Response] = route.response_class.value
        else:
            current_response_class = route.response_class
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingResult.java

         * identifier should be from the collection obtained by {@link #getModelIds()}.
         *
         * @see #getModelIds()
         * @param modelId The identifier of the desired raw model, must not be {@code null}.
         * @return The raw model or {@code null} if the specified model id does not refer to a known model.
         */
        Model getRawModel(String modelId);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top