Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 98 for 105 (0.02 sec)

  1. docs/pt/docs/tutorial/body-updates.md

    {
        "name": "Barz",
        "price": 3,
        "description": None,
    }
    ```
    
    Como ele não inclui o atributo já armazenado `"tax": 20.2`, o modelo de entrada assumiria o valor padrão de `"tax": 10.5`.
    
    E os dados seriam salvos com esse "novo" `tax` de `10.5`.
    
    ## Atualizações parciais com `PATCH`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 14 09:16:06 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/body-updates.md

        "price": 3,
        "description": None,
    }
    ```
    
    because it doesn't include the already stored attribute `"tax": 20.2`, the input model would take the default value of `"tax": 10.5`.
    
    And the data would be saved with that "new" `tax` of `10.5`.
    
    ## Partial updates with `PATCH`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/response-model.md

    レスポンスモデルにはデフォルト値を設定することができます:
    
    ```Python hl_lines="11 13 14"
    {!../../docs_src/response_model/tutorial004.py!}
    ```
    
    * `description: str = None`は`None`がデフォルト値です。
    * `tax: float = 10.5`は`10.5`がデフォルト値です。
    * `tags: List[str] = []` は空のリスト(`[]`)がデフォルト値です。
    
    しかし、実際に保存されていない場合には結果からそれらを省略した方が良いかもしれません。
    
    例えば、NoSQLデータベースに多くのオプション属性を持つモデルがあるが、デフォルト値でいっぱいの非常に長いJSONレスポンスを送信したくない場合です。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/body-updates.md

    つまり、`PUT`を使用して以下のボディで項目`bar`を更新したい場合は:
    
    ```Python
    {
        "name": "Barz",
        "price": 3,
        "description": None,
    }
    ```
    
    すでに格納されている属性`"tax": 20.2`を含まないため、入力モデルのデフォルト値は`"tax": 10.5`です。
    
    そして、データはその「新しい」`10.5`の`tax`と共に保存されます。
    
    ## `PATCH`による部分的な更新
    
    また、<a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PATCH" class="external-link" target="_blank">HTTPの`PATCH`</a>操作でデータを*部分的に*更新することもできます。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_response_model/test_tutorial006_py310.py

                                {"title": "Description", "type": "string"}
                            ),
                            "tax": {"title": "Tax", "type": "number", "default": 10.5},
                        },
                    },
                    "ValidationError": {
                        "title": "ValidationError",
                        "required": ["loc", "msg", "type"],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. src/test/resources/plugin/repo3/fess-crawler-parent/maven-metadata.xml

        <release>14.14.0</release>
        <versions>
          <version>1.0.0</version>
          <version>1.0.1</version>
          <version>1.0.2</version>
          <version>1.0.3</version>
          <version>1.0.4</version>
          <version>1.0.5</version>
          <version>1.0.6</version>
          <version>1.0.7</version>
          <version>1.0.8</version>
          <version>1.0.9</version>
          <version>1.0.10</version>
          <version>1.0.11</version>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:30:41 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. src/test/resources/plugin/repo3/fess-crawler/maven-metadata.xml

        <release>14.14.0</release>
        <versions>
          <version>1.0.0</version>
          <version>1.0.1</version>
          <version>1.0.2</version>
          <version>1.0.3</version>
          <version>1.0.4</version>
          <version>1.0.5</version>
          <version>1.0.6</version>
          <version>1.0.7</version>
          <version>1.0.8</version>
          <version>1.0.9</version>
          <version>1.0.10</version>
          <version>1.0.11</version>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:30:41 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. src/test/resources/plugin/repo3/fess-crawler-webdriver/maven-metadata.xml

      <artifactId>fess-crawler-webdriver</artifactId>
      <versioning>
        <latest>3.16.0</latest>
        <release>3.16.0</release>
        <versions>
          <version>1.0.3</version>
          <version>1.0.4</version>
          <version>1.0.5</version>
          <version>1.0.6</version>
          <version>1.0.7</version>
          <version>1.0.8</version>
          <version>1.0.9</version>
          <version>1.0.10</version>
          <version>1.0.11</version>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:30:41 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/path-params-numeric-validations.md

    🔢 🔬 👷 `float` 💲.
    
    📥 🌐❔ ⚫️ ▶️️ ⚠ 💪 📣 <abbr title="greater than"><code>gt</code></abbr> &amp; 🚫 <abbr title="greater than or equal"><code>ge</code></abbr>. ⏮️ ⚫️ 👆 💪 🚚, 🖼, 👈 💲 🔜 👑 🌘 `0`, 🚥 ⚫️ 🌘 🌘 `1`.
    
    , `0.5` 🔜 ☑ 💲. ✋️ `0.0` ⚖️ `0` 🔜 🚫.
    
    &amp; 🎏 <abbr title="less than"><code>lt</code></abbr>.
    
    ```Python hl_lines="11"
    {!../../docs_src/path_params_numeric_validations/tutorial006.py!}
    ```
    
    ## 🌃
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/test/resources/plugin/repo3/fess-crawler-lasta/maven-metadata.xml

        <release>14.14.0</release>
        <versions>
          <version>1.0.0</version>
          <version>1.0.1</version>
          <version>1.0.2</version>
          <version>1.0.3</version>
          <version>1.0.4</version>
          <version>1.0.5</version>
          <version>1.0.6</version>
          <version>1.0.7</version>
          <version>1.0.8</version>
          <version>1.0.9</version>
          <version>1.0.10</version>
          <version>1.0.11</version>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:30:41 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top