- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 1,077 for asdict (0.75 sec)
-
fastapi/utils.py
return operation_id def deep_dict_update(main_dict: dict[Any, Any], update_dict: dict[Any, Any]) -> None: for key, value in update_dict.items(): if ( key in main_dict and isinstance(main_dict[key], dict) and isinstance(value, dict) ): deep_dict_update(main_dict[key], value) elif (
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 5.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
import static com.google.common.collect.testing.features.CollectionSize.ZERO; import static com.google.common.collect.testing.google.ReflectionFreeAssertThrows.assertThrows; import static java.util.Arrays.asList; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.collect.Multiset;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
// Default behavior when disallowCompound is null assertTrue(config.isAllowCompound("AnyCommand")); // Set disallowCompound config.disallowCompound = new HashSet<>(Arrays.asList("Command1", "Command2")); assertFalse(config.isAllowCompound("Command1")); assertFalse(config.isAllowCompound("Command2")); assertTrue(config.isAllowCompound("Command3")); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Chars.java
Arrays.sort(array, fromIndex, toIndex); reverse(array, fromIndex, toIndex); } /** * Reverses the elements of {@code array}. This is equivalent to {@code * Collections.reverse(Chars.asList(array))}, but is likely to be more efficient. * * @since 23.1 */ public static void reverse(char[] array) { checkNotNull(array); reverse(array, 0, array.length); } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Floats.java
Arrays.sort(array, fromIndex, toIndex); reverse(array, fromIndex, toIndex); } /** * Reverses the elements of {@code array}. This is equivalent to {@code * Collections.reverse(Floats.asList(array))}, but is likely to be more efficient. * * @since 23.1 */ public static void reverse(float[] array) { checkNotNull(array); reverse(array, 0, array.length); } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 25.6K bytes - Viewed (0) -
docs/uk/docs/tutorial/encoder.md
Ви можете використовувати `jsonable_encoder` для цього. Вона приймає об'єкт, такий як Pydantic model, і повертає його версію, сумісну з JSON: {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *} У цьому прикладі вона конвертує Pydantic model у `dict`, а `datetime` у `str`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.5K bytes - Viewed (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");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 8.5K bytes - Viewed (0) -
scripts/people.py
} ) return users def get_users_to_write( *, counter: Counter[str], authors: dict[str, Author], min_count: int = 2, ) -> list[dict[str, Any]]: users: dict[str, Any] = {} users_list: list[dict[str, Any]] = [] for user, count in counter.most_common(60): if count >= min_count: author = authors[user] user_data = {Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 12.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/StandardMutableUndirectedGraphTest.java
public class StandardMutableUndirectedGraphTest extends AbstractStandardUndirectedGraphTest { @Parameters(name = "allowsSelfLoops={0}, incidentEdgeOrder={1}") public static Collection<Object[]> parameters() { return Arrays.asList( new Object[][] { {false, ElementOrder.unordered()}, {true, ElementOrder.unordered()}, {false, ElementOrder.stable()}, {true, ElementOrder.stable()}, }); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.1K bytes - Viewed (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); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0)