Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 697 for dice (0.04 sec)

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

    ///
    
    ### Step 5: return the content
    
    {* ../../docs_src/first_steps/tutorial001.py hl[8] *}
    
    You can return a `dict`, `list`, singular values as `str`, `int`, etc.
    
    You can also return Pydantic models (you'll see more about that later).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:48:16 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. docs/uk/docs/tutorial/first-steps.md

    ///
    
    ### Крок 5: поверніть результат
    
    ```Python hl_lines="8"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Ви можете повернути `dict`, `list`, а також окремі значення `str`, `int`, ітд.
    
    Також можна повернути моделі Pydantic (про це ви дізнаєтесь пізніше).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/autoscaling/v2beta2/generated.proto

      // ratio between the target value and the current value by the current
      // number of pods.  Ergo, metrics used must decrease as the pod count is
      // increased, and vice-versa.  See the individual metric source types for
      // more information about how each type of metric must respond.
      // If not set, the default metric will be set to 80% average CPU utilization.
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21K bytes
    - Viewed (0)
  4. docs/vi/docs/tutorial/first-steps.md

    ///
    
    ### Bước 5: Nội dung trả về
    
    ```Python hl_lines="8"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.cc

          tensorflow::unwrap(h);
      // TODO(b/175427838): It would be nice to be able to use tensorflow::isa here.
      if (tensorflow::CustomDeviceTensorHandle::classof(unwrapped_handle)) {
        return tensorflow::down_cast<tensorflow::CustomDeviceTensorHandle*>(
                   unwrapped_handle)
            ->DevicePointer();
      }
      // TODO(b/175427838): It would be nice to be able to use tensorflow::isa here.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  6. docs/en/docs/contributing.md

    ## Developing
    
    If you already cloned the <a href="https://github.com/fastapi/fastapi" class="external-link" target="_blank">fastapi repository</a> and you want to deep dive in the code, here are some guidelines to set up your environment.
    
    ### Virtual environment
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 25 02:44:06 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/TempFileCreator.java

    /**
     * Creates temporary files and directories whose permissions are restricted to the current user or,
     * in the case of Android, the current app. If that is not possible (as is the case under the very
     * old Android Ice Cream Sandwich release), then this class throws an exception instead of creating
     * a file or directory that would be more accessible.
     */
    @J2ktIncompatible
    @GwtIncompatible
    @J2ObjCIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Tables.java

       * calling {@code get(rowKey, columnKey)} on the original table. Updating the original table
       * changes the contents of the transposed table and vice versa.
       *
       * <p>The returned table supports update operations as long as the input table supports the
       * analogous operation with swapped rows and columns. For example, in a {@link HashBasedTable}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/first-steps.md

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

    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// tip | "豆知識"
    
    `ModelName.lenet.value` でも `"lenet"` 値にアクセスできます。
    
    ///
    
    #### *列挙型メンバ*の返却
    
    *path operation* から*列挙型メンバ*を返すことができます。JSONボディ(`dict` など)でネストすることもできます。
    
    それらはクライアントに返される前に適切な値 (この場合は文字列) に変換されます。
    
    ```Python hl_lines="18  21  23"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    クライアントは以下の様なJSONレスポンスを得ます:
    
    ```JSON
    {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top