Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 513 for dictId (0.07 sec)

  1. docs/en/docs/advanced/settings.md

    /// info
    
    In Pydantic version 1 the configuration was done in an internal class `Config`, in Pydantic version 2 it's done in an attribute `model_config`. This attribute takes a `dict`, and to get autocompletion and inline errors you can import and use `SettingsConfigDict` to define that `dict`.
    
    ///
    
    Here we define the config `env_file` inside of your Pydantic `Settings` class, and set the value to the filename with the dotenv file we want to use.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/body.md

    ```Python hl_lines="5-9"
    {!../../docs_src/body/tutorial001.py!}
    ```
    
    クエリパラメータの宣言と同様に、モデル属性がデフォルト値をもつとき、必須な属性ではなくなります。それ以外は必須になります。オプショナルな属性にしたい場合は `None` を使用してください。
    
    例えば、上記のモデルは以下の様なJSON「`オブジェクト`」(もしくはPythonの `dict` ) を宣言しています:
    
    ```JSON
    {
        "name": "Foo",
        "description": "An optional description",
        "price": 45.2,
        "tax": 3.5
    }
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. docs/zh/docs/features.md

    
    
    ### 简洁
    
    任何类型都有合理的**默认值**,任何和地方都有可选配置。所有的参数被微调,来满足你的需求,定义成你需要的 API。
    
    但是默认情况下,一切都能**“顺利工作”**。
    
    ### 验证
    
    * 校验大部分(甚至所有?)的 Python **数据类型**,包括:
        * JSON 对象 (`dict`).
        * JSON 数组 (`list`) 定义成员类型。
        * 字符串 (`str`) 字段, 定义最小或最大长度。
        * 数字 (`int`, `float`) 有最大值和最小值, 等等。
    
    * 校验外来类型, 比如:
        * URL.
        * Email.
        * UUID.
        * ...及其他.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/security/oauth2-scopes.md

    {!../../docs_src/security/tutorial005.py!}
    ```
    
    🔜 ➡️ 📄 👈 🔀 🔁 🔁.
    
    ## Oauth2️⃣ 💂‍♂ ⚖
    
    🥇 🔀 👈 🔜 👥 📣 Oauth2️⃣ 💂‍♂ ⚖ ⏮️ 2️⃣ 💪 ↔, `me` & `items`.
    
    `scopes` 🔢 📨 `dict` ⏮️ 🔠 ↔ 🔑 & 📛 💲:
    
    ```Python hl_lines="62-65"
    {!../../docs_src/security/tutorial005.py!}
    ```
    
    ↩️ 👥 🔜 📣 📚 ↔, 👫 🔜 🎦 🆙 🛠️ 🩺 🕐❔ 👆 🕹-/✔.
    
    & 👆 🔜 💪 🖊 ❔ ↔ 👆 💚 🤝 🔐: `me` & `items`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. docs/pt/docs/advanced/events.md

    ```Python hl_lines="8"
    {!../../docs_src/events/tutorial001.py!}
    ```
    
    Nesse caso, a função de manipulação de evento `startup` irá inicializar os itens do "banco de dados" (só um `dict`) com alguns valores.
    
    Você pode adicionar mais que uma função de manipulação de evento.
    
    E sua aplicação não irá começar a receber requisições até que todos os manipuladores de eventos de `startup` sejam concluídos.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/events.md

    {* ../../docs_src/events/tutorial001.py hl[8] *}
    
    In this case, the `startup` event handler function will initialize the items "database" (just a `dict`) with some values.
    
    You can add more than one event handler function.
    
    And your application won't start receiving requests until all the `startup` event handlers have completed.
    
    ### `shutdown` event
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:36:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/response-model.md

    ```Python hl_lines="8"
    {!> ../../docs_src/response_model/tutorial003_04_py310.py!}
    ```
    
    ////
    
    ...👉 ❌ ↩️ 🆎 ✍ 🚫 Pydantic 🆎 & 🚫 👁 `Response` 🎓 ⚖️ 🏿, ⚫️ 🇪🇺 (🙆 2️⃣) 🖖 `Response` & `dict`.
    
    ### ❎ 📨 🏷
    
    ▶️ ⚪️➡️ 🖼 🔛, 👆 5️⃣📆 🚫 💚 ✔️ 🔢 💽 🔬, 🧾, 🖥, ♒️. 👈 🎭 FastAPI.
    
    ✋️ 👆 💪 💚 🚧 📨 🆎 ✍ 🔢 🤚 🐕‍🦺 ⚪️➡️ 🧰 💖 👨‍🎨 & 🆎 ☑ (✅ ✍).
    
    👉 💼, 👆 💪 ❎ 📨 🏷 ⚡ ⚒ `response_model=None`:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. docs/ko/docs/features.md

    어느 곳에서나 선택적 구성이 가능한 모든 것에 합리적인 기본값이 설정되어 있습니다. 모든 매개변수는 여러분이 필요하거나, 원하는 API를 정의하기 위해 미세하게 조정할 수 있습니다.
    
    하지만 기본적으로 모든 것이 "그냥 작동합니다".
    
    ### 검증
    
    * 다음을 포함한, 대부분의 (혹은 모든?) 파이썬 **데이터 타입** 검증할 수 있습니다:
        * JSON 객체 (`dict`).
        * 아이템 타입을 정의하는 JSON 배열 (`list`).
        * 최소 길이와 최대 길이를 정의하는 문자열 (`str`) 필드.
        * 최솟값과 최댓값을 가지는 숫자 (`int`, `float`), 그 외.
    
    * 다음과 같이 더욱 이색적인 타입에 대해 검증할 수 있습니다:
        * URL.
        * 이메일.
        * UUID.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/path-params.md

    ///
    
    #### *Enum-Member* zurückgeben
    
    Sie können *Enum-Member* in ihrer *Pfadoperation* zurückgeben, sogar verschachtelt in einem JSON-Body (z. B. als `dict`).
    
    Diese werden zu ihren entsprechenden Werten konvertiert (in diesem Fall Strings), bevor sie zum Client übertragen werden:
    
    ```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
    - 10.2K bytes
    - Viewed (0)
  10. configure.py

      For the env param var_name, read from the environment or verify user input
      until receiving valid input. When done, set var_name in the environ_cp to its
      new value.
    
      Args:
        environ_cp: (Dict) copy of the os.environ.
        var_name: (String) string for name of environment variable, e.g. "TF_MYVAR".
        var_default: (String) default value string.
        ask_for_var: (String) string for how to ask for user input.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 48.2K bytes
    - Viewed (0)
Back to top