- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,660 for declareNS (0.16 sec)
-
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) -
platforms/jvm/language-jvm/src/main/java/org/gradle/api/plugins/FeatureSpec.java
*/ @HasInternalProtocol public interface FeatureSpec { /** * Declares the source set which this feature is built from. * @param sourceSet the source set */ void usingSourceSet(SourceSet sourceSet); /** * Declares a capability of this feature. * <p> * Calling this method multiple times will declare <i>additional</i> * capabilities. Note that calling this method will drop the default
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 12 18:44:49 UTC 2023 - 2.6K bytes - Viewed (0) -
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) -
docs/en/docs/advanced/response-headers.md
## Use a `Response` parameter You can declare a parameter of type `Response` in your *path operation function* (as you can do for cookies). And then you can set headers in that *temporal* response object. ```Python hl_lines="1 7-8" {!../../../docs_src/response_headers/tutorial002.py!} ``` And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Jan 11 16:31:18 UTC 2024 - 2.2K bytes - Viewed (0) -
docs/en/docs/advanced/response-cookies.md
## Use a `Response` parameter You can declare a parameter of type `Response` in your *path operation function*. And then you can set cookies in that *temporal* response object. ```Python hl_lines="1 8-9" {!../../../docs_src/response_cookies/tutorial002.py!} ``` And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Jan 11 16:31:18 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/core_dependency_management.adoc
==== <1> *Here we define repositories for the project.* <2> *Here we declare remote and local repositories for dependency locations.* + You can <<declaring_repositories.adoc#declaring-repositories,declare _repositories_>> to tell Gradle where to fetch local or remote _dependencies_. +
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 29 17:38:38 UTC 2023 - 4.6K bytes - Viewed (0) -
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) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go
// Keep imports. case token.VAR, token.CONST: // Blank the declared var/const names. for _, spec := range decl.Specs { spec := spec.(*ast.ValueSpec) for i := range spec.Names { spec.Names[i].Name = "_" } } } case *ast.FuncDecl: // Blank the declared func name. decl.Name.Name = "_" // Turn a method receiver: func (T) f(P) R {...}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 11.2K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/DependencyConstraintHandler.java
* @param configureAction The closure to use to configure the dependency. */ DependencyConstraint create(Object dependencyConstraintNotation, Action<? super DependencyConstraint> configureAction); /** * Declares a constraint on an enforced platform. If the target coordinates represent multiple * potential components, the platform component will be selected, instead of the library.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 23 15:47:10 UTC 2020 - 3.5K bytes - Viewed (0) -
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)