Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 123 for tuple4 (0.47 seconds)

  1. guava/src/com/google/common/collect/Sets.java

       *
       * {@snippet :
       * for (B b0 : sets.get(0)) {
       *   for (B b1 : sets.get(1)) {
       *     ...
       *     ImmutableList<B> tuple = ImmutableList.of(b0, b1, ...);
       *     // operate on tuple
       *   }
       * }
       * }
       *
       * <p>Note that if any input set is empty, the Cartesian product will also be empty. If no sets at
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  2. docs/ja/docs/tutorial/body-nested-models.md

    ## タイプパラメータを持つリストのフィールド { #list-fields-with-type-parameter }
    
    しかし、Pythonには内部の型、または「タイプパラメータ」を使ってリストを宣言するための特定の方法があります:
    
    ### タイプパラメータを持つ`list`の宣言 { #declare-a-list-with-a-type-parameter }
    
    `list`、`dict`、`tuple`のようにタイプパラメータ(内部の型)を持つ型を宣言するには、
    角括弧(`[`と`]`)を使って内部の型を「タイプパラメータ」として渡します。
    
    ```Python
    my_list: list[str]
    ```
    
    型宣言の標準的なPythonの構文はこれだけです。
    
    内部の型を持つモデルの属性にも同じ標準の構文を使用してください。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

      override fun createRequestBody(
        request: Request,
        contentLength: Long,
      ): Sink =
        when {
          request.body?.isDuplex() == true -> {
            throw ProtocolException(
              "Duplex connections are not supported for HTTP/1",
            )
          }
    
          request.isChunked -> {
            newChunkedSink()
          }
    
          // Stream a request body of unknown length.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 17.6K bytes
    - Click Count (7)
  4. docs/de/docs/tutorial/response-model.md

    Äquivalent zu `set(["name", "description"])`.
    
    ///
    
    #### `list`en statt `set`s verwenden { #using-lists-instead-of-sets }
    
    Wenn Sie vergessen, ein `set` zu verwenden, und stattdessen eine `list`e oder ein `tuple` übergeben, wird FastAPI die dennoch in ein `set` konvertieren, und es wird korrekt funktionieren:
    
    {* ../../docs_src/response_model/tutorial006_py310.py hl[29,35] *}
    
    ## Zusammenfassung { #recap }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  5. docs/fr/docs/tutorial/response-model.md

    Elle est équivalente à `set(["name", "description"])`.
    
    ///
    
    #### Utiliser des `list` au lieu de `set` { #using-lists-instead-of-sets }
    
    Si vous oubliez d'utiliser un `set` et utilisez une `list` ou un `tuple` à la place, FastAPI le convertira quand même en `set` et cela fonctionnera correctement :
    
    {* ../../docs_src/response_model/tutorial006_py310.py hl[29,35] *}
    
    ## Récapitulatif { #recap }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 18.1K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java

    import com.fasterxml.jackson.databind.node.TextNode;
    import com.fasterxml.jackson.dataformat.yaml.YAMLFactory;
    import com.fasterxml.jackson.dataformat.yaml.YAMLParser;
    
    import org.apache.commons.lang3.tuple.Pair;
    import org.elasticsearch.gradle.Version;
    import org.elasticsearch.gradle.VersionProperties;
    import org.elasticsearch.gradle.internal.test.rest.transform.RestTestTransform;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 22.3K bytes
    - Click Count (0)
  7. docs/ko/docs/tutorial/response-model.md

    /// tip | 팁
    
    문법 `{"name", "description"}`은 두 값을 갖는 `set`을 만듭니다.
    
    이는 `set(["name", "description"])`과 동일합니다.
    
    ///
    
    #### `set` 대신 `list` 사용하기 { #using-lists-instead-of-sets }
    
    `set`을 쓰는 것을 잊고 `list`나 `tuple`을 대신 사용하더라도, FastAPI는 이를 `set`으로 변환하므로 올바르게 동작합니다:
    
    {* ../../docs_src/response_model/tutorial006_py310.py hl[29,35] *}
    
    ## 요약 { #recap }
    
    응답 모델을 정의하고 특히 개인정보가 필터링되도록 보장하려면 *경로 처리 데코레이터*의 매개변수 `response_model`을 사용하세요.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/response-model.md

    /// tip | 提示
    
    `{"name", "description"}` 语法创建一个包含这两个值的 `set`。
    
    等同于 `set(["name", "description"])`。
    
    ///
    
    #### 使用 `list` 而不是 `set` { #using-lists-instead-of-sets }
    
    如果你忘记使用 `set` 而是使用了 `list` 或 `tuple`,FastAPI 仍会将其转换为 `set` 并正常工作:
    
    {* ../../docs_src/response_model/tutorial006_py310.py hl[29,35] *}
    
    ## 总结 { #recap }
    
    使用*路径操作装饰器*的 `response_model` 参数来定义响应模型,尤其是确保私有数据被过滤掉。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  9. CHANGELOG.md

     *  New: `mockwebserver3.SocketPolicy` is now a sealed interface. This is one of several
        backwards-incompatible API changes that may impact early adopters of this alpha API.
    
     *  New: `mockwebserver3.Stream` for duplex streams.
    
     *  New: `mockwebserver3.MockResponseBody` for streamed response bodies.
    
     *  New: `mockwebserver3.MockResponse` is now immutable, with a `Builder`.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 15 11:57:47 GMT 2026
    - 36.2K bytes
    - Click Count (2)
  10. docs/zh-hant/docs/tutorial/response-model.md

    /// tip | 提示
    
    語法 `{"name", "description"}` 會建立一個包含這兩個值的 `set`。
    
    它等同於 `set(["name", "description"])`。
    
    ///
    
    #### 使用 `list` 來代替 `set` { #using-lists-instead-of-sets }
    
    如果你忘了使用 `set` 而用了 `list` 或 `tuple`,FastAPI 仍會把它轉換成 `set`,並能正確運作:
    
    {* ../../docs_src/response_model/tutorial006_py310.py hl[29,35] *}
    
    ## 重點回顧 { #recap }
    
    使用「路徑操作裝飾器」的 `response_model` 參數來定義回應模型,特別是為了確保私有資料被過濾掉。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.5K bytes
    - Click Count (0)
Back to Top