- Sort Score
- Num 10 results
- Language All
Results 4031 - 4040 of 4,435 for TRUE (0.04 seconds)
-
docs/ja/docs/tutorial/body-updates.md
/// ### Pydanticの`exclude_unset`パラメータの使用 { #using-pydantics-exclude-unset-parameter } 部分的な更新を受け取りたい場合は、Pydanticモデルの`.model_dump()`の`exclude_unset`パラメータを使用すると非常に便利です。 `item.model_dump(exclude_unset=True)`のように。 これにより、`item`モデルの作成時に設定されたデータのみを持つ`dict`が生成され、デフォルト値は除外されます。 これを使うことで、デフォルト値を省略して、設定された(リクエストで送られた)データのみを含む`dict`を生成することができます: {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 5.2K bytes - Click Count (0) -
src/archive/tar/writer.go
plen := i // plen is length of prefix if i <= 0 || nlen > nameSize || nlen == 0 || plen > prefixSize { return "", "", false } return name[:i], name[i+1:], true } // Write writes to the current file in the tar archive. // Write returns the error [ErrWriteTooLong] if more than // Header.Size bytes are written after [Writer.WriteHeader]. //
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Feb 03 16:38:43 GMT 2025 - 19.7K bytes - Click Count (0) -
docs/ja/docs/tutorial/body-multiple-params.md
Pydanticモデル`Item`の単一の`item`ボディパラメータしかないとしましょう。 デフォルトでは、**FastAPI**はそのボディを直接期待します。 しかし、追加のボディパラメータを宣言したときのように、キー `item` を持つ JSON と、その中のモデル内容を期待したい場合は、特別な `Body` パラメータ `embed` を使うことができます: ```Python item: Item = Body(embed=True) ``` 以下において: {* ../../docs_src/body_multiple_params/tutorial005_an_py310.py hl[17] *} この場合、**FastAPI** は以下のようなボディを期待します: ```JSON hl_lines="2" { "item": {
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 15:24:30 GMT 2026 - 5.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
} if (crawlingConfig != null) { final Map<String, String> configParam = crawlingConfig.getConfigParameterMap(ConfigName.CONFIG); if (configParam != null && Constants.TRUE.equalsIgnoreCase(configParam.get(Param.Config.KEEP_ORIGINAL_BODY))) { return content; } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Mar 30 14:27:04 GMT 2026 - 17.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingMultiset.java
* this implementation. * * @since 7.0 */ protected boolean standardAdd(@ParametricNullness E element) { add(element, 1); return true; } /** * A sensible definition of {@link #addAll(Collection)} in terms of {@link #add(Object)} and * {@link #add(Object, int)}. If you override either of these methods, you may wish to override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmSspTest.java
lenient().when(mockCifsContext.getConfig()).thenReturn(mockConfig); lenient().when(mockConfig.getDefaultDomain()).thenReturn("DOMAIN"); lenient().when(mockConfig.isUseUnicode()).thenReturn(true); // Mock NameServiceClient for Type1Message test lenient().when(mockCifsContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 11.4K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
void testNullProtocolId() { // Protocol ID is a constant in transform header, not settable // This test is not applicable - the protocol ID is always TRANSFORM_PROTOCOL_ID assertTrue(true); } @Test @DisplayName("Should handle invalid protocol ID length") void testInvalidProtocolIdLength() { // Protocol ID is a constant in transform header, not settable
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 13.5K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java
if (PLUGIN_2_0_0.equals(nsUri)) { org.apache.maven.api.plugin.descriptor.PluginDescriptor pd = new PluginDescriptorStaxReader().read(xsr, true); return new PluginDescriptor(pd); } else { XmlNode node = XmlService.read(xsr); PlexusConfiguration cfg = XmlPlexusConfiguration.toPlexusConfiguration(node);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 17.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/util/MapValueExtractor.java
return null; } /** * Checks if the map contains the specified key and the value is not null. * * @param map The source map * @param key The key to check * @return true if the key exists and its value is not null */ public static boolean hasValue(final Map<String, Object> map, final String key) { return map.containsKey(key) && map.get(key) != null; }Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 9.8K bytes - Click Count (0)