- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 634 for ITEM (0.02 seconds)
-
docs_src/templates/templates/item.html
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Jan 11 22:25:37 GMT 2024 - 235 bytes - Click Count (0) -
tests/test_generate_unique_id_function.py
@app.post("/", response_model=list[Item], responses={404: {"model": list[Message]}}) def post_root(item1: Item, item2: Item): return item1, item2 # pragma: nocover @router.post( "/router", response_model=list[Item], responses={404: {"model": list[Message]}} ) def post_router(item1: Item, item2: Item): return item1, item2 # pragma: nocoverCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 66.7K bytes - Click Count (0) -
docs_src/path_operation_advanced_configuration/tutorial004_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/", response_model=Item, summary="Create an item") async def create_item(item: Item): """ Create an item with all the information: - **name**: each item must have a name - **description**: a long description
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 674 bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/RelationshipTester.java
Item<T> itemInfo = getItem(groupNumber, itemNumber); Item<T> relatedInfo = getItem(groupNumber, relatedItemNumber); T item = itemInfo.value; T related = relatedInfo.value; assertWithTemplate( "$ITEM must be $RELATIONSHIP to $OTHER", itemInfo, relatedInfo, equivalence.equivalent(item, related));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 5.9K bytes - Click Count (0) -
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 Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 26.6K bytes - Click Count (0) -
tests/test_dependency_duplicates.py
client = TestClient(app) class Item(BaseModel): data: str def duplicate_dependency(item: Item): return item def dependency(item2: Item): return item2 def sub_duplicate_dependency( item: Item, sub_item: Item = Depends(duplicate_dependency) ): return [item, sub_item] @app.post("/with-duplicates")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 8K bytes - Click Count (0) -
docs_src/app_testing/app_b_an_py310/main.py
raise HTTPException(status_code=404, detail="Item not found") return fake_db[item_id] @app.post("/items/", response_model=Item) async def create_item(item: Item, x_token: Annotated[str, Header()]): if x_token != fake_secret_token: raise HTTPException(status_code=400, detail="Invalid X-Token header") if item.id in fake_db: raise HTTPException(status_code=409, detail="Item already exists") fake_db[item.id] = item
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Aug 15 22:31:16 GMT 2024 - 1.1K bytes - Click Count (0) -
docs_src/path_operation_configuration/tutorial004_py39.py
app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None tags: set[str] = set() @app.post("/items/", response_model=Item, summary="Create an item") async def create_item(item: Item): """ Create an item with all the information: - **name**: each item must have a name
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 676 bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
private static final class TestObject { final int group; final int item; TestObject(int group, int item) { this.group = group; this.item = item; } @Override public String toString() { return MoreObjects.toStringHelper("TestObject") .add("group", group) .add("item", item) .toString(); } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 27 16:19:35 GMT 2024 - 8.4K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
private static final class TestObject { final int group; final int item; TestObject(int group, int item) { this.group = group; this.item = item; } @Override public String toString() { return MoreObjects.toStringHelper("TestObject") .add("group", group) .add("item", item) .toString(); } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 27 16:19:35 GMT 2024 - 8.4K bytes - Click Count (0)