Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for classes (0.22 sec)

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

    ```
    
    then it is a "callable".
    
    ## Classes as dependencies
    
    You might notice that to create an instance of a Python class, you use that same syntax.
    
    For example:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    In this case, `fluffy` is an instance of the class `Cat`.
    
    And to create `fluffy`, you are "calling" `Cat`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            List<Path> classes = dispatched.get(JavaPathType.CLASSES);
            List<Path> modules = dispatched.get(JavaPathType.MODULES);
            List<Path> unresolved = dispatched.get(PathType.UNRESOLVED);
            assertEquals(3, dispatched.size());
            assertEquals(1, unresolved.size());
            assertEquals(8, classes.size()); // "plexus.pom" and "junit.jar" are excluded.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/type/DefaultTypeProvider.java

                    // Java types
                    new DefaultType(
                            Type.JAR, Language.JAVA_FAMILY, "jar", null, false, JavaPathType.CLASSES, JavaPathType.MODULES),
                    new DefaultType(Type.JAVADOC, Language.JAVA_FAMILY, "jar", "javadoc", false, JavaPathType.CLASSES),
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. docs/en/docs/reference/websockets.md

    You can import it directly form `fastapi`:
    
    ```python
    from fastapi import WebSocketDisconnect
    ```
    
    ::: fastapi.WebSocketDisconnect
    
    ## WebSockets - additional classes
    
    Additional classes for handling WebSockets.
    
    Provided directly by Starlette, but you can import it from `fastapi`:
    
    ```python
    from fastapi.websockets import WebSocketDisconnect, WebSocketState
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/resources/org/apache/maven/model/pom-4.1.0.xml

      </properties>
    
      <build>
        <directory>${project.basedir}/target</directory>
        <outputDirectory>${project.build.directory}/classes</outputDirectory>
        <finalName>${project.artifactId}-${project.version}</finalName>
        <testOutputDirectory>${project.build.directory}/test-classes</testOutputDirectory>
        <sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  6. docs/en/docs/reference/responses.md

    # Custom Response Classes - File, HTML, Redirect, Streaming, etc.
    
    There are several custom response classes you can use to create an instance and return them directly from your *path operations*.
    
    Read more about it in the [FastAPI docs for Custom Response - HTML, Stream, File, others](https://fastapi.tiangolo.com/advanced/custom-response/).
    
    You can import them directly from `fastapi.responses`:
    
    ```python
    from fastapi.responses import (
        FileResponse,
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/resources/org/apache/maven/model/pom-4.0.0.xml

      </properties>
    
      <build>
        <directory>${project.basedir}/target</directory>
        <outputDirectory>${project.build.directory}/classes</outputDirectory>
        <finalName>${project.artifactId}-${project.version}</finalName>
        <testOutputDirectory>${project.build.directory}/test-classes</testOutputDirectory>
        <sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

        private enum class DeclaredMemberScopeKind {
            NON_STATIC,
    
            STATIC,
    
            /**
             * A scope containing both non-static and static members. A smart combined scope (as opposed to a naive combination of [KtScope]s
             * with [getCompositeScope]) avoids duplicate inner classes, as they are contained in non-static and static scopes.
             *
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/scopeProvider/Fe10IdeNormalAnalysisSourceModulePackageScopeTestGenerated.java

      public void testCallables() {
        runTest("analysis/analysis-api/testData/components/scopeProvider/packageScope/callables.kt");
      }
    
      @Test
      @TestMetadata("classes.kt")
      public void testClasses() {
        runTest("analysis/analysis-api/testData/components/scopeProvider/packageScope/classes.kt");
      }
    
      @Test
      @TestMetadata("dependency.kt")
      public void testDependency() {
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 23 10:55:55 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  10. .cm/javadoc_on_new_files.cm

              color: {{ colors.yellow }}
          - action: add-comment@v1
            args:
              comment: |
                :warning: This PR creates new top-level Java classes, but has no Javadoc present. Please document all top-level classes with Javadoc.
    
    is:
      java: {{ files | extensions | match(term='java') | every }}
      new: {{ source.diff.files | map(attr='original_file') | match(regex=r/^$/) | some }}
    
    colors:
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top