Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for done (0.17 sec)

  1. docs/en/docs/project-generation.md

    You can use this template to get started, as it includes a lot of the initial set up, security, database and some API endpoints already done for you.
    
    GitHub Repository: <a href="https://github.com/tiangolo/full-stack-fastapi-template" class="external-link" target="_blank">Full Stack FastAPI Template</a>
    
    ## Full Stack FastAPI Template - Technology Stack and Features
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 21 21:12:21 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. docs/fr/docs/advanced/additional-responses.md

    Vous pouvez déclarer des réponses supplémentaires, avec des codes HTTP, des types de médias, des descriptions, etc.
    
    Ces réponses supplémentaires seront incluses dans le schéma OpenAPI, elles apparaîtront donc également dans la documentation de l'API.
    
    Mais pour ces réponses supplémentaires, vous devez vous assurer de renvoyer directement une `Response` comme `JSONResponse`, avec votre code HTTP et votre contenu.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  3. docs/fr/docs/deployment/versions.md

    ## Épinglez votre version de `fastapi`
    
    Tout d'abord il faut "épingler" la version de **FastAPI** que vous utilisez à la dernière version dont vous savez
    qu'elle fonctionne correctement pour votre application.
    
    Par exemple, disons que vous utilisez la version `0.45.0` dans votre application.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Oct 31 17:39:54 GMT 2022
    - 4K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/openapi-callbacks.md

    ## Documenting the callback
    
    The actual callback code will depend heavily on your own API app.
    
    And it will probably vary a lot from one app to the next.
    
    It could be just one or two lines of code, like:
    
    ```Python
    callback_url = "https://example.com/api/v1/invoices/events/"
    httpx.post(callback_url, json={"description": "Invoice paid", "paid": True})
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. docs/en/docs/img/deployment/https/https01.drawio

                        <mxGeometry width="500" height="350" as="geometry"/>
                    </mxCell>
                    <mxCell id="90" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;startArrow=none;startFill=0;endArrow=classic;endFill=1;strokeWidth=3;" parent="1" source="101" target="32" edge="1">
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 6.2K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/response-model.md

    ## 响应模型编码参数
    
    你的响应模型可以具有默认值,例如:
    
    ```Python hl_lines="11  13-14"
    {!../../../docs_src/response_model/tutorial004.py!}
    ```
    
    * `description: Union[str, None] = None` 具有默认值 `None`。
    * `tax: float = 10.5` 具有默认值 `10.5`.
    * `tags: List[str] = []` 具有一个空列表作为默认值: `[]`.
    
    但如果它们并没有存储实际的值,你可能想从结果中忽略它们的默认值。
    
    举个例子,当你在 NoSQL 数据库中保存了具有许多可选属性的模型,但你又不想发送充满默认值的很长的 JSON 响应。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/response-model.md

    ## レスポンスモデルのエンコーディングパラメータ
    
    レスポンスモデルにはデフォルト値を設定することができます:
    
    ```Python hl_lines="11 13 14"
    {!../../../docs_src/response_model/tutorial004.py!}
    ```
    
    * `description: str = None`は`None`がデフォルト値です。
    * `tax: float = 10.5`は`10.5`がデフォルト値です。
    * `tags: List[str] = []` は空のリスト(`[]`)がデフォルト値です。
    
    しかし、実際に保存されていない場合には結果からそれらを省略した方が良いかもしれません。
    
    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)
  8. docs/ko/docs/tutorial/body.md

        ```
    
    쿼리 매개변수를 선언할 때와 같이, 모델 어트리뷰트가 기본 값을 가지고 있어도 이는 필수가 아닙니다. 그외에는 필수입니다. 그저 `None`을 사용하여 선택적으로 만들 수 있습니다.
    
    예를 들면, 위의 이 모델은 JSON "`object`" (혹은 파이썬 `dict`)을 다음과 같이 선언합니다:
    
    ```JSON
    {
        "name": "Foo",
        "description": "선택적인 설명란",
        "price": 45.2,
        "tax": 3.5
    }
    ```
    
    ...`description`과 `tax`는 (기본 값이 `None`으로 되어 있어) 선택적이기 때문에, 이 JSON "`object`"는 다음과 같은 상황에서도 유효합니다:
    
    ```JSON
    {
        "name": "Foo",
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/metadata.md

    ```
    
    🚥 👆 💚 ❎ 🗄 🔗 🍕 👆 💪 ⚒ `openapi_url=None`, 👈 🔜 ❎ 🧾 👩‍💻 🔢 👈 ⚙️ ⚫️.
    
    ## 🩺 📛
    
    👆 💪 🔗 2️⃣ 🧾 👩‍💻 🔢 🔌:
    
    * **🦁 🎚**: 🍦 `/docs`.
        * 👆 💪 ⚒ 🚮 📛 ⏮️ 🔢 `docs_url`.
        * 👆 💪 ❎ ⚫️ ⚒ `docs_url=None`.
    * **📄**: 🍦 `/redoc`.
        * 👆 💪 ⚒ 🚮 📛 ⏮️ 🔢 `redoc_url`.
        * 👆 💪 ❎ ⚫️ ⚒ `redoc_url=None`.
    
    🖼, ⚒ 🦁 🎚 🍦 `/documentation` &amp; ❎ 📄:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/body-updates.md

    {!../../../docs_src/body_updates/tutorial001.py!}
    ```
    
    `PUT` 用于接收替换现有数据的数据。
    
    ### 关于更新数据的警告
    
    用 `PUT` 把数据项 `bar` 更新为以下内容时:
    
    ```Python
    {
        "name": "Barz",
        "price": 3,
        "description": None,
    }
    ```
    
    因为上述数据未包含已存储的属性 `"tax": 20.2`,新的输入模型会把 `"tax": 10.5` 作为默认值。
    
    因此,本次操作把 `tax` 的值「更新」为 `10.5`。
    
    ## 用 `PATCH` 进行部分更新
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.6K bytes
    - Viewed (0)
Back to top