- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 1,638 for item1 (0.05 sec)
-
docs/pt/docs/advanced/dataclasses.md
3. A dataclass `Author` inclui uma lista de dataclasses `Item`. 4. A dataclass `Author` é usada como o parâmetro `response_model`. 5. Você pode usar outras anotações de tipo padrão com dataclasses como o corpo da requisição. Neste caso, é uma lista de dataclasses `Item`. 6. Aqui estamos retornando um dicionário que contém `items`, que é uma lista de dataclasses.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 22 17:33:53 UTC 2024 - 4.4K bytes - Viewed (0) -
common-protos/k8s.io/api/networking/v1/generated.proto
// Items in this list are combined using a logical OR operation. If this field is // empty or missing, this rule matches all destinations (traffic not restricted by // destination). If this field is present and contains at least one item, this rule // allows traffic only if the traffic matches at least one item in the to list. // +optional repeated NetworkPolicyPeer to = 2;
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 25.2K bytes - Viewed (0) -
docs/de/docs/advanced/path-operation-advanced-configuration.md
```JSON hl_lines="22" { "openapi": "3.1.0", "info": { "title": "FastAPI", "version": "0.1.0" }, "paths": { "/items/": { "get": { "summary": "Read Items", "operationId": "read_items_items__get", "responses": { "200": { "description": "Successful Response",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.5K bytes - Viewed (0) -
docs/en/docs/advanced/generate-clients.md
## FastAPI App with Tags In many cases your FastAPI app will be bigger, and you will probably use tags to separate different groups of *path operations*. For example, you could have a section for **items** and another section for **users**, and they could be separated by tags: //// tab | Python 3.9+ ```Python hl_lines="21 26 34" {!> ../../docs_src/generate_clients/tutorial002_py39.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.7K bytes - Viewed (0) -
docs/pt/docs/tutorial/query-params-str-validations.md
Imagine que você queira que um parâmetro tenha o nome `item-query`. Desta maneira: ``` http://127.0.0.1:8000/items/?item-query=foobaritems ``` Mas o nome `item-query` não é um nome de váriavel válido no Python. O que mais se aproxima é `item_query`. Mas ainda você precisa que o nome seja exatamente `item-query`...
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.3K bytes - Viewed (0) -
android/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(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 31 19:11:50 UTC 2023 - 6K bytes - Viewed (0) -
docs/en/docs/tutorial/bigger-applications.md
* look for the subpackage `routers` (the directory at `app/routers/`)... * and from it, import the submodule `items` (the file at `app/routers/items.py`) and `users` (the file at `app/routers/users.py`)... The module `items` will have a variable `router` (`items.router`). This is the same one we created in the file `app/routers/items.py`, it's an `APIRouter` object. And then we do the same for the module `users`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 18.4K bytes - Viewed (0) -
docs_src/dependencies/tutorial008d_an_py39.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" )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 734 bytes - Viewed (0) -
docs/fr/docs/advanced/additional-responses.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.6K bytes - Viewed (0) -
tests/test_response_model_as_return_annotation.py
) def response_model_model1_annotation_model2_return_invalid_dict() -> Item: return {"name": "John"} @app.get( "/response_model_model1-annotation_model2-return_invalid_model", response_model=User ) def response_model_model1_annotation_model2_return_invalid_model() -> Item: return Item(name="Foo", price=42.0) @app.get(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Aug 14 09:49:57 UTC 2023 - 47.7K bytes - Viewed (0)