Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 506 for Dict (0.05 sec)

  1. docs/de/docs/advanced/security/oauth2-scopes.md

    ## OAuth2-Sicherheitsschema
    
    Die erste Änderung ist, dass wir jetzt das OAuth2-Sicherheitsschema mit zwei verfügbaren Scopes deklarieren: `me` und `items`.
    
    Der `scopes`-Parameter erhält ein `dict` mit jedem Scope als Schlüssel und dessen Beschreibung als Wert:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="62-65"
    {!> ../../docs_src/security/tutorial005_an_py310.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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 🏷 (👆 🔜 👀 🌅 🔃 👈 ⏪).
    
    📤 📚 🎏 🎚 & 🏷 👈 🔜 🔁 🗜 🎻 (🔌 🐜, ♒️). 🔄 ⚙️ 👆 💕 🕐, ⚫️ 🏆 🎲 👈 👫 ⏪ 🐕‍🦺.
    
    ## 🌃
    
    * 🗄 `FastAPI`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/events.md

    ```Python hl_lines="8"
    {!../../docs_src/events/tutorial001.py!}
    ```
    
    In diesem Fall initialisiert die Eventhandler-Funktion `startup` die „Datenbank“ der Items (nur ein `dict`) mit einigen Werten.
    
    Sie können mehr als eine Eventhandler-Funktion hinzufügen.
    
    Und Ihre Anwendung empfängt erst dann Anfragen, wenn alle `startup`-Eventhandler abgeschlossen sind.
    
    ### `shutdown`-Event
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. 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)
  7. docs/em/docs/tutorial/dependencies/index.md

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

    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/path-params.md

    You could also access the value `"lenet"` with `ModelName.lenet.value`.
    
    ///
    
    #### Return *enumeration members*
    
    You can return *enum members* from your *path operation*, even nested in a JSON body (e.g. a `dict`).
    
    They will be converted to their corresponding values (strings in this case) before returning them to the client:
    
    ```Python hl_lines="18  21  23"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top