Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 561 - 570 of 740 for dependency1 (0.06 seconds)

  1. tests/test_dependency_yield_scope.py

        assert data["named_session_open"] is True
        assert data["session_open"] is True
    
    
    def test_broken_scope() -> None:
        with pytest.raises(
            FastAPIError,
            match='The dependency "get_named_func_session" has a scope of "request", it cannot depend on dependencies with scope "function"',
        ):
    
            @app.get("/broken-scope")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java

            }
    
            return Collections.unmodifiableList(errorArtifactExceptions);
        }
    
        // ------------------------------------------------------------------------
        // Circular Dependency Exceptions
        // ------------------------------------------------------------------------
    
        public boolean hasCircularDependencyExceptions() {
            return circularDependencyExceptions != null;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 10K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/TypeDeriver.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * Type deriver, that handles special case of "processor" type: if a dependency node is of this type, all of its
     * children need to be remapped to certain processor type as well, to end up on proper path type.
     *
     * @since 4.0.0
     * @deprecated since 4.0.0, this is internal detail of Maven.
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Mar 28 11:22:05 GMT 2026
    - 8K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/security/get-current-user.md

    首先,创建 Pydantic 用户模型。
    
    与使用 Pydantic 声明请求体相同,并且可在任何位置使用:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[5,12:6] *}
    
    ## 创建 `get_current_user` 依赖项 { #create-a-get-current-user-dependency }
    
    创建 `get_current_user` 依赖项。
    
    还记得依赖项支持子依赖项吗?
    
    `get_current_user` 使用 `oauth2_scheme` 作为依赖项。
    
    与之前直接在路径操作中的做法相同,新的 `get_current_user` 依赖项从子依赖项 `oauth2_scheme` 中接收 `str` 类型的 `token`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/background-tasks.md

    `.add_task()` 接收以下参数:
    
    * 在后台运行的任务函数(`write_notification`)。
    * 应按顺序传递给任务函数的任意参数序列(`email`)。
    * 应传递给任务函数的任意关键字参数(`message="some notification"`)。
    
    ## 依赖注入 { #dependency-injection }
    
    使用 `BackgroundTasks` 也适用于依赖注入系统,你可以在多个级别声明 `BackgroundTasks` 类型的参数:在 *路径操作函数* 里,在依赖中(可依赖),在子依赖中,等等。
    
    **FastAPI** 知道在每种情况下该做什么以及如何复用同一对象,因此所有后台任务被合并在一起并且随后在后台运行:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/entity/FacetInfo.java

         */
        public FacetInfo() {
            // Default constructor
        }
    
        /**
         * Initializes the facet configuration from Fess configuration properties.
         * This method is called after dependency injection to load default facet settings.
         */
        @PostConstruct
        public void init() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/site/apt/index.apt

       ({{{./maven-core/xref/org/apache/maven/model/plugin/DefaultLifecycleBindingsInjector.html}source}})
    
       ** dependency management import (for dependencies of type <<<pom>>> and scope <<<import>>> in the <<<\<dependencyManagement\>>>> section)
    
       ** dependency management injection: <<<DependencyManagementInjector>>> ({{{./apidocs/org/apache/maven/model/management/DependencyManagementInjector.html}javadoc}}),
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 03 08:42:52 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

    import org.apache.maven.artifact.versioning.InvalidVersionSpecificationException;
    import org.apache.maven.artifact.versioning.VersionRange;
    import org.apache.maven.model.Dependency;
    import org.apache.maven.model.Exclusion;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.model.Repository;
    import org.apache.maven.model.RepositoryPolicy;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 31.2K bytes
    - Click Count (0)
  9. android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

    import com.google.caliper.Param;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks against the Apache Commons Math utilities.
     *
     * <p>Note: the Apache benchmarks are not open sourced to avoid the extra dependency.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ApacheBenchmark {
      private enum Impl {
        GUAVA {
          @Override
          public double factorialDouble(int n) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  10. guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

    import com.google.caliper.Param;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks against the Apache Commons Math utilities.
     *
     * <p>Note: the Apache benchmarks are not open sourced to avoid the extra dependency.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ApacheBenchmark {
      private enum Impl {
        GUAVA {
          @Override
          public double factorialDouble(int n) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 6.9K bytes
    - Click Count (0)
Back to Top