Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 797 for declErr (0.16 sec)

  1. platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-crossProjectPublications-advanced/groovy/producer/build.gradle

    import org.gradle.api.attributes.java.TargetJvmVersion
    
    plugins {
        id 'java-library'
    }
    
    // tag::declare-outgoing-configuration[]
    configurations {
        instrumentedJars {
            canBeConsumed = true
            canBeResolved = false
            attributes {
                attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, Category.LIBRARY))
                attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage, Usage.JAVA_RUNTIME))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. docs/en/docs/python-types.md

    ```Python hl_lines="2"
    {!../../../docs_src/python_types/tutorial004.py!}
    ```
    
    ## Declaring types
    
    You just saw the main place to declare type hints. As function parameters.
    
    This is also the main place you would use them with **FastAPI**.
    
    ### Simple types
    
    You can declare all the standard Python types, not only `str`.
    
    You can use, for example:
    
    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/path-operation-advanced-configuration.md

    {!../../../docs_src/path_operation_advanced_configuration/tutorial004.py!}
    ```
    
    ## Additional Responses
    
    You probably have seen how to declare the `response_model` and `status_code` for a *path operation*.
    
    That defines the metadata about the main response of a *path operation*.
    
    You can also declare additional responses with their models, status codes, etc.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. hack/lib/util.sh

    #  $ declare -p W X Y Z
    #  declare -- W="abc"
    #  declare -a X=([0]="1 1" [1]="2 2" [2]="3 3")
    #  declare -A Y
    #  declare -a Z=([0]="1 1" [1]="2 2" [2]="3 3")
    function kube::util::read-array {
      if [[ -z "$1" ]]; then
        echo "usage: ${FUNCNAME[0]} <varname>" >&2
        return 1
      fi
      if [[ -n $(declare -p "$1" 2>/dev/null) ]]; then
        if ! declare -p "$1" 2>/dev/null | grep -q '^declare -a'; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:33 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/body-multiple-params.md

    ## Mix `Path`, `Query` and body parameters
    
    First, of course, you can mix `Path`, `Query` and request body parameter declarations freely and **FastAPI** will know what to do.
    
    And you can also declare body parameters as optional, by setting the default to `None`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="18-20"
        {!> ../../../docs_src/body_multiple_params/tutorial001_an_py310.py!}
        ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jun 09 02:01:51 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-declaringCapabilities/kotlin/build.gradle.kts

        override
        fun execute(context: ComponentMetadataContext) = context.details.run {
            if (loggingModules.contains(id.name)) {
                allVariants {
                    withCapabilities {
                        // Declare that both log4j and log4j-over-slf4j provide the same capability
                        addCapability("log4j", "log4j", id.version)
                    }
                }
            }
        }
    }
    // end::declare_capability[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/ManagedProperty.java

     * types declaring the struct only specify the property via a getter, then the managed property will be read-only. However, if
     * even one of the view types declare a setter for the property, it will be a read-write property. </p>
     *
     * <p>Different views can declare the same getter with different return types. In such a case the type of the managed property
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. src/go/ast/resolve.go

    					p.declare(fileScope, pkgScope, obj)
    				}
    			} else if name != "_" {
    				// declare imported package object in file scope
    				// (do not re-use pkg in the file scope but create
    				// a new object instead; the Decl field is different
    				// for different files)
    				obj := NewObj(Pkg, name)
    				obj.Decl = spec
    				obj.Data = pkg.Data
    				p.declare(fileScope, pkgScope, obj)
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/verification/serializer/DependencyVerificationsXmlWriterTest.groovy

       </configuration>
       <components/>
    </verification-metadata>
    """
            and:
            hasNamespaceDeclaration()
    
            and:
            validateAgainstSchemasSince("1.3")
        }
    
        def "can declare key servers"() {
            when:
            builder.addKeyServer(new URI("https://pgp.key-server.io"))
            builder.addKeyServer(new URI("hkp://keys.openpgp.org"))
            serialize()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 13:40:00 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  10. hack/get-build.sh

    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    
    source "${KUBE_ROOT}/cluster/common.sh"
    
    declare -r KUBE_RELEASE_BUCKET_URL="https://dl.k8s.io/"
    declare -r KUBE_DEV_RELEASE_BUCKET_URL="https://storage.googleapis.com/k8s-release-dev"
    declare -r KUBE_TAR_NAME="kubernetes.tar.gz"
    
    usage() {
      echo "${0} [-v] <version number or publication>"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 13 10:57:41 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top