- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 373 for dedent (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_dependency_yield_scope_websockets.py
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.websocket("/broken-scope") async def get_broken( websocket: WebSocket, sessions: BrokenSessionsDep
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6K bytes - Click Count (0) -
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)Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jul 18 11:32:19 GMT 2025 - 9.3K bytes - Click Count (0) -
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,并返回:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 2.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
// shouldn't be a problem unless the buffer is shrinking each call return in.read(cbuf, off, Math.max(len - 1024, 0)); } }; } /** Wrap an appendable in an appendable to defeat any type specific optimizations. */ private static Appendable wrapAsGenericAppendable(Appendable a) { return new Appendable() { @Override public Appendable append(CharSequence csq) throws IOException {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 11.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
// shouldn't be a problem unless the buffer is shrinking each call return in.read(cbuf, off, Math.max(len - 1024, 0)); } }; } /** Wrap an appendable in an appendable to defeat any type specific optimizations. */ private static Appendable wrapAsGenericAppendable(Appendable a) { return new Appendable() { @Override public Appendable append(CharSequence csq) throws IOException {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 11.3K bytes - Click Count (0) -
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
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6.7K bytes - Click Count (0) -
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.
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sun Feb 25 22:19:29 GMT 2024 - 4.5K bytes - Click Count (0) -
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. *
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 25 16:18:05 GMT 2025 - 5.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSet.java
* log n) on average. * * <p>The online hash flooding detecting in RegularSetBuilderImpl.add can detect e.g. many * exactly matching hash codes, which would cause construction to take O(n^2), but can't detect * e.g. hash codes adversarially designed to go into ascending table locations, which keeps * construction O(n) (as desired) but then can have O(n) queries later.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Nov 07 16:09:47 GMT 2025 - 35.3K bytes - Click Count (0) -
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>Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.6K bytes - Click Count (0)