Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 685 for Dict (0.02 seconds)

  1. docs/ko/docs/tutorial/dependencies/classes-as-dependencies.md

    **의존성 주입** 시스템에 대해 더 깊이 살펴보기 전에, 이전 예제를 업그레이드해 보겠습니다.
    
    ## 이전 예제의 `dict` { #a-dict-from-the-previous-example }
    
    이전 예제에서는 의존성("dependable")에서 `dict`를 반환하고 있었습니다:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}
    
    하지만 그러면 *경로 처리 함수*의 매개변수 `commons`에서 `dict`를 받게 됩니다.
    
    그리고 에디터는 `dict`의 키와 값 타입을 알 수 없기 때문에 `dict`에 대해서는 (완성 기능 같은) 많은 지원을 제공할 수 없다는 것을 알고 있습니다.
    
    더 나은 방법이 있습니다...
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:57:01 GMT 2026
    - 8K bytes
    - Click Count (0)
  2. tests/test_response_model_as_return_annotation.py

                        }
                    },
                    "/no_response_model-no_annotation-return_dict": {
                        "get": {
                            "summary": "No Response Model No Annotation Return Dict",
                            "operationId": "no_response_model_no_annotation_return_dict_no_response_model_no_annotation_return_dict_get",
                            "responses": {
                                "200": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 50.3K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/python-types.md

    * 變數 `items_s` 是一個 `set`,而其中每個項目都是 `bytes` 型別。
    
    #### Dict { #dict }
    
    定義 `dict` 時,你需要傳入 2 個以逗號分隔的型別參數。
    
    第一個型別參數是 `dict` 的鍵(key)。
    
    第二個型別參數是 `dict` 的值(value):
    
    {* ../../docs_src/python_types/tutorial008_py310.py hl[1] *}
    
    這代表:
    
    * 變數 `prices` 是個 `dict`:
        * 這個 `dict` 的鍵是 `str`(例如每個項目的名稱)。
        * 這個 `dict` 的值是 `float`(例如每個項目的價格)。
    
    #### Union { #union }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/body-updates.md

    Like `item.model_dump(exclude_unset=True)`.
    
    That would generate a `dict` with only the data that was set when creating the `item` model, excluding default values.
    
    Then you can use this to generate a `dict` with only the data that was set (sent in the request), omitting default values:
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[32] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/tutorial/schema-extra-example.md

    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    該 `dict` 的鍵用來識別各個範例,而每個值則是另一個 `dict`。
    
    在 `examples` 中,每個範例的 `dict` 可以包含:
    
    * `summary`:範例的簡短描述。
    * `description`:較長的描述,可包含 Markdown 文字。
    * `value`:實際顯示的範例,例如一個 `dict`。
    * `externalValue`:`value` 的替代方案,為指向範例的 URL。儘管這可能不如 `value` 被工具廣泛支援。
    
    你可以這樣使用:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  6. src/main/webapp/WEB-INF/view/admin/dict/kuromoji/admin_dict_kuromoji_edit.jsp

        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
            <jsp:param name="menuCategoryType" value="system"/>
            <jsp:param name="menuType" value="dict"/>
        </jsp:include>
        <main class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/schema-extra-example.md

    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    `dict`のキーは各例を識別し、各値は別の`dict`です。
    
    `examples`内の各特定の例`dict`には、次の内容を含められます:
    
    * `summary`: 例の短い説明。
    * `description`: Markdownテキストを含められる長い説明。
    * `value`: 実際に表示される例(例: `dict`)。
    * `externalValue`: `value`の代替で、例を指すURLです。ただし、`value`ほど多くのツールでサポートされていない可能性があります。
    
    次のように使えます:
    
    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. docs/zh/docs/tutorial/schema-extra-example.md

    - `Path()`
    - `Query()`
    - `Header()`
    - `Cookie()`
    - `Body()`
    - `Form()`
    - `File()`
    
    这个 `dict` 的键用于标识每个示例,每个值是另一个 `dict`。
    
    `examples` 中每个具体示例的 `dict` 可以包含:
    
    - `summary`:该示例的简短描述。
    - `description`:较长描述,可以包含 Markdown 文本。
    - `value`:实际展示的示例,例如一个 `dict`。
    - `externalValue`:`value` 的替代项,指向该示例的 URL。不过它的工具支持度可能不如 `value`。
    
    你可以这样使用:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  9. docs/ja/docs/advanced/additional-responses.md

    ## `model` を使った追加レスポンス { #additional-response-with-model }
    
    *path operation デコレータ*に `responses` パラメータを渡せます。
    
    これは `dict` を受け取り、キーは各レスポンスのステータスコード(例: `200`)、値は各レスポンスの情報を含む別の `dict` です。
    
    それぞれのレスポンス `dict` には、`response_model` と同様に Pydantic モデルを格納する `model` キーを含められます。
    
    FastAPI はそのモデルから JSON Schema を生成し、OpenAPI の適切な場所に含めます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10K bytes
    - Click Count (0)
  10. fastapi/routing.py

        else:
            return await run_in_threadpool(dependant.call, **values)
    
    
    def _build_response_args(
        *, status_code: int | None, solved_result: Any
    ) -> dict[str, Any]:
        response_args: dict[str, Any] = {
            "background": solved_result.background_tasks,
        }
        # If status_code was set, use it, otherwise use the default from the
        # response class, in the case of redirect it's 307
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
Back to Top