Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 318 for demand (0.04 sec)

  1. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

            // We only need a few utility classes of this module
            applyRule<DependencyRemovalByNameRule>("jcifs:jcifs", setOf("servlet-api"))
    
            // Bsh moved coordinates. Depend on the new coordinates.
            applyRule<DependencyRemovalByGroupRule>(libs.testng, setOf("org.beanshell"))
            applyRule<DependencyAdditionRule>(libs.testng, libs.bsh)
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jul 18 11:32:19 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/response-cookies.md

    而且你还可以根据你的需要响应不同的对象,比如常用的 `dict`,数据库model等。
    
    如果你定义了 `response_model`,程序会自动根据`response_model`来过滤和转换你响应的对象。
    
    **FastAPI** 会使用这个 *临时* 响应对象去装在这些cookies信息 (同样还有headers和状态码等信息), 最终会将这些信息和通过`response_model`转化过的数据合并到最终的响应里。
    
    你也可以在depend中定义`Response`参数,并设置cookie和header。
    
    ## 直接响应 `Response`
    
    你还可以在直接响应`Response`时直接创建cookies。
    
    你可以参考[Return a Response Directly](response-directly.md){.internal-link target=_blank}来创建response
    
    然后设置Cookies,并返回:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. tests/test_dependency_yield_scope.py

        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")
            def get_broken(sessions: BrokenSessionsDep) -> Any:  # pragma: no cover
                pass
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. architecture/standards/0004-use-a-platform-architecture.md

    - **Runtime**: Provides the runtimes or "containers" in which code runs. These runtimes include the Gradle client, the daemon and the worker processes. This is the base module on which all other architecture modules depend.
    - **Configuration**: Allows the build structure and work, such as tasks, to be specified. This includes the project model, the DSL and so on.
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sun Feb 25 22:19:29 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

    /**
     * A map from artifact name to a set of class name prefixes that should be kept.
     * Artifacts matched by this map will be minified to only contain the specified
     * classes and the classes they depend on. The classes are not relocated, they all
     * remain in their original namespace. This reduces the final Gradle distribution
     * size and makes us more conscious of which parts of a library we really need.
     *
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 25 16:18:05 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java

     * invoke methods, they invoke methods on the {@code ForwardingSortedMultiset}.
     *
     * <p>The {@code standard} methods and any collection views they return are not guaranteed to be
     * thread-safe, even when all of the methods that they depend on are thread-safe.
     *
     * @author Louis Wasserman
     * @since 15.0
     */
    @GwtCompatible
    public abstract class ForwardingSortedMultiset<E extends @Nullable Object>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

        }
    
        @Override
        protected Runnable wrapTask(Runnable command) {
          return new WrappedRunnable(command);
        }
      }
    
      // TODO: If this test can ever depend on Mockito or the like, use it instead.
      private static final class MockExecutor implements ExecutorService {
        private String lastMethodCalled = "";
        private long lastTimeoutInMillis = -1;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingSet.java

     * invoke methods, they invoke methods on the {@code ForwardingSet}.
     *
     * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the
     * methods that they depend on are thread-safe.
     *
     * @author Kevin Bourrillion
     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    public abstract class ForwardingSet<E extends @Nullable Object> extends ForwardingCollection<E>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

       * of their elements."
       *
       * </blockquote>
       */
      RESTRICTS_ELEMENTS,
    
      /**
       * Indicates that a collection has a well-defined ordering of its elements. The ordering may
       * depend on the element values, such as a {@link SortedSet}, or on the insertion ordering, such
       * as a {@link LinkedHashSet}. All list tests and sorted-collection tests automatically specify
       * this feature.
       */
      KNOWN_ORDER,
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

       * of their elements."
       *
       * </blockquote>
       */
      RESTRICTS_ELEMENTS,
    
      /**
       * Indicates that a collection has a well-defined ordering of its elements. The ordering may
       * depend on the element values, such as a {@link SortedSet}, or on the insertion ordering, such
       * as a {@link LinkedHashSet}. All list tests and sorted-collection tests automatically specify
       * this feature.
       */
      KNOWN_ORDER,
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top