Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1461 - 1470 of 1,913 for parameters (0.06 seconds)

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

    Але цей посібник показує вам, більш-менш, як їх задумано використовувати.
    
    ///
    
    ### Використання параметра `exclude_unset` у Pydantic { #using-pydantics-exclude-unset-parameter }
    
    Якщо Ви хочете отримувати часткові оновлення, дуже корисно використовувати параметр `exclude_unset` у `.model_dump()` моделі Pydantic.
    
    Наприклад: `item.model_dump(exclude_unset=True)`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/LegacyComparable.java

     * that support Java 1.4 and before. Our library needs to do the bare minimum to accommodate such
     * types, though their use may still require an explicit type parameter and/or warning suppression.
     *
     * @author Kevin Bourrillion
     */
    @SuppressWarnings({"ComparableType", "rawtypes"}) // https://github.com/google/guava/issues/989
    @GwtCompatible
    @NullMarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  3. docs/zh/docs/advanced/response-change-status-code.md

    ## 使用场景 { #use-case }
    
    例如,假设你想默认返回一个HTTP状态码为“OK”`200`。
    
    但如果数据不存在,你想创建它,并返回一个HTTP状态码为“CREATED”`201`。
    
    但你仍然希望能够使用`response_model`过滤和转换你返回的数据。
    
    对于这些情况,你可以使用一个`Response`参数。
    
    ## 使用 `Response` 参数 { #use-a-response-parameter }
    
    你可以在你的*路径操作函数*中声明一个`Response`类型的参数(就像你可以为cookies和头部做的那样)。
    
    然后你可以在这个*临时*响应对象中设置`status_code`。
    
    {* ../../docs_src/response_change_status_code/tutorial001_py310.py hl[1,9,12] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  4. docs/fr/docs/advanced/response-change-status-code.md

    Mais vous souhaitez toujours pouvoir filtrer et convertir les données que vous renvoyez avec un `response_model`.
    
    Pour ces cas, vous pouvez utiliser un paramètre `Response`.
    
    ## Utiliser un paramètre `Response` { #use-a-response-parameter }
    
    Vous pouvez déclarer un paramètre de type `Response` dans votre fonction de chemin d'accès (comme vous pouvez le faire pour les cookies et les en-têtes).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/tutorial/body-nested-models.md

    你可以將屬性定義為某個子型別。例如,Python 的 `list`:
    
    {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *}
    
    這會讓 `tags` 成為一個列表,儘管尚未宣告列表元素的型別。
    
    ## 具有型別參數的列表欄位 { #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 17:05:38 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        /**
         * Sets the user properties to use for interpolation and profile activation. The user properties have been
         * configured directly by the user on his discretion, e.g. via the {@code -Dkey=value} parameter on the command
         * line.
         *
         * @param userProperties The user properties, may be {@code null}.
         * @return This request, never {@code null}.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 18.6K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/schema-extra-example.md

    JSON Schemaには`examples`がなかったため、OpenAPIは自身が改変したバージョンに独自の`example`フィールドを追加しました。
    
    OpenAPIは、仕様の他の部分にも`example`と`examples`フィールドを追加しました:
    
    * [`Parameter Object`(仕様内)](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#parameter-object)。FastAPIの以下で使用されました:
        * `Path()`
        * `Query()`
        * `Header()`
        * `Cookie()`
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/resources/META-INF/maven/plugin-expressions/settings.paramdoc.xml

    under the License.
    -->
    
    <paramdoc xmlns="http://maven.apache.org/POM/4.0.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ../../../../../../../maven-plugin-parameter-documenter/target/generated-site/xsd/paramdoc-1.0.0.xsd ">
      <expressions>
        <expression>
          <syntax>settings.offline</syntax>
          <configuration>
            <![CDATA[
        <offline>true</offline>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  9. docs/pt/docs/advanced/response-change-status-code.md

    Mas você ainda quer ser capaz de filtrar e converter o dado que você retornará com um `response_model`.
    
    Para estes casos, você pode utilizar um parâmetro `Response`.
    
    ## Use um parâmetro `Response` { #use-a-response-parameter }
    
    Você pode declarar um parâmetro do tipo `Response` em sua *função de operação de rota* (assim como você pode fazer para cookies e headers).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  10. docs_src/websockets_/tutorial002_an_py310.py

            await websocket.send_text(
                f"Session cookie or query token value is: {cookie_or_token}"
            )
            if q is not None:
                await websocket.send_text(f"Query parameter q is: {q}")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 12:34:37 GMT 2026
    - 2.8K bytes
    - Click Count (0)
Back to Top