Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 58 for weigher (0.17 sec)

  1. .github/DISCUSSION_TEMPLATE/questions.yml

            Please add a self-contained, [minimal, reproducible, example](https://stackoverflow.com/help/minimal-reproducible-example) with your use case.
    
            If I (or someone) can copy it, run it, and see it right away, there's a much higher chance I (or someone) will be able to help you.
    
          placeholder: |
            from fastapi import FastAPI
    
            app = FastAPI()
    
    
            @app.get("/")
            def read_root():
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Aug 03 15:59:41 GMT 2023
    - 5.8K bytes
    - Viewed (1)
  2. docs/de/docs/fastapi-people.md

    </div>
    {% endif %}
    
    ## Über diese Daten - technische Details
    
    Der Hauptzweck dieser Seite ist es zu zeigen, wie die Gemeinschaft anderen hilft.
    
    Das beinhaltet auch Hilfe, die normalerweise weniger sichtbar und in vielen Fällen mühsamer ist, wie, anderen bei Problemen zu helfen und Pull Requests mit Übersetzungen zu überprüfen.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:10:01 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/body-nested-models.md

    ```
    
    !!! tip "豆知識"
        JSONはキーとして`str`しかサポートしていないことに注意してください。
    
        しかしPydanticには自動データ変換機能があります。
    
        これは、APIクライアントがキーとして文字列しか送信できなくても、それらの文字列に純粋な整数が含まれている限り、Pydanticが変換して検証することを意味します。
    
        そして、`weights`として受け取る`dict`は、実際には`int`のキーと`float`の値を持つことになります。
    
    ## まとめ
    
    **FastAPI** を使用すると、Pydanticモデルが提供する最大限の柔軟性を持ちながら、コードをシンプルに短く、エレガントに保つことができます。
    
    以下のような利点があります:
    
    * エディタのサポート(どこでも補完!)
    * データ変換(別名:構文解析・シリアライズ)
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/body-nested-models.md

        ```
    
    !!! tip
        请记住 JSON 仅支持将 `str` 作为键。
    
        但是 Pydantic 具有自动转换数据的功能。
    
        这意味着,即使你的 API 客户端只能将字符串作为键发送,只要这些字符串内容仅包含整数,Pydantic 就会对其进行转换并校验。
    
        然后你接收的名为 `weights` 的 `dict` 实际上将具有 `int` 类型的键和 `float` 类型的值。
    
    ## 总结
    
    使用 **FastAPI** 你可以拥有 Pydantic 模型提供的极高灵活性,同时保持代码的简单、简短和优雅。
    
    而且还具有下列好处:
    
    * 编辑器支持(处处皆可自动补全!)
    * 数据转换(也被称为解析/序列化)
    * 数据校验
    * 模式文档
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/body-nested-models.md

    !!! tip
        ✔️ 🤯 👈 🎻 🕴 🐕‍🦺 `str` 🔑.
    
        ✋️ Pydantic ✔️ 🏧 💽 🛠️.
    
        👉 ⛓ 👈, ✋️ 👆 🛠️ 👩‍💻 💪 🕴 📨 🎻 🔑, 📏 👈 🎻 🔌 😁 🔢, Pydantic 🔜 🗜 👫 &amp; ✔ 👫.
    
         &amp; `dict` 👆 📨 `weights` 🔜 🤙 ✔️ `int` 🔑 &amp; `float` 💲.
    
    ## 🌃
    
    ⏮️ **FastAPI** 👆 ✔️ 🔆 💪 🚚 Pydantic 🏷, ⏪ 🚧 👆 📟 🙅, 📏 &amp; 😍.
    
    ✋️ ⏮️ 🌐 💰:
    
    * 👨‍🎨 🐕‍🦺 (🛠️ 🌐 ❗)
    * 💽 🛠️ (.Ⓜ.. ✍ / 🛠️)
    * 💽 🔬
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  6. docs/en/docs/async.md

    And that's the same level of performance you get with **FastAPI**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/security/oauth2-scopes.md

    !!! tip
        The important and "magic" thing here is that `get_current_user` will have a different list of `scopes` to check for each *path operation*.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  8. docs/en/docs/img/deployment/https/https07.drawio

                        <mxGeometry x="895" y="650" width="300"...
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  9. docs/de/docs/deployment/concepts.md

    ### Mehrere Prozesse – Ein Beispiel
    
    Im folgenden Beispiel gibt es einen **Manager-Prozess**, welcher zwei **Workerprozesse** startet und steuert.
    
    Dieser Manager-Prozess wäre wahrscheinlich derjenige, welcher der IP am **Port** lauscht. Und er würde die gesamte Kommunikation an die Workerprozesse weiterleiten.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:16:25 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  10. docs_src/extra_models/tutorial005_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/keyword-weights/", response_model=dict[str, float])
    async def read_keyword_weights():
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 180 bytes
    - Viewed (0)
Back to top