Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 601 - 610 of 892 for Item (0.02 seconds)

  1. tests/test_tutorial/test_body_updates/test_tutorial001.py

                                },
                            },
                            "summary": "Read Item",
                            "operationId": "read_item_items__item_id__get",
                            "parameters": [
                                {
                                    "required": True,
                                    "schema": {"title": "Item Id", "type": "string"},
                                    "name": "item_id",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_additional_responses/test_tutorial003.py

                                },
                                "200": {
                                    "description": "Item requested by ID",
                                    "content": {
                                        "application/json": {
                                            "schema": {"$ref": "#/components/schemas/Item"},
                                            "example": {
                                                "id": "bar",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  3. docs_src/body/tutorial004_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    app = FastAPI()
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item, q: str | None = None):
        result = {"item_id": item_id, **item.model_dump()}
        if q:
            result.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 414 bytes
    - Click Count (0)
  4. cmd/xl-storage.go

    		}
    
    		// Remove filename which is the meta file.
    		item.transformMetaDir()
    
    		fivs, err := getFileInfoVersions(buf, item.bucket, item.objectPath(), false)
    		metaDataPoolPut(buf)
    		if err != nil {
    			res["err"] = err.Error()
    			return sizeSummary{}, errSkipFile
    		}
    
    		versioned := vcfg != nil && vcfg.Versioned(item.objectPath())
    		objInfos := make([]ObjectInfo, len(fivs.Versions))
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/Splitter.java

              nextStart = offset;
              continue;
            }
    
            if (limit == 1) {
              // The limit has been reached, return the rest of the string as the
              // final item. This is tested after empty string removal so that
              // empty strings do not count towards the limit.
              end = toSplit.length();
              offset = -1;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  6. docs/uk/docs/advanced/templates.md

    ///
    
    ## Створення шаблонів { #writing-templates }
    
    Потім ви можете написати шаблон у `templates/item.html`, наприклад:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Значення контексту шаблону { #template-context-values }
    
    У HTML, який містить:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        // This tests that it.remove() above actually changed the order. It
        // indicates that the value 40 was stored in forgetMeNot, so it is
        // returned in the last call to it.next(). Without it, 30 should be the last
        // item returned by the iterator.
        Integer lastItem = 0;
        for (Integer tmp : mmHeap) {
          lastItem = tmp;
        }
        assertEquals((Integer) 30, lastItem);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  8. docs/fr/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 18:33:45 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  9. docs/es/docs/advanced/templates.md

    ## Escribiendo plantillas { #writing-templates }
    
    Luego puedes escribir una plantilla en `templates/item.html` con, por ejemplo:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Valores de Contexto de la Plantilla { #template-context-values }
    
    En el HTML que contiene:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  10. tests/test_serialize_response.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float | None = None
        owner_ids: list[int] | None = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return {"name": "valid", "price": 1.0}
    
    
    @app.get("/items/coerce", response_model=Item)
    def get_coerce():
        return {"name": "coerce", "price": "1.0"}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.3K bytes
    - Click Count (0)
Back to Top