Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 404 for Errorf (0.18 sec)

  1. docs/de/docs/tutorial/handling-errors.md

    ```Python hl_lines="2  14-16"
    {!../../../docs_src/handling_errors/tutorial004.py!}
    ```
    
    Wenn Sie nun `/items/foo` besuchen, erhalten Sie statt des Default-JSON-Errors:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "path",
                    "item_id"
                ],
                "msg": "value is not a valid integer",
                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:28:29 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/handling-errors.md

    ```
    1 validation error
    path -> item_id
      value is not a valid integer (type=type_error.integer)
    ```
    
    #### `RequestValidationError` или `ValidationError`
    
    !!! warning "Внимание"
        Это технические детали, которые можно пропустить, если они не важны для вас сейчас.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  3. tests/test_dependency_contextmanager.py

        assert "/async_raise" in errors
        errors.clear()
    
    
    def test_async_raise_server_error():
        client = TestClient(app, raise_server_exceptions=False)
        response = client.get("/async_raise")
        assert response.status_code == 500, response.text
        assert state["/async_raise"] == "asyncgen raise finalized"
        assert "/async_raise" in errors
        errors.clear()
    
    
    def test_context_b():
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

        ```
    
    Eine Alternative zum Abfangen von Exceptions (und möglicherweise auch zum Auslösen einer weiteren `HTTPException`) besteht darin, einen [benutzerdefinierten Exceptionhandler](../handling-errors.md#benutzerdefinierte-exceptionhandler-definieren){.internal-link target=_blank} zu erstellen.
    
    ## Ausführung von Abhängigkeiten mit `yield`
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:10:29 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/handling-errors.md

    被替换为了以下文本格式的错误信息:
    
    ```
    1 validation error
    path -> item_id
      value is not a valid integer (type=type_error.integer)
    
    ```
    
    ### `RequestValidationError` vs `ValidationError`
    
    !!! warning "警告"
    
        如果您觉得现在还用不到以下技术细节,可以先跳过下面的内容。
    
    
    `RequestValidationError` 是 Pydantic 的 <a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a> 的子类。
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/handling-errors.md

    ```
    1 validation error
    path -> item_id
      value is not a valid integer (type=type_error.integer)
    ```
    
    #### `RequestValidationError` 🆚 `ValidationError`
    
    !!! warning
        👫 📡 ℹ 👈 👆 💪 🚶 🚥 ⚫️ 🚫 ⚠ 👆 🔜.
    
    `RequestValidationError` 🎧-🎓 Pydantic <a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a>.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/handling-errors.md

    以下のようなテキスト版を取得します:
    
    ```
    1 validation error
    path -> item_id
      value is not a valid integer (type=type_error.integer)
    ```
    
    #### `RequestValidationError`と`ValidationError`
    
    !!! warning "注意"
        これらは今のあなたにとって重要でない場合は省略しても良い技術的な詳細です。
    
    `RequestValidationError`はPydanticの<a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a>のサブクラスです。
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  8. fastapi/applications.py

                        valid, that would mean a violation of the contract with the client,
                        so it's an error from the API developer. So, FastAPI will raise an
                        error and return a 500 error code (Internal Server Error).
    
                    Read more about it in the
                    [FastAPI docs for Response Model](https://fastapi.tiangolo.com/tutorial/response-model/).
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/sql-databases-peewee.md

    This will probably happen for more than one of those tabs.
    
    If you had multiple clients talking to your app exactly at the same time, this is what could happen.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_bigger_applications/test_main.py

                        "loc": ["query", "token"],
                        "msg": "field required",
                        "type": "value_error.missing",
                    },
                    {
                        "loc": ["header", "x-token"],
                        "msg": "field required",
                        "type": "value_error.missing",
                    },
                ]
            }
        )
    
    
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 24.6K bytes
    - Viewed (0)
Back to top