Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 122 for Darling (0.16 sec)

  1. tests/test_query.py

        response = client.get("/query/int?query=42.5")
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "int_parsing",
                        "loc": ["query", "query"],
                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "42.5",
                    }
                ]
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/path-params.md

    ## Data validation
    
    But if you go to the browser at <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, you will see a nice HTTP error of:
    
    ```JSON
    {
      "detail": [
        {
          "type": "int_parsing",
          "loc": [
            "path",
            "item_id"
          ],
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_query_params/test_tutorial006_py310.py

                    },
                    {
                        "type": "int_parsing",
                        "loc": ["query", "skip"],
                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "a",
                    },
                    {
                        "type": "int_parsing",
                        "loc": ["query", "limit"],
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. docs/fr/docs/tutorial/path-params.md

        Ceci vous permettra d'obtenir des fonctionnalités de l'éditeur dans votre fonction, telles
        que des vérifications d'erreur, de l'auto-complétion, etc.
    
    ## <abbr title="aussi appelé sérialisation, ou parfois parsing ou marshalling en anglais">Conversion</abbr> de données
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/request-forms-and-files.md

        ```
    
    Файлы и поля формы будут загружены в виде данных формы, и вы получите файлы и поля формы.
    
    Вы можете объявить некоторые файлы как `bytes`, а некоторые - как `UploadFile`.
    
    !!! warning "Внимание"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. docs/em/docs/advanced/path-operation-advanced-configuration.md

    # ➡ 🛠️ 🏧 📳
    
    ## 🗄 {
    
    !!! warning
        🚥 👆 🚫 "🕴" 🗄, 👆 🎲 🚫 💪 👉.
    
    👆 💪 ⚒ 🗄 `operationId` ⚙️ 👆 *➡ 🛠️* ⏮️ 🔢 `operation_id`.
    
    👆 🔜 ✔️ ⚒ 💭 👈 ⚫️ 😍 🔠 🛠️.
    
    ```Python hl_lines="6"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial001.py!}
    ```
    
    ### ⚙️ *➡ 🛠️ 🔢* 📛 {
    
    🚥 👆 💚 ⚙️ 👆 🔗' 🔢 📛 `operationId`Ⓜ, 👆 💪 🔁 🤭 🌐 👫 &amp; 🔐 🔠 *➡ 🛠️* `operation_id` ⚙️ 👫 `APIRoute.name`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_handling_errors/test_tutorial005.py

        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "int_parsing",
                        "loc": ["body", "size"],
                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "XL",
                    }
                ],
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  8. docs/en/docs/contributing.md

    * Do not change anything enclosed in "``" (inline code).
    
    * In lines starting with `===` or `!!!`, translate only the ` "... Text ..."` part. Leave the rest unchanged.
    
    * You can translate info boxes like `!!! warning` with for example `!!! warning "Achtung"`. But do not change the word immediately after the `!!!`, it determines the color of the info box.
    
    * Do not change the paths in links to images, code files, Markdown documents.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 17:42:43 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/body-fields.md

        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            尽可能选择使用 `Annotated` 的版本。
    
        ```Python hl_lines="4"
        {!> ../../../docs_src/body_fields/tutorial001.py!}
        ```
    
    !!! warning "警告"
    
        注意,与从 `fastapi` 导入 `Query`,`Path`、`Body` 不同,要直接从 `pydantic` 导入 `Field` 。
    
    ## 声明模型属性
    
    然后,使用 `Field` 定义模型的属性:
    
    === "Python 3.10+"
    
        ```Python hl_lines="11-14"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 01 05:35:27 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/request-forms.md

    !!! warning "注意"
        *path operation*で複数の`Form`パラメータを宣言することができますが、JSONとして受け取ることを期待している`Body`フィールドを宣言することはできません。なぜなら、リクエストは`application/json`の代わりに`application/x-www-form-urlencoded`を使ってボディをエンコードするからです。
    
        これは **FastAPI**の制限ではなく、HTTPプロトコルの一部です。
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 3.3K bytes
    - Viewed (0)
Back to top