Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,574 for None (0.72 sec)

  1. docs/es/docs/tutorial/body.md

    /// note | Nota
    
    FastAPI sabrá que el valor de `q` no es requerido debido al valor por defecto `= None`.
    
    El `str | None` (Python 3.10+) o `Union` en `Union[str, None]` (Python 3.8+) no es utilizado por FastAPI para determinar que el valor no es requerido, sabrá que no es requerido porque tiene un valor por defecto de `= None`.
    
    Pero agregar las anotaciones de tipos permitirá que tu editor te brinde un mejor soporte y detecte errores.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. .mailmap

    Paul Merlin <******@****.***> <******@****.***>
    Peter Niederwieser <******@****.***> <pniederw@.(none)>
    Peter Niederwieser <******@****.***> <pniederw@pniederw-PC.(none)>
    Piotr Jagielski <******@****.***> <Piotr Jagielski>
    Rene Groeschke <******@****.***> <Rene@DevWin7.(none)>
    Rene Groeschke <******@****.***> <******@****.***>
    Rene Groeschke <******@****.***> <******@****.***>
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Oct 03 06:34:28 UTC 2017
    - 3.3K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/query-params-str-validations.md

    デフォルト値`None`を`Query(default=None)`に置き換える必要があるので、`Query`の最初の引数はデフォルト値を定義するのと同じです。
    
    なので:
    
    ```Python
    q: Optional[str] = Query(default=None)
    ```
    
    ...を以下と同じようにパラメータをオプションにします:
    
    ```Python
    q: Optional[str] = None
    ```
    
    しかし、これはクエリパラメータとして明示的に宣言しています。
    
    /// info | 情報
    
    FastAPIは以下の部分を気にすることを覚えておいてください:
    
    ```Python
    = None
    ```
    
    もしくは:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/body-multiple-params.md

    ## 💗 💪 = &amp; 🔢
    
    ↗️, 👆 💪 📣 🌖 🔢 🔢 🕐❔ 👆 💪, 🌖 🙆 💪 🔢.
    
    , 🔢, ⭐ 💲 🔬 🔢 🔢, 👆 🚫 ✔️ 🎯 🚮 `Query`, 👆 💪:
    
    ```Python
    q: Union[str, None] = None
    ```
    
    ⚖️ 🐍 3️⃣.1️⃣0️⃣ &amp; 🔛:
    
    ```Python
    q: str | None = None
    ```
    
    🖼:
    
    {* ../../docs_src/body_multiple_params/tutorial004.py hl[27] *}
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

                    "aaa");
            assertQueryBuilder(MatchPhraseQueryBuilder.class,
                    "{\"match_phrase\":{\"title\":{\"query\":\"aaa\",\"slop\":0,\"zero_terms_query\":\"NONE\",\"boost\":1.0}}}", //
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/response-model.md

    Seu modelo de resposta pode ter valores padrão, como:
    
    {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *}
    
    * `description: Union[str, None] = None` (ou `str | None = None` no Python 3.10) tem um padrão de `None`.
    * `tax: float = 10.5` tem um padrão de `10.5`.
    * `tags: List[str] = []` tem um padrão de uma lista vazia: `[]`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Nov 26 22:51:05 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

                    (jsonObject["parallelizationMethod"] as? Map<*, *>)?.let { objectMapper.valueToTree<JsonNode>(it) }
                        ?: return None
    
                return when (methodJsonNode.get("name")?.asText()) {
                    null -> None
                    None::class.simpleName -> None
                    TestDistribution::class.simpleName -> TestDistribution
                    TestDistributionAlpine::class.simpleName -> TestDistributionAlpine
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. docs/vi/docs/index.md

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/body-multiple-params.md

    Da einfache Werte standardmäßig als Query-Parameter interpretiert werden, müssen Sie `Query` nicht explizit hinzufügen, Sie können einfach schreiben:
    
    ```Python
    q: Union[str, None] = None
    ```
    
    Oder in Python 3.10 und darüber:
    
    ```Python
    q: str | None = None
    ```
    
    Zum Beispiel:
    
    {* ../../docs_src/body_multiple_params/tutorial004_an_py310.py hl[27] *}
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. docs/em/docs/python-types.md

    👯‍♂️ 💼 👉 ⛓ 👈 `item` 💪 `int` ⚖️ `str`.
    
    #### 🎲 `None`
    
    👆 💪 📣 👈 💲 💪 ✔️ 🆎, 💖 `str`, ✋️ 👈 ⚫️ 💪 `None`.
    
    🐍 3️⃣.6️⃣ &amp; 🔛 (✅ 🐍 3️⃣.1️⃣0️⃣) 👆 💪 📣 ⚫️ 🏭 &amp; ⚙️ `Optional` ⚪️➡️ `typing` 🕹.
    
    ```Python hl_lines="1  4"
    {!../../docs_src/python_types/tutorial009.py!}
    ```
    
    ⚙️ `Optional[str]` ↩️ `str` 🔜 ➡️ 👨‍🎨 ℹ 👆 🔍 ❌ 🌐❔ 👆 💪 🤔 👈 💲 🕧 `str`, 🕐❔ ⚫️ 💪 🤙 `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)
Back to top