Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1791 - 1800 of 2,541 for DATA (0.02 seconds)

  1. docs/zh/docs/tutorial/schema-extra-example.md

    # 声明请求示例数据 { #declare-request-example-data }
    
    你可以为你的应用将接收的数据声明示例。
    
    这里有几种实现方式。
    
    ## Pydantic 模型中的额外 JSON Schema 数据 { #extra-json-schema-data-in-pydantic-models }
    
    你可以为一个 Pydantic 模型声明 `examples`,它们会被添加到生成的 JSON Schema 中。
    
    {* ../../docs_src/schema_extra_example/tutorial001_py310.py hl[13:24] *}
    
    这些额外信息会原样添加到该模型输出的 JSON Schema 中,并会在 API 文档中使用。
    
    你可以使用属性 `model_config`,它接收一个 `dict`,详见 [Pydantic 文档:配置](https://docs.pydantic.dev/latest/api/config/)。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  2. fastapi/openapi/models.py

        # A Vocabulary for the Contents of String-Encoded Data
        contentEncoding: str | None = None
        contentMediaType: str | None = None
        contentSchema: Optional["SchemaOrBool"] = None
        # Ref: JSON Schema Validation 2020-12: https://json-schema.org/draft/2020-12/json-schema-validation.html#name-a-vocabulary-for-basic-meta
        # A Vocabulary for Basic Meta-Data Annotations
        title: str | None = None
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Streams.java

       * if and only if {@code stream} was efficiently splittable and its underlying spliterator
       * reported {@link Spliterator#SUBSIZED}. This is generally the case if the underlying stream
       * comes from a data structure supporting efficient indexed random access, typically an array or
       * list.
       *
       * <p>The order of the resulting stream is defined if and only if the order of the original stream
       * was defined.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            verify(transport).ensureConnected();
        }
    
        // Happy path: getDfsReferrals returns referral, verify arguments captured
        @Test
        @DisplayName("getDfsReferrals returns data and receives correct args")
        void getDfsReferrals_happy() throws Exception {
            when(transport.getDfsReferrals(any(), any(), any(), any(), anyInt())).thenReturn(referral);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  5. fastapi/security/http.py

                else:
                    return None
            try:
                data = b64decode(param).decode("ascii")
            except (ValueError, UnicodeDecodeError, binascii.Error) as e:
                raise self.make_not_authenticated_error() from e
            username, separator, password = data.partition(":")
            if not separator:
                raise self.make_not_authenticated_error()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 16 10:16:48 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/reflect/TypeResolver.java

        }
      }
    
      // This is needed when resolving types against a context with wildcards
      // For example:
      // class Holder<T> {
      //   void set(T data) {...}
      // }
      // Holder<List<?>> should *not* resolve the set() method to set(List<?> data).
      // Instead, it should create a capture of the wildcard so that set() rejects any List<T>.
      private static class WildcardCapturer {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 22:30:05 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/security/simple-oauth2.md

    一方、`OAuth2PasswordRequestForm` は、あなた自身でも書けるような単なるクラス依存関係であり、直接 `Form` パラメータを宣言することもできます。
    
    ただし一般的なユースケースなので、簡単に使えるよう **FastAPI** が直接提供しています。
    
    ///
    
    ### フォームデータの利用 { #use-the-form-data }
    
    /// tip | 豆知識
    
    依存関係クラス `OAuth2PasswordRequestForm` のインスタンスは、スペース区切りの長い文字列を持つ `scope` 属性は持ちません。代わりに、送られてきた各スコープの実際の文字列リストを格納する `scopes` 属性を持ちます。
    
    この例では `scopes` は使いませんが、必要ならその機能が利用できます。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  8. cmd/erasure-sets.go

    // PutObject - writes an object to hashedSet based on the object name.
    func (s *erasureSets) PutObject(ctx context.Context, bucket string, object string, data *PutObjReader, opts ObjectOptions) (objInfo ObjectInfo, err error) {
    	set := s.getHashedSet(object)
    	return set.PutObject(ctx, bucket, object, data, opts)
    }
    
    // GetObjectInfo - reads object metadata from the hashedSet based on the object name.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37K bytes
    - Click Count (1)
  9. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals(8, next.maxParameterCount, "Max parameter count should be 8");
            assertEquals(Trans2FindFirst2.LIST_SIZE, next.maxDataCount, "Max data count should use LIST_SIZE");
            assertEquals((byte) 0x00, next.maxSetupCount, "Max setup count must be 0");
    
            // Information level defaults to BOTH_DIRECTORY_INFO (0x104) — check via parameters encoding
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  10. docs/debugging/inspect/main.go

    		outputFileName = inputFileName + ".decrypted"
    	}
    
    	// Open the input and create the output file
    	input, err := os.Open(inputFileName)
    	fatalErr(err)
    	defer input.Close()
    
    	// Decrypt the inspect data
    	switch {
    	case *keyHex != "":
    		// Backup any already existing output file
    		_, err := os.Stat(outputFileName)
    		if err == nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 17 17:09:42 GMT 2025
    - 5.7K bytes
    - Click Count (0)
Back to Top