- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 624 for ITEM (0.02 seconds)
-
docs/es/docs/tutorial/query-params-str-validations.md
## Alias para parámetros { #alias-parameters } Imagina que quieres que el parámetro sea `item-query`. Como en: ``` http://127.0.0.1:8000/items/?item-query=foobaritems ``` Pero `item-query` no es un nombre de variable válido en Python. Lo más cercano sería `item_query`. Pero aún necesitas que sea exactamente `item-query`...Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 18.4K bytes - Click Count (0) -
docs/ru/docs/tutorial/query-params.md
} ] } ``` Поскольку `needy` является обязательным параметром, вам необходимо указать его в URL-адресе: ``` http://127.0.0.1:8000/items/foo-item?needy=sooooneedy ``` ...это будет работать: ```JSON { "item_id": "foo-item", "needy": "sooooneedy" } ```Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.8K bytes - Click Count (0) -
tests/test_tutorial/test_query_params/test_tutorial004.py
"owner_id": 123, "description": "This is an amazing item that has a long description", }, ), ( "/users/1/items/bar?q=somequery", { "item_id": "bar", "owner_id": 1, "q": "somequery", "description": "This is an amazing item that has a long description", }, ), (
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 5.3K bytes - Click Count (0) -
docs/zh/docs/tutorial/query-params.md
"type": "value_error.missing" } ] } ``` `needy` 是必选参数,因此要在 URL 中设置值: ``` http://127.0.0.1:8000/items/foo-item?needy=sooooneedy ``` ……这样就正常了: ```JSON { "item_id": "foo-item", "needy": "sooooneedy" } ``` 当然,把一些参数定义为必选,为另一些参数设置默认值,再把其它参数定义为可选,这些操作都是可以的: {* ../../docs_src/query_params/tutorial006_py310.py hl[8] *}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 4.3K bytes - Click Count (0) -
docs_src/app_testing/app_b_py310/test_main.py
def test_read_nonexistent_item(): response = client.get("/items/baz", headers={"X-Token": "coneofsilence"}) assert response.status_code == 404 assert response.json() == {"detail": "Item not found"} def test_create_item(): response = client.post( "/items/", headers={"X-Token": "coneofsilence"}, json={"id": "foobar", "title": "Foo Bar", "description": "The Foo Barters"},
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Mar 13 19:07:10 GMT 2024 - 1.8K bytes - Click Count (0) -
tests/test_tutorial/test_handling_errors/test_tutorial004.py
}, }, "summary": "Read Item", "operationId": "read_item_items__item_id__get", "parameters": [ { "required": True, "schema": {"title": "Item Id", "type": "integer"}, "name": "item_id",Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 3.4K bytes - Click Count (0) -
tests/test_tutorial/test_extra_models/test_tutorial003.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 6K bytes - Click Count (0) -
impl/maven-cli/src/test/resources/mavenHome/conf/maven-system.properties
maven.user.conf = ${user.home}/.m2 maven.project.conf = ${session.rootDirectory}/.mvn # Comma-separated list of files to include. # Each item may be enclosed in quotes to gracefully include spaces. Items are trimmed before being loaded. # If the first character of an item is a question mark, the load will silently fail if the file does not exist. ${includes} = ?"${maven.user.conf}/maven-system.properties", \Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 2.8K bytes - Click Count (0) -
docs/es/docs/tutorial/body-updates.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 5.1K bytes - Click Count (0) -
tests/test_tutorial/test_extra_models/test_tutorial004.py
} } }, "components": { "schemas": { "Item": { "title": "Item", "required": ["name", "description"], "type": "object", "properties": { "name": {"title": "Name", "type": "string"},Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 2.2K bytes - Click Count (0)