- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for foo (0.12 sec)
-
docs/ru/docs/index.md
* Проверять, что `item_id` имеет тип `int` для запросов `GET` и `PUT`. * Если это не так, клиент увидит полезную чёткую ошибку. * Проверять, есть ли необязательный параметр запроса с именем `q` (например, `http://127.0.0.1:8000/items/foo?q=somequery`) для `GET` запросов. * Поскольку параметр `q` объявлен с `= None`, он является необязательным. * Без `None` он был бы необходим (как тело в случае с `PUT`).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 25.8K bytes - Viewed (0) -
docs/it/docs/index.md
* Validerà che `item_id` sia di tipo `int` per le richieste `GET` e `PUT`. * Se non lo è, il client vedrà un errore chiaro e utile. * Controllerà se ci sia un parametro opzionale chiamato `q` (per esempio `http://127.0.0.1:8000/items/foo?q=somequery`) per le richieste `GET`. * Siccome il parametro `q` è dichiarato con `= None`, è opzionale. * Senza il `None` sarebbe stato obbligatorio (come per il body della richiesta `PUT`).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 23:58:47 GMT 2024 - 19.3K bytes - Viewed (0) -
docs/zh/docs/index.md
--- 回到前面的代码示例,**FastAPI** 将会: * 校验 `GET` 和 `PUT` 请求的路径中是否含有 `item_id`。 * 校验 `GET` 和 `PUT` 请求中的 `item_id` 是否为 `int` 类型。 * 如果不是,客户端将会收到清晰有用的错误信息。 * 检查 `GET` 请求中是否有命名为 `q` 的可选查询参数(比如 `http://127.0.0.1:8000/items/foo?q=somequery`)。 * 因为 `q` 被声明为 `= None`,所以它是可选的。 * 如果没有 `None` 它将会是必需的 (如 `PUT` 例子中的请求体)。 * 对于访问 `/items/{item_id}` 的 `PUT` 请求,将请求体读取为 JSON 并: * 检查是否有必需属性 `name` 并且值为 `str` 类型 。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 18.2K bytes - Viewed (0) -
docs/en/docs/index.md
* Validate that the `item_id` is of type `int` for `GET` and `PUT` requests. * If it is not, the client will see a useful, clear error. * Check if there is an optional query parameter named `q` (as in `http://127.0.0.1:8000/items/foo?q=somequery`) for `GET` requests. * As the `q` parameter is declared with `= None`, it is optional. * Without the `None` it would be required (as is the body in the case with `PUT`).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 19.8K bytes - Viewed (0) -
docs/de/docs/index.md
* Falls nicht, wird dem Client ein nützlicher, eindeutiger Fehler angezeigt. * Prüfen, ob es einen optionalen Abfrageparameter namens `q` (wie in `http://127.0.0.1:8000/items/foo?q=somequery`) für `GET`-Anfragen gibt. * Da der `q`-Parameter mit `= None` deklariert ist, ist er optional. * Ohne das `None` wäre er erforderlich (wie der Body im Fall von `PUT`).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 21.1K bytes - Viewed (0) -
docs/he/docs/index.md
- לאמת שה - `item_id` הוא מטיפוס `int` בבקשות `GET` ו - `PUT`. - אם הוא לא, הלקוח יראה שגיאה ברורה ושימושית. - לבדוק האם קיים פרמטר שאילתא בשם `q` (קרי `http://127.0.0.1:8000/items/foo?q=somequery`) לבקשות `GET`. - מאחר והפרמטר `q` מוגדר עם <code dir="ltr"> = None</code>, הוא אופציונלי. - לולא ה - `None` הוא היה חובה (כמו הגוף במקרה של `PUT`).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 23:58:47 GMT 2024 - 21.2K bytes - Viewed (0) -
docs/fa/docs/index.md
* اگر غیر از این موارد باشد، سرویسگیرنده خطای مفید و مشخصی دریافت خواهد کرد. * بررسی وجود پارامتر پرسمان اختیاری `q` (مانند `http://127.0.0.1:8000/items/foo?q=somequery`) در درخواستهای `GET`. * از آنجا که پارامتر `q` با `= None` مقداردهی شده است، این پارامتر اختیاری است. * اگر از مقدار اولیه `None` استفاده نکنیم، این پارامتر الزامی خواهد بود (همانند بدنه درخواست در درخواست `PUT`).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 23:58:47 GMT 2024 - 25.9K bytes - Viewed (0) -
docs/pt/docs/index.md
* Se não é validado, o cliente verá um útil, claro erro. * Verificar se existe um parâmetro de _query_ opcional nomeado como `q` (como em `http://127.0.0.1:8000/items/foo?q=somequery`) para requisições `GET`. * Como o parâmetro `q` é declarado com `= None`, ele é opcional. * Sem o `None` ele poderia ser obrigatório (como o corpo no caso de `PUT`).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 18.6K bytes - Viewed (0) -
docs/az/docs/index.md
* Əgər `int` deyilsə, səbəbini göstərən bir xəta mesajı göstərəcəkdir. * <abbr title="Məcburi olmayan: Optional">məcburi olmayan</abbr> `q` parametrinin `GET` (`http://127.0.0.1:8000/items/foo?q=somequery` burdakı kimi) sorğusu içərisində olub olmadığını yoxlayacaq. * `q` parametrini `= None` ilə yaratdığımız üçün, <abbr title="Məcburi olmayan: Optional">məcburi olmayan</abbr> parametr olacaq.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 22.8K bytes - Viewed (0) -
docs/vi/docs/index.md
* Nếu không, client sẽ thấy một lỗi rõ ràng và hữu ích. * Kiểm tra xem nếu có một tham số `q` trong query string (ví dụ như `http://127.0.0.1:8000/items/foo?q=somequery`) cho request `GET`. * Tham số `q` được định nghĩa `= None`, nó là tùy chọn. * Nếu không phải `None`, nó là bắt buộc (như body trong trường hợp của `PUT`).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 21.9K bytes - Viewed (0)