- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 755 for asdict (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/collect/Ordering.java
*/ package com.google.common.collect; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.collect.CollectPreconditions.checkNonnegative; import static java.util.Arrays.asList; import static java.util.Arrays.sort; import static java.util.Collections.emptyList; import static java.util.Collections.sort; import static java.util.Collections.unmodifiableList;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 39.5K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/GraphTest.java
addEdge(graph4, "b", "c"); addEdge(graph4, "b", "d"); addEdge(graph4, "a", "d"); cde = assertThrows(CycleDetectedException.class, () -> addEdge(graph4, "c", "a")); assertEquals(Arrays.asList("a", "b", "c", "a"), cde.getCycle()); Graph graph5 = new Graph(); addEdge(graph5, "a", "b"); addEdge(graph5, "b", "c"); addEdge(graph5, "b", "f"); addEdge(graph5, "f", "g");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 8.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/collector/PomlessCollectionStrategy.java
MavenProject project = projectBuilder.build(modelSource, buildingRequest).getProject(); project.setExecutionRoot(true); request.setProjectPresent(false); return Arrays.asList(project); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.4K bytes - Click Count (0) -
impl/maven-core/src/test/remote-repo/org/apache/maven/plugins/maven-install-plugin/0.1/maven-install-plugin-0.1.pom
<artifactId>maven-install-plugin</artifactId> <version>0.1</version> <packaging>maven-plugin</packaging> <name>Maven Integration Test Plugin</name> <description> A test plugin to assist testing of Maven core. </description> <inceptionYear>2009</inceptionYear> <distributionManagement> <repository> <id>maven-core-it</id> <url>file:///${basedir}/repo</url> </repository>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.1K bytes - Click Count (0) -
impl/maven-core/src/test/remote-repo/org/apache/maven/plugins/maven-resources-plugin/0.1/maven-resources-plugin-0.1.pom
<artifactId>maven-resources-plugin</artifactId> <version>0.1</version> <packaging>maven-plugin</packaging> <name>Maven Integration Test Plugin</name> <description> A test plugin to assist testing of Maven core. </description> <inceptionYear>2009</inceptionYear> <distributionManagement> <repository> <id>maven-core-it</id> <url>file:///${basedir}/repo</url> </repository>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.1K bytes - Click Count (0) -
fastapi/types.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 455 bytes - Click Count (0) -
fastapi/dependencies/utils.py
return values async def request_body_to_args( body_fields: list[ModelField], received_body: Optional[Union[dict[str, Any], FormData]], embed_body_fields: bool, ) -> tuple[dict[str, Any], list[dict[str, Any]]]: values: dict[str, Any] = {} errors: list[dict[str, Any]] = [] assert body_fields, "request_body_to_args() should be called with fields"
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 37.6K bytes - Click Count (3) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
val request = server.takeRequest() assertThat(request.body.readUtf8()).isEqualTo("request") } @Test fun testH2PriorKnowledgeServerFallback() { try { server.protocols = Arrays.asList(Protocol.H2_PRIOR_KNOWLEDGE, Protocol.HTTP_1_1) fail<Any>() } catch (expected: IllegalArgumentException) { assertThat(expected.message).isEqualTo(
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 03 13:16:34 GMT 2025 - 22.3K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolutionExceptionTest.java
String version = "aVersion"; String type = "jar"; String classifier = "aClassifier"; String downloadUrl = "http://somewhere.com/download"; List<String> path = Arrays.asList("dependency1", "dependency2"); String expected = "Missing artifact" + LS + LS + " Try downloading the file manually from: " + LS
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.7K bytes - Click Count (0) -
docs/zh/docs/tutorial/body-updates.md
### 使用 Pydantic 的 `exclude_unset` 参数 更新部分数据时,可以在 Pydantic 模型的 `.dict()` 中使用 `exclude_unset` 参数。 比如,`item.dict(exclude_unset=True)`。 这段代码生成的 `dict` 只包含创建 `item` 模型时显式设置的数据,而不包括默认值。 然后再用它生成一个只含已设置(在请求中所发送)数据,且省略了默认值的 `dict`: {* ../../docs_src/body_updates/tutorial002.py hl[34] *} ### 使用 Pydantic 的 `update` 参数 接下来,用 `.copy()` 为已有模型创建调用 `update` 参数的副本,该参数为包含更新数据的 `dict`。 例如,`stored_item_model.copy(update=update_data)`:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 3.5K bytes - Click Count (0)