Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 69 for plumbus (0.03 sec)

  1. docs/uk/docs/tutorial/query-param-models.md

    Якщо клієнт спробує надіслати **зайві** дані у **query параметрах**, він отримає **помилку**.
    
    Наприклад, якщо клієнт спробує надіслати query параметр `tool` зі значенням `plumbus`, як у цьому запиті:
    
    ```http
    https://example.com/items/?limit=10&tool=plumbus
    ```
    
    Він отримає відповідь з **помилкою**, яка повідомить, що query параметр `tool ` не дозволено:
    
    ```json
    {
        "detail": [
            {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Jun 05 12:12:04 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/query-param-models.md

    例如,如果客户端尝试发送一个值为 `plumbus` 的 `tool` 查询参数,如:
    
    ```http
    https://example.com/items/?limit=10&tool=plumbus
    ```
    
    他们将收到一个**错误**响应,告诉他们查询参数 `tool` 是不允许的:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["query", "tool"],
                "msg": "Extra inputs are not permitted",
                "input": "plumbus"
            }
        ]
    }
    ```
    
    ## 总结
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Nov 26 22:06:31 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/query-param-models.md

    Por exemplo, se o cliente tentar enviar um parâmetro de consulta `tool` com o valor `plumbus`, como:
    
    ```http
    https://example.com/items/?limit=10&tool=plumbus
    ```
    
    Eles receberão um retorno de **erro** informando-os que o parâmentro de consulta `tool` não é permitido:
    
    ```json
    {
        "detail": [
            {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. docs_src/dependencies/tutorial008d_py39.py

        if item_id == "portal-gun":
            raise InternalError(
                f"The portal gun is too dangerous to be owned by {username}"
            )
        if item_id != "plumbus":
            raise HTTPException(
                status_code=404, detail="Item not found, there's only a plumbus here"
            )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 694 bytes
    - Viewed (0)
  5. docs/zh-hant/docs/tutorial/query-param-models.md

    例如,如果客戶端嘗試發送一個值為 `plumbus` 的 `tool` 查詢參數,如:
    
    ```http
    https://example.com/items/?limit=10&tool=plumbus
    ```
    
    他們將收到一個**錯誤**回應,告訴他們查詢參數 `tool` 是不允許的:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["query", "tool"],
                "msg": "Extra inputs are not permitted",
                "input": "plumbus"
            }
        ]
    }
    ```
    
    ## 總結
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 27 22:14:10 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. docs_src/dependencies/tutorial008d_an_py39.py

        if item_id == "portal-gun":
            raise InternalError(
                f"The portal gun is too dangerous to be owned by {username}"
            )
        if item_id != "plumbus":
            raise HTTPException(
                status_code=404, detail="Item not found, there's only a plumbus here"
            )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 734 bytes
    - Viewed (0)
  7. tests/test_tutorial/test_query_param_models/test_tutorial002.py

        response = client.get(
            "/items/",
            params={
                "limit": 10,
                "offset": 5,
                "order_by": "updated_at",
                "tags": ["tag1", "tag2"],
                "tool": "plumbus",
            },
        )
        assert response.status_code == 422
        assert response.json() == snapshot(
            {
                "detail": [
                    {
                        "type": "extra_forbidden",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/query-param-models.md

    例えば、クライアントがクエリパラメータ `tool` に、値 `plumbus` を設定して送ろうとすると:
    
    ```http
    https://example.com/items/?limit=10&tool=plumbus
    ```
    
    クエリパラメータ `tool` が許可されていないことを通知する**エラー**レスポンスが返されます。
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["query", "tool"],
                "msg": "Extra inputs are not permitted",
                "input": "plumbus"
            }
        ]
    }
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Feb 28 14:18:46 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. docs_src/behind_a_proxy/tutorial001_01_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/")
    def read_items():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 122 bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/header-param-models.md

    Например, если клиент попытается отправить заголовок `tool` со значением `plumbus`, то в ответ он получит ошибку, сообщающую ему, что header-параметр `tool` не разрешен:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["header", "tool"],
                "msg": "Extra inputs are not permitted",
                "input": "plumbus",
            }
        ]
    }
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top