Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 324 for 20something (0.11 sec)

  1. docs/en/docs/tutorial/first-steps.md

    !!! info "`@decorator` Info"
        That `@something` syntax in Python is called a "decorator".
    
        You put it on top of a function. Like a pretty decorative hat (I guess that's where the term came from).
    
        A "decorator" takes the function below and does something with it.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 12K bytes
    - Viewed (1)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractDirectorySensitivityIntegrationSpec.groovy

                    abstract DirectoryProperty getSources()
    
                    @OutputFile
                    abstract RegularFileProperty getOutputFile()
    
                    @TaskAction
                    void doSomething() {
                        outputFile.get().asFile.text = "executed"
                    }
                }
    
                tasks.register("taskWithInputs", TaskWithInputs) {
                    sources.set(file("inputDir"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyModuleResolveIntegrationTest.groovy

                .configuration('something')
                .dependsOn(b, conf: 'something->unknown')
                .publish()
    
            buildFile << """
    configurations {
        compile
    }
    repositories {
        ivy { url "${ivyRepo.uri}" }
    }
    dependencies {
        compile group: 'test', name: 'target', version: '1.0', configuration: 'something'
    }
    task retrieve(type: Sync) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 19:13:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/report/DefaultTestReportTest.groovy

            def failingTestDetails = failingClassFile.testDetails('failed')
            failingTestDetails.assertDuration("1.000s")
            failingTestDetails.assertFailed()
    
            failingClassFile.assertHasFailure('failed', 'something failed\n\nthis is the failure\nat someClass\n')
    
            where:
            numThreads << [1, 4]
        }
    
        def "aggregate same tests run with different results - #numThreads parallel thread(s)"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  5. src/net/conf.go

    		return fallbackOrder, nil
    	}
    
    	// Try to figure out the order to use for searches.
    	// If we don't recognize something, use fallbackOrder.
    	// That will use cgo unless the Go resolver was explicitly requested.
    	// If we do figure out the order, return something other
    	// than fallbackOrder to use the Go resolver with that order.
    
    	dnsConf = getSystemDNSConfig()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDSLCustomDependenciesExtensionsSpec.groovy

                library {
                    dependencies {
                        something("com.google.guava:guava:30.1.1-jre")
                        somethingElse("org.apache.commons:commons-lang3:3.12.0")
                    }
                }
            """
            file("settings.gradle") << defineSettings()
    
            expect: "a dependency has been added to the something configuration"
            succeeds("dependencies", "--configuration", "myConf")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 10:11:12 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DeprecationMessagesTest.groovy

        }
    
        def "logs generic deprecation message for specific thing"() {
            when:
            DeprecationLogger.deprecate("Something").willBeRemovedInGradle9().undocumented().nagUser()
    
            then:
            expectMessage "Something has been deprecated. This is scheduled to be removed in Gradle ${NEXT_GRADLE_VERSION}."
        }
    
        def "logs deprecated behavior message"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    A "**callable**" in Python is anything that Python can "call" like a function.
    
    So, if you have an object `something` (that might _not_ be a function) and you can "call" it (execute it) like:
    
    ```Python
    something()
    ```
    
    or
    
    ```Python
    something(some_argument, some_keyword_argument="foo")
    ```
    
    then it is a "callable".
    
    ## Classes as dependencies
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/behind-a-proxy.md

        "servers": [
            {
                "url": "/api/v1"
            }
        ],
        "paths": {
                // More stuff here
        }
    }
    ```
    
    In this example, the "Proxy" could be something like **Traefik**. And the server would be something like FastAPI CLI with **Uvicorn**, running your FastAPI application.
    
    ### Providing the `root_path`
    
    To achieve this, you can use the command line option `--root-path` like:
    
    <div class="termy">
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

                    contextualLabel == 'Type \'MyTask\' method \'notAGetter()\' should not be annotated with: @Input'
                    details == 'Input/Output annotations are ignored if they are placed on something else than a getter'
                    solutions == [
                        'Remove the annotations',
                        'Rename the method',
                    ]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
Back to top