Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 626 for dependencies (0.11 sec)

  1. docs/ru/docs/tutorial/dependencies/index.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="8-9"
    {!> ../../docs_src/dependencies/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="8-11"
    {!> ../../docs_src/dependencies/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="9-12"
    {!> ../../docs_src/dependencies/tutorial001_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.10+ non-Annotated
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_dependencies/test_tutorial008d_an.py

    def test_internal_error(client: TestClient):
        from docs_src.dependencies.tutorial008d_an import InternalError
    
        with pytest.raises(InternalError) as exc_info:
            client.get("/items/portal-gun")
        assert (
            exc_info.value.args[0] == "The portal gun is too dangerous to be owned by Rick"
        )
    
    
    def test_internal_server_error():
        from docs_src.dependencies.tutorial008d_an import app
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java

                        for (Dependency dep : model.getDependencies()) {
                            Object key = getDependencyKey().apply(dep);
                            Dependency dependency = dependencies.get(key);
                            newDeps.add(dependency);
                        }
                        return Model.newBuilder(model).dependencies(newDeps).build();
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. docs_src/bigger_applications/app_an_py39/main.py

    from fastapi import Depends, FastAPI
    
    from .dependencies import get_query_token, get_token_header
    from .internal import admin
    from .routers import items, users
    
    app = FastAPI(dependencies=[Depends(get_query_token)])
    
    
    app.include_router(users.router)
    app.include_router(items.router)
    app.include_router(
        admin.router,
        prefix="/admin",
        tags=["admin"],
        dependencies=[Depends(get_token_header)],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 552 bytes
    - Viewed (0)
  5. ci/official/utilities/code_check_full.bats

      # Find all one-step dependencies of those tests which are from //tensorflow
      # (since external deps will come from Python-level pip dependencies),
      # excluding dependencies and files that are known to be unneccessary.
      # This creates a list of targets under //tensorflow that are required for
      # TensorFlow python tests.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 23 18:48:35 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_dependencies/test_tutorial008d_an_py39.py

        from docs_src.dependencies.tutorial008d_an_py39 import InternalError
    
        with pytest.raises(InternalError) as exc_info:
            client.get("/items/portal-gun")
        assert (
            exc_info.value.args[0] == "The portal gun is too dangerous to be owned by Rick"
        )
    
    
    @needs_py39
    def test_internal_server_error():
        from docs_src.dependencies.tutorial008d_an_py39 import app
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

    }
    
    /**
     * Walk the resolved graph and discover all external dependencies that are not transitive dependencies
     * of project dependencies. This optimizes module loading during runtime, as we will only load external
     * modules that are not loaded transitively by other project modules.
     *
     * We perform this filtering, since if we simply include all external dependencies, regardless of whether
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed May 01 08:59:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/resources/inheritance-repo/t05/p0/p1/pom.xml

      </scm>
      <dependencyManagement>
        <dependencies>
          <dependency>
            <groupId>maven-test</groupId>
            <artifactId>t05-b</artifactId>
            <version>1.0</version>
          </dependency>
          <dependency>
            <groupId>maven-test</groupId>
            <artifactId>t05-d</artifactId>
            <version>1.0</version>
          </dependency>
        </dependencies>
      </dependencyManagement>
      <dependencies>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/resources/inheritance-repo/t07/p0/p1/pom.xml

          </dependency>
        </dependencies>
      </dependencyManagement>
      <dependencies>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t07-a</artifactId>
          <version>1.0</version>
        </dependency>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t07-c</artifactId>
          <version>1.0</version>
        </dependency>
      </dependencies>
      <build>
        <plugins>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/site/apt/index.apt

     Plugins should avoid these classes and be updated to use only Maven3 dependencies (and require Maven3): see
     {{{https://cwiki.apache.org/confluence/display/MAVEN/Plugin+migration+to+Maven3+dependencies} Plugin migration to Maven3 dependencies}}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top