Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 697 for dice (0.03 sec)

  1. tests/test_tutorial/test_sql_databases/test_tutorial002.py

            response = client.post(
                "/heroes/",
                json={
                    "id": 9000,
                    "name": "Dead Pond",
                    "age": 30,
                    "secret_name": "Dive Wilson",
                },
            )
            assert response.status_code == 200, response.text
            assert response.json() == snapshot(
                {"age": 30, "id": IsInt(), "name": "Dead Pond"}
            )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/security/oauth2-scopes.md

    Die *Pfadoperation* selbst deklariert auch einen Scope, `"items"`, sodass dieser auch in der Liste der `security_scopes.scopes` enthalten ist, die an `get_current_user` übergeben wird.
    
    So sieht die Hierarchie der Abhängigkeiten und Scopes aus:
    
    * Die *Pfadoperation* `read_own_items` hat:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/first-steps.md

    차이점을 모르겠다면 [Async: *"바쁘신 경우"*](../async.md#_1){.internal-link target=_blank}을 확인하세요.
    
    ///
    
    ### 5 단계: 콘텐츠 반환
    
    ```Python hl_lines="8"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `dict`, `list`, 단일값을 가진 `str`, `int` 등을 반환할 수 있습니다.
    
    Pydantic 모델을 반환할 수도 있습니다(나중에 더 자세히 살펴봅니다).
    
    JSON으로 자동 변환되는 객체들과 모델들(ORM 등을 포함해서)이 많이 있습니다. 가장 마음에 드는 것을 사용하십시오, 이미 지원되고 있을 것입니다.
    
    ## 요약
    
    * `FastAPI` 임포트.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/path-params.md

    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    /// tip | "팁"
    
    `ModelName.lenet.value`로도 값 `"lenet"`에 접근할 수 있습니다.
    
    ///
    
    #### *열거형 멤버* 반환
    
    *경로 작동*에서 *열거형 멤버*를 반환할 수 있습니다. 이는 중첩 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
    - 9.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                  @Override
                  protected SortedMap<String, String> create(Entry<String, String>[] entries) {
                    /*
                     * TODO(cpovirk): it would be nice to create an input Map and use
                     * the copy constructor here and in the other tests
                     */
                    return populate(new TreeMap<String, String>(), entries);
                  }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/first-steps.md

    🚥 👆 🚫 💭 🔺, ✅ [🔁: *"🏃 ❓"*](../async.md#_2){.internal-link target=_blank}.
    
    ///
    
    ### 🔁 5️⃣: 📨 🎚
    
    ```Python hl_lines="8"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    👆 💪 📨 `dict`, `list`, ⭐ 💲 `str`, `int`, ♒️.
    
    👆 💪 📨 Pydantic 🏷 (👆 🔜 👀 🌅 🔃 👈 ⏪).
    
    📤 📚 🎏 🎚 &amp; 🏷 👈 🔜 🔁 🗜 🎻 (🔌 🐜, ♒️). 🔄 ⚙️ 👆 💕 🕐, ⚫️ 🏆 🎲 👈 👫 ⏪ 🐕‍🦺.
    
    ## 🌃
    
    * 🗄 `FastAPI`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/events.md

    # Lifespan-Events
    
    Sie können Logik (Code) definieren, die ausgeführt werden soll, bevor die Anwendung **hochfährt**. Dies bedeutet, dass dieser Code **einmal** ausgeführt wird, **bevor** die Anwendung **beginnt, Requests entgegenzunehmen**.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. docs/pl/docs/tutorial/first-steps.md

    ///
    
    ### Krok 5: zwróć zawartość
    
    {* ../../docs_src/first_steps/tutorial001.py hl[8] *}
    
    Możesz zwrócić `dict`, `list`, pojedynczą wartość jako `str`, `int`, itp.
    
    Możesz również zwrócić modele Pydantic (więcej o tym później).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:51:30 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/dependencies/index.md

    &amp; ⚫️ 💪 📨 🕳 👆 💚.
    
    👉 💼, 👉 🔗 ⌛:
    
    * 📦 🔢 🔢 `q` 👈 `str`.
    * 📦 🔢 🔢 `skip` 👈 `int`, &amp; 🔢 `0`.
    * 📦 🔢 🔢 `limit` 👈 `int`, &amp; 🔢 `100`.
    
    &amp; ⤴️ ⚫️ 📨 `dict` ⚗ 📚 💲.
    
    ### 🗄 `Depends`
    
    //// tab | 🐍 3️⃣.6️⃣ &amp; 🔛
    
    ```Python hl_lines="3"
    {!> ../../docs_src/dependencies/tutorial001.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.1️⃣0️⃣ &amp; 🔛
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. docs/ja/docs/features.md

    ### 簡潔
    
    すべてに適切な**デフォルト**があり、オプションの構成ができます。必要なことを実行し、必要なAPIを定義するためにすべてのパラメーターを調整できます。
    
    ただし、デフォルトでもすべて **うまくいきます**。
    
    ### 検証
    
    * 以下の様な、ほとんどの(すべての?)Python **データ型**の検証:
         * JSONオブジェクト(`dict`)
         * 項目の型を定義するJSON配列(`list`)
         * 最小長と最大長のある文字列(`str`)フィールド
         * 最小値と最大値のある数値(`int`、` float`)
    
    * よりエキゾチックな型の検証:
         * URL
         * Eメール
         * UUID
         * ...その他
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top