Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 238 for declareNS (0.17 sec)

  1. docs/en/docs/tutorial/path-params.md

    ```JSON
    {"item_id":"foo"}
    ```
    
    ## Path parameters with types
    
    You can declare the type of a path parameter in the function, using standard Python type annotations:
    
    ```Python hl_lines="7"
    {!../../../docs_src/path_params/tutorial002.py!}
    ```
    
    In this case, `item_id` is declared to be an `int`.
    
    !!! check
        This will give you editor support inside of your function, with error checks, completion, etc.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/internal/tasks/JvmConstants.java

         * be declared.
         *
         * @since 3.4
         */
        public static final String API_CONFIGURATION_NAME = "api";
    
        /**
         * The name of the implementation configuration, where dependencies that are only used internally by
         * a component should be declared.
         *
         * @since 3.4
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/ServiceRegistryBuilderTest.groovy

            exception.message.contains("The service '${BuildTreeScopedService.name}' declares service scope 'BuildTree' but is registered in the 'Build' scope. Either update the '@ServiceScope()' annotation on '${BuildTreeScopedService.simpleName}' to include the 'Build' scope or move the service registration to one of the declared scopes.")
        }
    
        @ServiceScope(Scope.BuildTree)
        static class BuildTreeScopedService {}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_vendor_goversion.txt

    # 'go mod vendor' failed to record dependency versions, and it has most of
    # the language features added since modules were introduced in Go 1.11.
    #
    # Even so, modules that declare 'go 1.17' and use 1.17 features spuriously fail
    # to build, and modules that declare an older version and use features from a
    # newer one spuriously build (instead of failing as they ought to).
    
    go mod vendor
    
    ! grep 1.17 vendor/modules.txt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 21:29:39 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ResolveExceptionMapper.java

                return failure;
            }
    
            ImmutableList<String> resolutions = ImmutableList.of(
                "The project declares repositories, effectively ignoring the repositories you have declared in the settings.\n" +
                    "To determine how project repositories are declared, configure your build to fail on project repositories.\n" +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:56:27 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/path-params-numeric-validations.md

    ## Order the parameters as you need
    
    !!! tip
        This is probably not as important or necessary if you use `Annotated`.
    
    Let's say that you want to declare the query parameter `q` as a required `str`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jun 01 21:05:52 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. src/go/types/labels.go

    		} else {
    			msg = "label %s not declared"
    			code = UndeclaredLabel
    		}
    		check.errorf(jmp.Label, code, msg, name)
    	}
    
    	// spec: "It is illegal to define a label that is never used."
    	for name, obj := range all.elems {
    		obj = resolve(name, obj)
    		if lbl := obj.(*Label); !lbl.used {
    			check.softErrorf(lbl, UnusedLabel, "label %s declared and not used", lbl.name)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/labels.go

    		} else {
    			msg = "label %s not declared"
    			code = UndeclaredLabel
    		}
    		check.errorf(jmp.Label, code, msg, name)
    	}
    
    	// spec: "It is illegal to define a label that is never used."
    	for name, obj := range all.elems {
    		obj = resolve(name, obj)
    		if lbl := obj.(*Label); !lbl.used {
    			check.softErrorf(lbl.pos, UnusedLabel, "label %s declared and not used", lbl.name)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/maven/MavenDependencyDescriptor.java

        /**
         * When a Maven dependency declares a classifier or type attribute, this is modelled as a 'dependency artifact'.
         * This means that instead of resolving the default artifacts for the target dependency, we'll use the one defined
         * for the dependency.
         */
        public ImmutableList<IvyArtifactName> getConfigurationArtifacts() {
            // Special handling for artifacts declared for optional dependencies
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 19:13:04 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. docs/fr/docs/advanced/additional-responses.md

    Vous pouvez déclarer un `response_model`, en utilisant le code HTTP par défaut `200` (ou un code personnalisé si vous en avez besoin), puis déclarer des informations supplémentaires pour cette même réponse dans `responses`, directement dans le schéma OpenAPI.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top