Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 561 - 570 of 834 for ITEM (0.02 seconds)

  1. tests/test_tutorial/test_body_multiple_params/test_tutorial002.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
    - 11.7K bytes
    - Click Count (0)
  2. docs_src/response_directly/tutorial001_py310.py

    from fastapi.responses import JSONResponse
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        title: str
        timestamp: datetime
        description: str | None = None
    
    
    app = FastAPI()
    
    
    @app.put("/items/{id}")
    def update_item(id: str, item: Item):
        json_compatible_item_data = jsonable_encoder(item)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 474 bytes
    - Click Count (0)
  3. docs_src/handling_errors/tutorial005_py310.py

        return JSONResponse(
            status_code=422,
            content=jsonable_encoder({"detail": exc.errors(), "body": exc.body}),
        )
    
    
    class Item(BaseModel):
        title: str
        size: int
    
    
    @app.post("/items/")
    async def create_item(item: Item):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 626 bytes
    - Click Count (0)
  4. src/main/resources/fess_message_hi.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
    - 20.2K bytes
    - Click Count (0)
  5. src/main/resources/fess_message_es.properties

    constraints.URL.message = {item} no es una URL válida.
    constraints.Required.message = {item} es obligatorio.
    constraints.TypeInteger.message = {item} debe ser un número.
    constraints.TypeLong.message = {item} debe ser un número.
    constraints.TypeFloat.message = {item} debe ser un número.
    constraints.TypeDouble.message = {item} debe ser un número.
    constraints.TypeAny.message = {item} no se puede convertir a {propertyType}.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/stream-json-lines.md

    Entonces, enviará el primer ítem, el cliente lo recibirá y empezará a procesarlo, y tú podrías seguir produciendo el siguiente ítem.
    
    ```mermaid
    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
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  7. docs/uk/docs/tutorial/body-multiple-params.md

    Скажімо, у вас є лише один параметр тіла `item` з моделі Pydantic `Item`.
    
    За замовчуванням **FastAPI** очікуватиме його тіло безпосередньо.
    
    Але якщо ви хочете, щоб він очікував JSON з ключем `item`, а всередині нього - вміст моделі, як це відбувається, коли ви оголошуєте додаткові параметри тіла, ви можете використати спеціальний параметр `Body` - `embed`:
    
    ```Python
    item: Item = Body(embed=True)
    ```
    
    як у прикладі:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:42:01 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/body-multiple-params.md

    Supongamos que solo tienes un único parámetro de cuerpo `item` de un modelo Pydantic `Item`.
    
    Por defecto, **FastAPI** esperará su cuerpo directamente.
    
    Pero si deseas que espere un JSON con una clave `item` y dentro de ella los contenidos del modelo, como lo hace cuando declaras parámetros de cuerpo extra, puedes usar el parámetro especial `Body` `embed`:
    
    ```Python
    item: Item = Body(embed=True)
    ```
    
    como en:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_body/test_tutorial003.py

                            },
                            "summary": "Update Item",
                            "operationId": "update_item_items__item_id__put",
                            "requestBody": {
                                "content": {
                                    "application/json": {
                                        "schema": {"$ref": "#/components/schemas/Item"}
                                    }
                                },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  10. src/main/resources/fess_message_tr.properties

    constraints.URL.message = {item} geçerli bir URL değildir.
    constraints.Required.message = {item} gereklidir.
    constraints.TypeInteger.message = {item} bir sayı olmalıdır.
    constraints.TypeLong.message = {item} bir sayı olmalıdır.
    constraints.TypeFloat.message = {item} bir sayı olmalıdır.
    constraints.TypeDouble.message = {item} bir sayı olmalıdır.
    constraints.TypeAny.message = {item}, {propertyType} türüne dönüştürülemez.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 13K bytes
    - Click Count (0)
Back to Top