- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 1,169 for item01 (0.04 seconds)
-
guava-testlib/src/com/google/common/testing/EqualsTester.java
private void testItems() { for (Object item : Iterables.concat(equalityGroups)) { assertTrue(item + " must not be Object#equals to null", !item.equals(null)); assertTrue( item + " must not be Object#equals to an arbitrary object of another class", !item.equals(NotAnInstance.EQUAL_TO_NOTHING)); assertTrue(item + " must be Object#equals to itself", item.equals(item)); assertEquals(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.1K bytes - Click Count (0) -
docs_src/dependencies/tutorial008d_py310.py
raise @app.get("/items/{item_id}") def get_item(item_id: str, username: str = Depends(get_username)): 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" )
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 694 bytes - Click Count (0) -
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 Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 17.4K bytes - Click Count (0) -
docs_src/dependencies/tutorial008d_an_py310.py
raise @app.get("/items/{item_id}") def get_item(item_id: str, username: Annotated[str, Depends(get_username)]): 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" )
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 734 bytes - Click Count (0) -
docs/ru/docs/tutorial/query-params-str-validations.md
## Псевдонимы параметров { #alias-parameters } Представьте, что вы хотите, чтобы параметр назывался `item-query`. Например: ``` http://127.0.0.1:8000/items/?item-query=foobaritems ``` Но `item-query` — недопустимое имя переменной в Python. Ближайший вариант — `item_query`. Но вам всё равно нужно именно `item-query`...Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 25.1K bytes - Click Count (0) -
docs/en/docs/tutorial/handling-errors.md
```JSON { "item": "The Foo Wrestlers" } ``` But if the client requests `http://example.com/items/bar` (a non-existent `item_id` `"bar"`), that client will receive an HTTP status code of 404 (the "not found" error), and a JSON response of: ```JSON { "detail": "Item not found" } ``` /// tip When raising an `HTTPException`, you can pass any value that can be converted to JSON as the parameter `detail`, not only `str`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.9K bytes - Click Count (0) -
docs/ru/docs/advanced/additional-responses.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 12.2K bytes - Click Count (0) -
docs/de/docs/tutorial/query-params-str-validations.md
Stellen Sie sich vor, Sie möchten, dass der Parameter `item-query` ist. Wie in: ``` http://127.0.0.1:8000/items/?item-query=foobaritems ``` Aber `item-query` ist kein gültiger Name für eine Variable in Python. Der am ähnlichsten wäre `item_query`. Aber Sie benötigen dennoch, dass er genau `item-query` ist ...
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 18.7K bytes - Click Count (0) -
docs/uk/docs/advanced/dataclasses.md
3. Dataclass `Author` містить список dataclass `Item`. 4. Dataclass `Author` використовується як параметр `response_model`. 5. Ви можете використовувати інші стандартні анотації типів із dataclasses як тіло запиту. У цьому випадку це список dataclass `Item`. 6. Тут ми повертаємо словник, що містить `items`, який є списком dataclass.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 6K bytes - Click Count (0) -
docs/pt/docs/advanced/templates.md
## Escrevendo templates { #writing-templates } Então você pode escrever um template em `templates/item.html`, por exemplo: ```jinja hl_lines="7" {!../../docs_src/templates/templates/item.html!} ``` ### Valores de contexto do template { #template-context-values } No código HTML que contém: {% raw %} ```jinja Item ID: {{ id }} ``` {% endraw %}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 3.6K bytes - Click Count (0)