- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 1,077 for asdict (0.08 sec)
-
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
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideCreator.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.dict.stemmeroverride; import java.util.Date; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.fess.dict.DictionaryCreator; import org.codelibs.fess.dict.DictionaryFile; import org.codelibs.fess.dict.DictionaryItem; import jakarta.annotation.PostConstruct; /**
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 2.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/StandardMutableDirectedGraphTest.java
public final class StandardMutableDirectedGraphTest extends AbstractStandardDirectedGraphTest { @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) -
guava-tests/test/com/google/common/graph/StandardMutableDirectedGraphTest.java
public final class StandardMutableDirectedGraphTest extends AbstractStandardDirectedGraphTest { @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) -
docs/ru/docs/tutorial/encoder.md
Точно так же эта база данных не может принять Pydantic-модель (объект с атрибутами), а только `dict`. Для этого можно использовать функцию `jsonable_encoder`. Она принимает объект, например, Pydantic-модель, и возвращает его версию, совместимую с JSON: {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *} В данном примере она преобразует Pydantic-модель в `dict`, а `datetime` - в `str`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 2.7K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PackagingProvider.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 2K bytes - Viewed (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)`:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
import static com.google.common.testing.SerializableTester.reserialize; import static com.google.common.truth.Truth.assertThat; import static com.google.common.truth.Truth.assertWithMessage; import static java.util.Arrays.asList; import static java.util.Collections.singletonMap; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 36.7K bytes - Viewed (0) -
docs/en/docs/tutorial/encoder.md
The same way, this database wouldn't receive a Pydantic model (an object with attributes), only a `dict`. You can use `jsonable_encoder` for that. It receives an object, like a Pydantic model, and returns a JSON compatible version: {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *} In this example, it would convert the Pydantic model to a `dict`, and the `datetime` to a `str`.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 1.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
abstract static class CachingAsList<E> extends ImmutableSet<E> { @LazyInit @RetainedWith private transient @Nullable ImmutableList<E> asList; @Override public ImmutableList<E> asList() { ImmutableList<E> result = asList; if (result == null) { return asList = createAsList(); } else { return result; } } ImmutableList<E> createAsList() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Nov 07 16:09:47 UTC 2025 - 35.3K bytes - Viewed (0)