Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 1,543 for item (0.02 seconds)

  1. docs_src/schema_extra_example/tutorial001_py310.py

                    }
                ]
            }
        }
    
    
    @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 Jul 07 17:12:13 GMT 2023
    - 646 bytes
    - Click Count (0)
  2. docs_src/body_fields/tutorial001_an_py310.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = Field(
            default=None, title="The description of the item", max_length=300
        )
        price: float = Field(gt=0, description="The price must be greater than zero")
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Annotated[Item, Body(embed=True)]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 563 bytes
    - Click Count (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            }
    
            @Override
            public int compareTo(Item item) {
                if (item == null) {
                    return (value == 0) ? 0 : 1; // 1.0 == 1, 1.1 > 1
                }
    
                return switch (item.getType()) {
                    case INT_ITEM -> {
                        int itemValue = ((IntItem) item).value;
                        yield Integer.compare(value, itemValue);
                    }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java

        }
    
        /**
         * Retrieves a specific Kuromoji dictionary item by ID.
         *
         * @param dictId the dictionary ID
         * @param id the ID of the Kuromoji item to retrieve
         * @return JSON response containing the Kuromoji dictionary item
         */
        // GET /api/admin/dict/kuromoji/setting/{dictId}/{id}
        @Execute
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. docs_src/server_sent_events/tutorial001_py310.py

        for item in items:
            yield item
    
    
    @app.get("/items/stream-no-async", response_class=EventSourceResponse)
    def sse_items_no_async() -> Iterable[Item]:
        for item in items:
            yield item
    
    
    @app.get("/items/stream-no-annotation", response_class=EventSourceResponse)
    async def sse_items_no_annotation():
        for item in items:
            yield item
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemBoundaryTest.java

            source.put(FieldNames.TIMESTAMP, System.currentTimeMillis());
    
            SuggestItem item = SuggestItem.parseSource(source);
    
            assertNotNull(item);
            assertEquals("test", item.getText());
            assertEquals(100L, item.getQueryFreq());
            assertEquals(50L, item.getDocFreq());
            assertEquals(2.0f, item.getUserBoost(), 0.001f);
        }
    
        @Test
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Jan 17 05:10:37 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                }
                item = newItem;
            }
    
            /**
             * Writes a stemmer override item to the temporary file.
             * If the item is being updated, it writes the new version.
             *
             * @param oldItem The original item from the dictionary.
             * @return The written item, or null if the item was deleted.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  8. docs/en/overrides/main.html

    <div class="announce-wrapper">
      <div id="announce-left">
        <div class="item">
          <a class="announce-link" href="https://fastapicloud.com" target="_blank">
            <span class="twemoji">
              {% include ".icons/material/cloud-arrow-up.svg" %}
            </span> Join the <strong>FastAPI Cloud</strong> waiting list 🚀
          </a>
        </div>
        <div class="item">
          <a class="announce-link" href="https://x.com/fastapi" target="_blank">
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Dec 01 20:06:57 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  9. tests/test_schema_extra_examples.py

                return item
    
        @app.post("/examples/")
        def examples(
            item: Item = Body(
                examples=[
                    {"data": "Data in Body examples, example1"},
                    {"data": "Data in Body examples, example2"},
                ],
            ),
        ):
            return item
    
        with pytest.warns(FastAPIDeprecationWarning):
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  10. .idea/misc.xml

              <item index="5" class="java.lang.String" itemvalue="io.reactivex.annotations.Nullable" />
              <item index="6" class="java.lang.String" itemvalue="io.reactivex.rxjava3.annotations.Nullable" />
              <item index="7" class="java.lang.String" itemvalue="jakarta.annotation.Nullable" />
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Feb 16 19:01:50 GMT 2026
    - 5.4K bytes
    - Click Count (0)
Back to Top