Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 275 for tuples (0.04 seconds)

  1. docs/zh/docs/_llm-test.md

    ////
    
    ## 代码片段中的引号 { #quotes-in-code-snippets }
    
    //// tab | 测试
    
    `pip install "foo[bar]"`
    
    代码片段中的字符串字面量示例:`"this"`,`'that'`。
    
    一个较难的字符串字面量示例:`f"I like {'oranges' if orange else "apples"}"`
    
    硬核:`Yesterday, my friend wrote: "If you spell incorrectly correctly, you have spelled it incorrectly". To which I answered: "Correct, but 'incorrectly' is incorrectly not '"incorrectly"'"`
    
    ////
    
    //// tab | 信息
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  2. docs/ja/docs/tutorial/body-nested-models.md

    `list`、`dict`、`tuple`のようにタイプパラメータ(内部の型)を持つ型を宣言するには、
    角括弧(`[`と`]`)を使って内部の型を「タイプパラメータ」として渡します。
    
    ```Python
    my_list: list[str]
    ```
    
    型宣言の標準的なPythonの構文はこれだけです。
    
    内部の型を持つモデルの属性にも同じ標準の構文を使用してください。
    
    そのため、以下の例では`tags`を具体的な「文字列のリスト」にすることができます:
    
    {* ../../docs_src/body_nested_models/tutorial002_py310.py hl[12] *}
    
    ## セット型 { #set-types }
    
    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. android/guava/src/com/google/common/collect/MapMaker.java

      }
    
      Equivalence<Object> getKeyEquivalence() {
        return MoreObjects.firstNonNull(keyEquivalence, getKeyStrength().defaultEquivalence());
      }
    
      /**
       * Sets the minimum total size for the internal hash tables. For example, if the initial capacity
       * is {@code 60}, and the concurrency level is {@code 8}, then eight segments are created, each
       * having a hash table of size eight. Providing a large enough estimate at construction time
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  4. docs/pt/docs/tutorial/query-params-str-validations.md

    Percebeu? Uma string usando `value.startswith()` pode receber uma tupla, e verificará cada valor na tupla:
    
    {* ../../docs_src/query_params_str_validations/tutorial015_an_py310.py ln[16:19] hl[17] *}
    
    #### Um item aleatório { #a-random-item }
    
    Com `data.items()` obtemos um <dfn title="Algo que podemos iterar com um laço for, como uma list, set, etc.">objeto iterável</dfn> com tuplas contendo a chave e o valor de cada item do dicionário.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  5. docs/es/docs/tutorial/response-model.md

    Es equivalente a `set(["name", "description"])`.
    
    ///
    
    #### Usar `list`s en lugar de `set`s { #using-lists-instead-of-sets }
    
    Si olvidas usar un `set` y usas un `list` o `tuple` en su lugar, FastAPI todavía lo convertirá a un `set` y funcionará correctamente:
    
    {* ../../docs_src/response_model/tutorial006_py310.py hl[29,35] *}
    
    ## Resumen { #recap }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  6. 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)
  7. guava/src/com/google/common/collect/MapMaker.java

      }
    
      Equivalence<Object> getKeyEquivalence() {
        return MoreObjects.firstNonNull(keyEquivalence, getKeyStrength().defaultEquivalence());
      }
    
      /**
       * Sets the minimum total size for the internal hash tables. For example, if the initial capacity
       * is {@code 60}, and the concurrency level is {@code 8}, then eight segments are created, each
       * having a hash table of size eight. Providing a large enough estimate at construction time
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  8. architecture/standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    # ADR-0003 - Avoid introducing Groovy types to public API
    
    ## Status
    
    - ACCEPTED on 2024-01-12
    
    ## Context
    
    Gradle's public API requires equal access from all JVM-based languages.
    Kotlin, Groovy, Java, and other JVM-based languages should be able to use the Gradle API without relying on another language's standard library.
    
    Historically, Gradle has shipped with some Groovy types in very prominent APIs.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  9. docs/ko/docs/tutorial/sql-databases.md

    걱정하지 마세요. 코드가 구조화된 방식으로 인해, 이후에 **각 요청마다 단일 SQLModel *세션*을 사용**하도록 보장할 것입니다. 실제로 이것이 `check_same_thread`가 하려는 것입니다.
    
    ### 테이블 생성하기 { #create-the-tables }
    
    그 다음 `SQLModel.metadata.create_all(engine)`을 사용하여 모든 *테이블 모델*의 **테이블을 생성**하는 함수를 추가합니다.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[21:22] hl[21:22] *}
    
    ### 세션 의존성 생성하기 { #create-a-session-dependency }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 18.6K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/query-params-str-validations.md

    ¿Lo notaste? un string usando `value.startswith()` puede recibir una tupla, y comprobará cada valor en la tupla:
    
    {* ../../docs_src/query_params_str_validations/tutorial015_an_py310.py ln[16:19] hl[17] *}
    
    #### Un ítem aleatorio { #a-random-item }
    
    Con `data.items()` obtenemos un <dfn title="Algo que podemos iterar con un for loop, como una list, set, etc.">objeto iterable</dfn> con tuplas que contienen la clave y el valor para cada elemento del diccionario.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 17.4K bytes
    - Click Count (0)
Back to Top