Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 497 for ditt (0.03 sec)

  1. docs/vi/docs/tutorial/first-steps.md

    ///
    
    ### Bước 5: Nội dung trả về
    
    {* ../../docs_src/first_steps/tutorial001.py hl[8] *}
    
    Bạn có thể trả về một `dict`, `list`, một trong những giá trị đơn như `str`, `int`,...
    
    Bạn cũng có thể trả về Pydantic model (bạn sẽ thấy nhiều hơn về nó sau).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Nov 10 16:58:43 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/first-steps.md

    /// note | 備考
    
    違いが分からない場合は、[Async: *"急いでいますか?"*](../async.md#_1){.internal-link target=_blank}を確認してください。
    
    ///
    
    ### Step 5: コンテンツの返信
    
    {* ../../docs_src/first_steps/tutorial001.py hl[8] *}
    
    `dict`、`list`、`str`、`int`などを返すことができます。
    
    Pydanticモデルを返すこともできます(後で詳しく説明します)。
    
    JSONに自動的に変換されるオブジェクトやモデルは他にもたくさんあります(ORMなど)。 お気に入りのものを使ってみてください。すでにサポートされている可能性が高いです。
    
    ## まとめ
    
    * `FastAPI`をインポート
    * `app`インスタンスを生成
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial005.py hl[20] *}
    
    /// tip | 豆知識
    
    `ModelName.lenet.value` でも `"lenet"` 値にアクセスできます。
    
    ///
    
    #### *列挙型メンバ*の返却
    
    *path operation* から*列挙型メンバ*を返すことができます。JSONボディ(`dict` など)でネストすることもできます。
    
    それらはクライアントに返される前に適切な値 (この場合は文字列) に変換されます。
    
    {* ../../docs_src/path_params/tutorial005.py hl[18,21,23] *}
    
    クライアントは以下の様なJSONレスポンスを得ます:
    
    ```JSON
    {
      "model_name": "alexnet",
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. misc/go_android_exec/main.go

    	}
    	cmd := exec.Command(goTool, "version")
    	cmd.Stderr = os.Stderr
    	out, err := cmd.Output()
    	if err != nil {
    		return fmt.Errorf("%v: %w", cmd, err)
    	}
    	goVersion := string(out)
    
    	// Also known by cmd/dist. The bootstrap command deletes the file.
    	statPath := filepath.Join(os.TempDir(), "go_android_exec-adb-sync-status")
    	stat, err := os.OpenFile(statPath, os.O_CREATE|os.O_RDWR, 0666)
    	if err != nil {
    		return err
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/sql-databases.md

    ### Обновление данных героя с помощью `HeroUpdate`
    
    Мы можем **обновить данные героя**. Для этого мы воспользуемся HTTP методом `PATCH`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 17 21:20:20 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/sql-databases.md

    ### Update a Hero with `HeroUpdate` { #update-a-hero-with-heroupdate }
    
    We can **update a hero**. For this we use an HTTP `PATCH` operation.
    
    And in the code, we get a `dict` with all the data sent by the client, **only the data sent by the client**, excluding any values that would be there just for being the default values. To do it we use `exclude_unset=True`. This is the main trick. 🪄
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/custom-response.md

    Você pode retorná-la diretamente.
    
    Ela aceita os seguintes parâmetros:
    
    * `content` - Uma sequência de caracteres (`str`) ou `bytes`.
    * `status_code` - Um código de status HTTP do tipo `int`.
    * `headers` - Um dicionário `dict` de strings.
    * `media_type` - Uma `str` informando o media type. E.g. `"text/html"`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/sql-databases.md

    ### Actualizar un Hero con `HeroUpdate`
    
    Podemos **actualizar un héroe**. Para esto usamos una operación HTTP `PATCH`.
    
    Y en el código, obtenemos un `dict` con todos los datos enviados por el cliente, **solo los datos enviados por el cliente**, excluyendo cualquier valor que estaría allí solo por ser valores por defecto. Para hacerlo usamos `exclude_unset=True`. Este es el truco principal. 🪄
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/ComponentUtil.java

    import org.codelibs.fess.crawler.entity.OpenSearchAccessResult;
    import org.codelibs.fess.crawler.extractor.ExtractorFactory;
    import org.codelibs.fess.crawler.service.DataService;
    import org.codelibs.fess.dict.DictionaryManager;
    import org.codelibs.fess.ds.DataStoreFactory;
    import org.codelibs.fess.exception.ContainerNotAvailableException;
    import org.codelibs.fess.helper.AccessTokenHelper;
    import org.codelibs.fess.helper.ActivityHelper;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/handling-errors.md

    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip | 豆知識
    
    `HTTPException`を発生させる際には、`str`だけでなく、JSONに変換できる任意の値を`detail`パラメータとして渡すことができます。
    
    `dict`や`list`などを渡すことができます。
    
    これらは **FastAPI** によって自動的に処理され、JSONに変換されます。
    
    ///
    
    ## カスタムヘッダーの追加
    
    例えば、いくつかのタイプのセキュリティのために、HTTPエラーにカスタムヘッダを追加できると便利な状況がいくつかあります。
    
    おそらくコードの中で直接使用する必要はないでしょう。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Jun 22 14:35:27 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top