Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 171 for union_ (0.03 sec)

  1. docs/es/docs/python-types.md

    ```
    
    ////
    
    #### Uso de `Union` u `Optional`
    
    Si estás usando una versión de Python inferior a 3.10, aquí tienes un consejo desde mi punto de vista muy **subjetivo**:
    
    * 🚨 Evita usar `Optional[SomeType]`
    * En su lugar ✨ **usa `Union[SomeType, None]`** ✨.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 17.6K bytes
    - Viewed (1)
  2. docs/pt/docs/python-types.md

    ```
    
    ////
    
    #### Utilizando `Union` ou `Optional`
    
    Se você está utilizando uma versão do Python abaixo da 3.10, aqui vai uma dica do meu ponto de vista bem **subjetivo**:
    
    * 🚨 Evite utilizar `Optional[SomeType]`
    * No lugar, ✨ **use `Union[SomeType, None]`** ✨.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 10:32:53 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

      }
    
      /**
       * Returns a new range set consisting of the union of this range set and {@code other}.
       *
       * <p>This is essentially the same as {@code TreeRangeSet.create(this).addAll(other)} except it
       * returns an {@code ImmutableRangeSet}.
       *
       * @since 21.0
       */
      public ImmutableRangeSet<C> union(RangeSet<C> other) {
        return unionOf(Iterables.concat(asRanges(), other.asRanges()));
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  4. docs/de/docs/python-types.md

    #### <abbr title="Union – Verbund, Einheit‚ Vereinigung: Eines von Mehreren">Union</abbr>
    
    Sie können deklarieren, dass eine Variable einer von **verschiedenen Typen** sein kann, zum Beispiel ein `int` oder ein `str`.
    
    In Python 3.6 und höher (inklusive Python 3.10) können Sie den `Union`-Typ von `typing` verwenden und die möglichen Typen innerhalb der eckigen Klammern auflisten.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 18.9K bytes
    - Viewed (1)
  5. android/guava-tests/test/com/google/common/collect/SetViewTest.java

        assertMinSize(union(emptySet(), emptySet()), 0);
        assertMinSize(union(setSize(2), setSize(3)), 3);
        assertMinSize(union(setSize(3), setSize(2)), 3);
        assertMinSize(union(setSizeRange(10, 20), setSizeRange(11, 12)), 11);
        assertMinSize(union(setSizeRange(11, 12), setSizeRange(10, 20)), 11);
      }
    
      public void testUnion_maxSize() {
        assertMaxSize(union(emptySet(), emptySet()), 0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/query-params-str-validations.md

    ➡️ ✊ 👉 🈸 🖼:
    
    {* ../../docs_src/query_params_str_validations/tutorial001.py hl[9] *}
    
    🔢 🔢 `q` 🆎 `Union[str, None]` (⚖️ `str | None` 🐍 3️⃣.1️⃣0️⃣), 👈 ⛓ 👈 ⚫️ 🆎 `str` ✋️ 💪 `None`, &amp; 👐, 🔢 💲 `None`, FastAPI 🔜 💭 ⚫️ 🚫 ✔.
    
    /// note
    
    FastAPI 🔜 💭 👈 💲 `q` 🚫 ✔ ↩️ 🔢 💲 `= None`.
    
     `Union` `Union[str, None]` 🔜 ✔ 👆 👨‍🎨 🤝 👆 👍 🐕‍🦺 &amp; 🔍 ❌.
    
    ///
    
    ## 🌖 🔬
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Feb 15 16:23:59 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. .gitattributes

    # Always check-out / check-in files with LF line endings.
    * text=auto eol=lf
    
    hack/verify-flags/known-flags.txt merge=union
    test/test_owners.csv merge=union
    
    **/zz_generated.*.go linguist-generated=true
    **/types.generated.go linguist-generated=true
    **/generated.pb.go linguist-generated=true
    **/generated.proto
    **/types_swagger_doc_generated.go linguist-generated=true
    api/openapi-spec/*.json linguist-generated=true
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Mon Oct 28 20:33:50 UTC 2024
    - 510 bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/query-params-str-validations.md

    ```Python
    q: str
    ```
    
    вместо:
    
    ```Python
    q: Union[str, None] = None
    ```
    
    Но у нас query-параметр определён как `Query`. Например:
    
    //// tab | Annotated
    
    ```Python
    q: Annotated[Union[str, None], Query(min_length=3)] = None
    ```
    
    ////
    
    //// tab | без Annotated
    
    ```Python
    q: Union[str, None] = Query(default=None, min_length=3)
    ```
    
    ////
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Feb 15 16:23:59 UTC 2025
    - 24K bytes
    - Viewed (0)
  9. docs/em/docs/python-types.md

    ```
    
    ////
    
    #### ⚙️ `Union` ⚖️ `Optional`
    
    🚥 👆 ⚙️ 🐍 ⏬ 🔛 3️⃣.1️⃣0️⃣, 📥 💁‍♂ ⚪️➡️ 👇 📶 **🤔** ☝ 🎑:
    
    * 👶 ❎ ⚙️ `Optional[SomeType]`
    * ↩️ 👶 **⚙️ `Union[SomeType, None]`** 👶.
    
    👯‍♂️ 🌓 &amp; 🔘 👫 🎏, ✋️ 👤 🔜 👍 `Union` ↩️ `Optional` ↩️ 🔤 "**📦**" 🔜 😑 🔑 👈 💲 📦, &amp; ⚫️ 🤙 ⛓ "⚫️ 💪 `None`", 🚥 ⚫️ 🚫 📦 &amp; ✔.
    
    👤 💭 `Union[SomeType, None]` 🌖 🔑 🔃 ⚫️❔ ⚫️ ⛓.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/query-params-str-validations.md

    O parâmetro de consulta `q` é do tipo `Union[str, None]`, o que significa que é do tipo `str` mas que também pode ser `None`, e de fato, o valor padrão é `None`, então o FastAPI saberá que não é obrigatório.
    
    /// note | Observação
    
    O FastAPI saberá que o valor de `q` não é obrigatório por causa do valor padrão `= None`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top