Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 923 for Classes (0.22 sec)

  1. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    # Classes as Dependencies
    
    Before diving deeper into the **Dependency Injection** system, let's upgrade the previous example.
    
    ## A `dict` from the previous example
    
    In the previous example, we were returning a `dict` from our dependency ("dependable"):
    
    === "Python 3.10+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/dependencies/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="11"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md

    Aleksandr Andrukhov <******@****.***> 1705057939 +0300
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jan 12 11:12:19 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/dependencies/classes-as-dependencies.md

    ## Klassen als Abhängigkeiten
    
    Möglicherweise stellen Sie fest, dass Sie zum Erstellen einer Instanz einer Python-Klasse die gleiche Syntax verwenden.
    
    Zum Beispiel:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    In diesem Fall ist `fluffy` eine Instanz der Klasse `Cat`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:01:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/dependencies/classes-as-dependencies.md

    Kani Kim <******@****.***> 1707659311 +0900
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Feb 11 13:48:31 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/dependencies/classes-as-dependencies.md

    SwftAlpc <******@****.***> 1705334896 +0900
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jan 15 16:08:16 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/OutgoingVariantsMutationIntegrationTest.groovy

                doLast {
                    def classes = configurations.compile.outgoing.variants['classes']
                    classes.attributes.attribute(format, 'classes2')
                }
            }
            task mutateAfterResolve {
                doLast {
                    configurations.compile.resolve()
                    def classes = configurations.compile.outgoing.variants['classes']
                    classes.attributes.attribute(format, 'classes-dir')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 20:59:50 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/JUnitXmlTestExecutionResult.groovy

            def classes = findClasses()
            assertThat(classes.keySet(), hasItem(testClass))
            def classFile = classes.get(testClass)
            assertThat(classFile, notNullValue())
            return new XmlSlurper().parse(classFile)
        }
    
        private def findTestClassStartsWith(String testClass) {
            def classes = findClasses()
            assertThat(classes.keySet(), hasItem(startsWith(testClass)))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. testing/performance/src/templates/project-with-source/build.xml

        <property name="classes.dir" location="\${build.dir}/classes"/>
        <property name="test.classes.dir" location="\${build.dir}/test-classes"/>
        <property name="test.reports.dir" location="\${build.dir}/test-reports"/>
    
        <target name="clean">
            <delete dir="\${build.dir}"/>
        </target>
    
        <target name="compile">
            <mkdir dir="\${classes.dir}"/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/processing/AnnotationProcessorDetectorTest.groovy

        }
    
        def "ignores comments and empty lines in processor declaration"() {
            given:
            def jar = tmpDir.file("classes.jar")
            jar << JarUtils.jarWithContents((PROCESSOR_DECLARATION): "#a comment\n\n")
            def dir = tmpDir.file("classes")
            dir.file(PROCESSOR_DECLARATION) << "#a comment\n\n"
            def cp = files(jar, dir)
    
            expect:
            detector.detectProcessors(cp) == [:]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 10:14:55 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. testing/architecture-test/src/changes/archunit-store/public-api-methods-return-allowed-types.txt

    Method <org.gradle.api.Project.ant(groovy.lang.Closure)> has arguments/return type groovy.lang.Closure that is not Gradle public API or primitive or built-in JDK classes or Kotlin classes in (Project.java:0)
    Method <org.gradle.api.Project.artifacts(groovy.lang.Closure)> has arguments/return type groovy.lang.Closure that is not Gradle public API or primitive or built-in JDK classes or Kotlin classes in (Project.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 12:21:31 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top