Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 797 for declErr (0.2 sec)

  1. platforms/documentation/docs/src/snippets/dependencyManagement/attributeMatching/groovy/build.gradle

    plugins {
        id 'java-library'
    }
    
    // tag::declare-configuration[]
    configurations {
        // declare a "configuration" named "someConfiguration"
        someConfiguration
    }
    dependencies {
        // add a project dependency to the "someConfiguration" configuration
        someConfiguration project(":lib")
    }
    // end::declare-configuration[]
    
    // tag::concrete-classpath[]
    configurations {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/body-fields.md

    # Body - Fields
    
    The same way you can declare additional validation and metadata in *path operation function* parameters with `Query`, `Path` and `Body`, you can declare validation and metadata inside of Pydantic models using Pydantic's `Field`.
    
    ## Import `Field`
    
    First, you have to import it:
    
    === "Python 3.10+"
    
        ```Python hl_lines="4"
        {!> ../../../docs_src/body_fields/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/dependencyManagement/attributeMatching/kotlin/build.gradle.kts

    plugins {
        `java-library`
    }
    
    // tag::declare-configuration[]
    // declare a "configuration" named "someConfiguration"
    val someConfiguration by configurations.creating
    
    dependencies {
        // add a project dependency to the "someConfiguration" configuration
        someConfiguration(project(":lib"))
    }
    // end::declare-configuration[]
    
    // tag::concrete-classpath[]
    configurations {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. test-site/activator

    ###  ------------------------------- ###
    
    declare -a residual_args
    declare -a java_args
    declare -a app_commands
    declare -r real_script_path="$(realpath "$0")"
    declare -r activator_home="$(realpath "$(dirname "$real_script_path")")"
    declare -r app_version="1.3.2"
    
    declare -r app_launcher="${activator_home}/activator-launch-${app_version}.jar"
    declare -r script_name=activator
    java_cmd=$(get_java_cmd)
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 9.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeDeclarationIntegrationTest.groovy

        MavenHttpPluginRepository pluginPortal = MavenHttpPluginRepository.asGradlePluginPortal(executer, mavenRepo)
    
        @Rule
        MavenHttpPluginRepository mavenHttpRepo = new MavenHttpPluginRepository(mavenRepo)
    
        def 'can declare and configure a custom software type from included build'() {
            given:
            withSoftwareTypePlugins().prepareToExecute()
    
            file("settings.gradle.dcl") << pluginsFromIncludedBuild
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 19 16:59:01 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body-nested-models.md

        ```
    
    This will make `tags` be a list, although it doesn't declare the type of the elements of the list.
    
    ## List fields with type parameter
    
    But Python has a specific way to declare lists with internal types, or "type parameters":
    
    ### Import typing's `List`
    
    In Python 3.9 and above you can use the standard `list` to declare these type annotations as we'll see below. 💡
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/request-forms-and-files.md

    E você pode declarar alguns dos arquivos como `bytes` e alguns como `UploadFile`.
    
    !!! warning "Aviso"
        Você pode declarar vários parâmetros `File` e `Form` em uma *operação de caminho*, mas não é possível declarar campos `Body` para receber como JSON, pois a requisição terá o corpo codificado usando `multipart/form-data` ao invés de `application/json`.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:02:19 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/decls5.go

    // license that can be found in the LICENSE file.
    
    package main
    
    // declarations of main
    const _, main /* ERROR "cannot declare main" */ , _ = 0, 1, 2
    type main /* ERROR "cannot declare main" */ struct{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 363 bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/query-params.md

    
    ## Multiple path and query parameters
    
    You can declare multiple path parameters and query parameters at the same time, **FastAPI** knows which is which.
    
    And you don't have to declare them in any specific order.
    
    They will be detected by name:
    
    === "Python 3.10+"
    
        ```Python hl_lines="6  8"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Oct 20 09:08:42 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. hack/cherry_pick_pull.sh

      exit 1
    fi
    
    declare -r BRANCH="$1"
    shift 1
    declare -r PULLS=( "$@" )
    
    function join { local IFS="$1"; shift; echo "$*"; }
    PULLDASH=$(join - "${PULLS[@]/#/#}") # Generates something like "#12345-#56789"
    declare -r PULLDASH
    PULLSUBJ=$(join " " "${PULLS[@]/#/#}") # Generates something like "#12345 #56789"
    declare -r PULLSUBJ
    
    echo "+++ Updating remotes..."
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jun 26 03:51:05 UTC 2022
    - 8.9K bytes
    - Viewed (0)
Back to top