- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 892 for Item (0.03 seconds)
-
tests/test_openapi_separate_input_output_schemas.py
@app.post("/items/", responses={402: {"model": Item}}) def create_item(item: Item) -> Item: return item @app.post("/items-list/") def create_item_list(item: list[Item]): return item @app.get("/items/") def read_items() -> list[Item]: return [ Item( name="Portal Gun",Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 27.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/storage/StorageItemTest.java
final StorageItem item = new StorageItem(null, null, false, 0L, null, null); assertNull(item.getName()); assertNull(item.getPath()); assertFalse(item.isDirectory()); assertEquals(0L, item.getSize()); assertNull(item.getLastModified()); assertNull(item.getEncodedId()); } public void test_emptyName() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 12:58:11 GMT 2026 - 4.6K bytes - Click Count (0) -
tests/test_extra_routes.py
@app.delete("/items/{item_id}") def delete_item(item_id: str, item: Item): return {"item_id": item_id, "item": item} @app.head("/items/{item_id}") def head_item(item_id: str): return JSONResponse(None, headers={"x-fastapi-item-id": item_id}) @app.options("/items/{item_id}") def options_item(item_id: str): return JSONResponse(None, headers={"x-fastapi-item-id": item_id}) @app.patch("/items/{item_id}")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 14.7K bytes - Click Count (0) -
tests/test_deprecated_responses.py
from pydantic import BaseModel class Item(BaseModel): name: str price: float # ORJSON def _make_orjson_app() -> FastAPI: with warnings.catch_warnings(): warnings.simplefilter("ignore", FastAPIDeprecationWarning) app = FastAPI(default_response_class=ORJSONResponse) @app.get("/items") def get_items() -> Item: return Item(name="widget", price=9.99) return appCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 22 16:34:59 GMT 2026 - 2K bytes - Click Count (0) -
docs_src/separate_openapi_schemas/tutorial001_py310.py
from fastapi import FastAPI from pydantic import BaseModel class Item(BaseModel): name: str description: str | None = None app = FastAPI() @app.post("/items/") def create_item(item: Item): return item @app.get("/items/") def read_items() -> list[Item]: return [ Item( name="Portal Gun", description="Device to travel through the multi-rick-verse",Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Aug 25 19:10:22 GMT 2023 - 451 bytes - Click Count (0) -
docs_src/separate_openapi_schemas/tutorial002_py310.py
from fastapi import FastAPI from pydantic import BaseModel class Item(BaseModel): name: str description: str | None = None app = FastAPI(separate_input_output_schemas=False) @app.post("/items/") def create_item(item: Item): return item @app.get("/items/") def read_items() -> list[Item]: return [ Item( name="Portal Gun",Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Aug 25 19:10:22 GMT 2023 - 486 bytes - Click Count (0) -
src/main/resources/fess_message.properties
constraints.URL.message = {item} is not a valid URL. constraints.Required.message = {item} is required. constraints.TypeInteger.message = {item} must be a number. constraints.TypeLong.message = {item} must be a number. constraints.TypeFloat.message = {item} must be a number. constraints.TypeDouble.message = {item} must be a number. constraints.TypeAny.message = {item} cannot be converted to {propertyType}. constraints.UriType.message = {item} has an unrecognized URI.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 12.4K bytes - Click Count (0) -
src/main/resources/fess_message_en.properties
constraints.URL.message = {item} is not a valid URL. constraints.Required.message = {item} is required. constraints.TypeInteger.message = {item} must be a number. constraints.TypeLong.message = {item} must be a number. constraints.TypeFloat.message = {item} must be a number. constraints.TypeDouble.message = {item} must be a number. constraints.TypeAny.message = {item} cannot be converted to {propertyType}. constraints.UriType.message = {item} has an unrecognized URI.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 12.4K bytes - Click Count (0) -
src/main/resources/fess_message_zh_TW.properties
# --------------- constraints.AssertFalse.message = {item} 必須為 false。 constraints.AssertTrue.message = {item} 必須為 true。 constraints.DecimalMax.message = {item} 必須小於 {value}。 constraints.DecimalMin.message = {item} 必須大於 {value}。 constraints.Digits.message = {item} 必須是數字。(預期: <數字>.<數字>) constraints.Future.message = {item} 必須是未來的日期。 constraints.Max.message = {item} 必須小於或等於 {value}。 constraints.Min.message = {item} 必須大於或等於 {value}。Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 12K bytes - Click Count (0) -
docs_src/path_operation_configuration/tutorial003_py310.py
app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() @app.post( "/items/", summary="Create an item", description="Create an item with all the information, name, description, price, tax and a set of unique tags", ) async def create_item(item: Item) -> Item:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 12:07:26 GMT 2026 - 457 bytes - Click Count (0)