Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 712 for Item (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/ru/docs/tutorial/body-multiple-params.md

    Предположим, у вас есть только один body-параметр `item` из Pydantic-модели `Item`.
    
    По умолчанию, **FastAPI** ожидает получить тело запроса напрямую.
    
    Но если вы хотите чтобы он ожидал JSON с ключом `item` с содержимым модели внутри, также как это происходит при объявлении дополнительных body-параметров, вы можете использовать специальный параметр `embed` у типа `Body`:
    
    ```Python
    item: Item = Body(embed=True)
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 19:57:34 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_body_multiple_params/test_tutorial003.py

                            "title": "Body_update_item_items__item_id__put",
                            "required": ["item", "user", "importance"],
                            "type": "object",
                            "properties": {
                                "item": {"$ref": "#/components/schemas/Item"},
                                "user": {"$ref": "#/components/schemas/User"},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  3. docs/fr/docs/tutorial/body-multiple-params.md

    Supposons que vous n'ayez qu'un seul paramètre `item` dans le corps de la requête, provenant d'un modèle Pydantic `Item`.
    
    Par défaut, **FastAPI** attendra alors son contenu directement.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_body_multiple_params/test_tutorial005.py

                            "summary": "Update Item",
                        },
                    },
                },
                "components": {
                    "schemas": {
                        "Body_update_item_items__item_id__put": {
                            "properties": {
                                "item": {
                                    "$ref": "#/components/schemas/Item",
                                },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_body_fields/test_tutorial001.py

        response = client.put("/items/5", json={"item": {"name": "Foo", "price": 3.0}})
        assert response.status_code == 200
        assert response.json() == {
            "item_id": 5,
            "item": {"name": "Foo", "price": 3.0, "description": None, "tax": None},
        }
    
    
    def test_items_6(client: TestClient):
        response = client.put(
            "/items/6",
            json={
                "item": {
                    "name": "Bar",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  6. docs/de/docs/tutorial/stream-json-lines.md

    sequenceDiagram
        participant App
        participant Client
    
        App->>App: Produce Item 1
        App->>Client: Send Item 1
        App->>App: Produce Item 2
        Client->>Client: Process Item 1
        App->>Client: Send Item 2
        App->>App: Produce Item 3
        Client->>Client: Process Item 2
        App->>Client: Send Item 3
        Client->>Client: Process Item 3
        Note over App: Keeps producing...
        Note over Client: Keeps consuming...
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:48:21 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  7. src/main/resources/fess_message_nl.properties

    constraints.URL.message = {item} is geen geldige URL.
    constraints.Required.message = {item} is vereist.
    constraints.TypeInteger.message = {item} moet een getal zijn.
    constraints.TypeLong.message = {item} moet een getal zijn.
    constraints.TypeFloat.message = {item} moet een getal zijn.
    constraints.TypeDouble.message = {item} moet een getal zijn.
    constraints.TypeAny.message = {item} kan niet worden geconverteerd naar {propertyType}.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  8. src/main/resources/fess_message_ru.properties

    constraints.URL.message = {item} - неверный URL-адрес.
    constraints.Required.message = {item} обязательно.
    constraints.TypeInteger.message = {item} должно быть числом.
    constraints.TypeLong.message = {item} должно быть числом.
    constraints.TypeFloat.message = {item} должно быть числом.
    constraints.TypeDouble.message = {item} должно быть числом.
    constraints.TypeAny.message = {item} не может быть преобразовано в {propertyType}.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  9. docs_src/body_nested_models/tutorial005_py310.py

    class Image(BaseModel):
        url: HttpUrl
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
        image: Image | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 468 bytes
    - Click Count (0)
  10. src/main/resources/fess_message_it.properties

    constraints.URL.message = {item} non è un URL valido.
    constraints.Required.message = {item} è richiesto.
    constraints.TypeInteger.message = {item} deve essere un numero.
    constraints.TypeLong.message = {item} deve essere un numero.
    constraints.TypeFloat.message = {item} deve essere un numero.
    constraints.TypeDouble.message = {item} deve essere un numero.
    constraints.TypeAny.message = {item} non può essere convertito in {propertyType}.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 13.3K bytes
    - Click Count (0)
Back to Top