Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 214 for declareNS (0.16 sec)

  1. docs/en/docs/advanced/security/oauth2-scopes.md

    It will always have the security scopes declared in the current `Security` dependencies and all the dependants for **that specific** *path operation* and **that specific** dependency tree.
    
    Because the `SecurityScopes` will have all the scopes declared by dependants, you can use it to verify that a token has the required scopes in a central dependency function, and then declare different scope requirements in different *path operations*.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoriesDeclaredInSettingsIntegrationTest.groovy

            then:
            failure.assertHasCause("Mutation of repositories declared in settings is only allowed during settings evaluation")
        }
    
        /**
         * the `buildSrc` directory behaves like an included build. As such, it may have its own settings,
         * so repositories declared in the main build shouldn't be visible to buildSrc.
         */
        def "repositories declared in settings shouldn't be used to resolve dependencies in buildSrc"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:56:27 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/path-params.md

    ```JSON
    {"item_id":"foo"}
    ```
    
    ## Paramètres de chemin typés
    
    Vous pouvez déclarer le type d'un paramètre de chemin dans la fonction, en utilisant les annotations de type Python :
    
    
    ```Python hl_lines="7"
    {!../../../docs_src/path_params/tutorial002.py!}
    ```
    
    Ici, `item_id` est déclaré comme `int`.
    
    !!! check "vérifier"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/KtVariableLikeSymbol.kt

     *
     * The type of the enum entry is the enum class itself. The members declared in an enum entry's body are local to the body and cannot be
     * accessed from the outside. Hence, while it might look like enum entries can declare their own members (see the example below), they do
     * not have a (declared) member scope.
     *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/response-model.md

    ## `response_model` Parameter
    
    There are some cases where you need or want to return some data that is not exactly what the type declares.
    
    For example, you could want to **return a dictionary** or a database object, but **declare it as a Pydantic model**. This way the Pydantic model would do all the data documentation, validation, etc. for the object that you returned (e.g. a dictionary or database object).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. src/go/types/resolver.go

    		check.error(ident, InvalidInitDecl, "cannot declare init - must be func")
    		return
    	}
    
    	// spec: "The main package must have package name main and declare
    	// a function main that takes no arguments and returns no value."
    	if ident.Name == "main" && check.pkg.name == "main" {
    		check.error(ident, InvalidMainDecl, "cannot declare main - must be func")
    		return
    	}
    
    	check.declare(check.pkg.scope, ident, obj, nopos)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/signature.go

    	sig.scope = check.scope
    	defer check.closeScope()
    
    	if recvPar != nil {
    		// collect generic receiver type parameters, if any
    		// - a receiver type parameter is like any other type parameter, except that it is declared implicitly
    		// - the receiver specification acts as local declaration for its type parameters, which may be blank
    		_, rname, rparams := check.unpackRecv(recvPar.Type, true)
    		if len(rparams) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:33:05 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/resolver.go

    		check.error(ident, InvalidInitDecl, "cannot declare init - must be func")
    		return
    	}
    
    	// spec: "The main package must have package name main and declare
    	// a function main that takes no arguments and returns no value."
    	if ident.Value == "main" && check.pkg.name == "main" {
    		check.error(ident, InvalidMainDecl, "cannot declare main - must be func")
    		return
    	}
    
    	check.declare(check.pkg.scope, ident, obj, nopos)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/internal/component/ResolutionFailureHandlerIntegrationTest.groovy

           - Configuration ':myElements' declares attribute 'color' with value 'blue':
               - Incompatible because this component declares attribute 'artifactType' with value 'jar' and the consumer needed attribute 'artifactType' with value 'dll'
           - Configuration ':myElements' variant secondary declares attribute 'color' with value 'blue':
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 45K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/Closer.java

       *
       * @return this method does not return; it always throws
       * @throws IOException when the given throwable is an IOException
       * @throws X1 when the given throwable is of the declared type X1
       * @throws X2 when the given throwable is of the declared type X2
       */
      public <X1 extends Exception, X2 extends Exception> RuntimeException rethrow(
          Throwable e, Class<X1> declaredType1, Class<X2> declaredType2) throws IOException, X1, X2 {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top