Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 852 for declareNS (0.16 sec)

  1. docs/en/docs/advanced/response-change-status-code.md

    And if you declared a `response_model`, it will still be used to filter and convert the object you returned.
    
    **FastAPI** will use that *temporal* response to extract the status code (also cookies and headers), and will put them in the final response that contains the value you returned, filtered by any `response_model`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jan 11 16:31:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/body-multiple-params.md

    You can also declare singular values to be received as part of the body.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jun 09 02:01:51 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/vardecl.go

    		var x2 /* ERROR "declared and not used" */ int
    		x1 = 1
    		(x2) = 2
    
    		y1 /* ERROR "declared and not used" */ := 1
    		y2 /* ERROR "declared and not used" */ := 2
    		y1 = 1
    		(y1) = 2
    	}
    
    	if x /* ERROR "declared and not used" */ := 0; a < b {}
    
    	switch x /* ERROR "declared and not used" */, y := 0, 1; a {
    	case 0:
    		_ = y
    	case 1:
    		x /* ERROR "declared and not used" */ := 0
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. src/internal/types/testdata/fixedbugs/issue45639.go

    // license that can be found in the LICENSE file.
    
    package P
    
    // For now, a lone type parameter is not permitted as RHS in a type declaration (issue #45639).
    // // It is not permitted to declare a local type whose underlying
    // // type is a type parameters not declared by that type declaration.
    // func _[T any]() {
    // 	type _ T         // ERROR "cannot use function type parameter T as RHS in type declaration"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 623 bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesInSettingsIntegrationTest.groovy

                }
            }
            run ':checkDeps'
    
            then:
            outputContains 'Rule from settings applied on org:module:1.0'
        }
    
        def "doesn't apply rules from settings if project declares rules"() {
            withLoggingRuleInSettings()
            repository {
                'org:module:1.0'()
            }
            buildFile << """
                dependencies {
                    conf 'org:module:1.0'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top