Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Bar (0.44 sec)

  1. docs/en/docs/tutorial/query-params-str-validations.md

    Then, with a URL like:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    you would receive the multiple `q` *query parameters'* values (`foo` and `bar`) in a Python `list` inside your *path operation function*, in the *function parameter* `q`.
    
    So, the response to that URL would be:
    
    ```JSON
    {
      "q": [
        "foo",
        "bar"
      ]
    }
    ```
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/query-params-str-validations.md

        ```
    
    ⤴️, ⏮️ 📛 💖:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    👆 🔜 📨 💗 `q` *🔢 🔢'* 💲 (`foo` & `bar`) 🐍 `list` 🔘 👆 *➡ 🛠️ 🔢*, *🔢 🔢* `q`.
    
    , 📨 👈 📛 🔜:
    
    ```JSON
    {
      "q": [
        "foo",
        "bar"
      ]
    }
    ```
    
    !!! tip
        📣 🔢 🔢 ⏮️ 🆎 `list`, 💖 🖼 🔛, 👆 💪 🎯 ⚙️ `Query`, ⏪ ⚫️ 🔜 🔬 📨 💪.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/query-params-str-validations.md

    {!../../../docs_src/query_params_str_validations/tutorial011.py!}
    ```
    
    然后,输入如下网址:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    你会在*路径操作函数*的*函数参数* `q` 中以一个 Python `list` 的形式接收到*查询参数* `q` 的多个值(`foo` 和 `bar`)。
    
    因此,该 URL 的响应将会是:
    
    ```JSON
    {
      "q": [
        "foo",
        "bar"
      ]
    }
    ```
    
    !!! tip
        要声明类型为 `list` 的查询参数,如上例所示,你需要显式地使用 `Query`,否则该参数将被解释为请求体。
    
    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)
  4. docs/ru/docs/tutorial/query-params-str-validations.md

    Затем, получив такой URL:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    вы бы получили несколько значений (`foo` и `bar`), которые относятся к параметру `q`, в виде Python `list` внутри вашей *функции обработки пути*, в *параметре функции* `q`.
    
    Таким образом, ответ на этот URL будет:
    
    ```JSON
    {
      "q": [
        "foo",
        "bar"
      ]
    }
    ```
    
    !!! tip "Подсказка"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 38K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/query-params-str-validations.md

    Dann, mit einer URL wie:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    bekommen Sie alle `q`-*Query-Parameter*-Werte (`foo` und `bar`) in einer Python-Liste – `list` – in ihrer *Pfadoperation-Funktion*, im Funktionsparameter `q`, überreicht.
    
    Die Response für diese URL wäre also:
    
    ```JSON
    {
      "q": [
        "foo",
        "bar"
      ]
    }
    ```
    
    !!! tip "Tipp"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:58:59 GMT 2024
    - 27.7K bytes
    - Viewed (0)
Back to top