- Sort Score
- Result 10 results
- Languages All
Results 951 - 960 of 1,966 for myitem (0.08 sec)
-
docs_src/body_updates/tutorial001_py39.py
} @app.get("/items/{item_id}", response_model=Item) async def read_item(item_id: str): return items[item_id] @app.put("/items/{item_id}", response_model=Item) async def update_item(item_id: str, item: Item): update_item_encoded = jsonable_encoder(item) items[item_id] = update_item_encoded
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 900 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSinkTest.java
assertEquals("foo\nbar\nbaz\n", sink.getString()); } public void testWriteLines_withDefaultSeparator() throws IOException { sink.writeLines(ImmutableList.of("foo", "bar", "baz")); String separator = System.getProperty("line.separator"); assertEquals("foo" + separator + "bar" + separator + "baz" + separator, sink.getString()); } public void testWriteLines_stream() throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 4.5K bytes - Viewed (0) -
src/cmd/addr2line/addr2line_test.go
} fi1, err := os.Stat("addr2line_test.go") if err != nil { t.Fatalf("Stat failed: %v", err) } // Debug paths are stored slash-separated, so convert to system-native. srcPath = filepath.FromSlash(srcPath) fi2, err := os.Stat(srcPath) if err != nil { t.Fatalf("Stat failed: %v", err) } if !os.SameFile(fi1, fi2) {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 06 13:23:48 UTC 2024 - 3.2K bytes - Viewed (0) -
api/maven-api-di/src/site/site.xml
<edit>${project.scm.url}</edit> <body> <menu name="Overview"> <item name="Introduction" href="index.html"/> <item name="Javadocs" href="apidocs/index.html"/> <item name="Source Xref" href="xref/index.html"/> <!--item name="FAQ" href="faq.html"/--> </menu> <menu ref="parent"/> <menu ref="reports"/> </body>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sun Mar 24 21:16:47 UTC 2024 - 1.4K bytes - Viewed (0) -
docs_src/extra_models/tutorial004.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str items = [ {"name": "Foo", "description": "There comes my hero"}, {"name": "Red", "description": "It's my aeroplane"}, ] @app.get("/items/", response_model=List[Item]) async def read_items():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 381 bytes - Viewed (0) -
docs_src/handling_errors/tutorial002.py
@app.get("/items-header/{item_id}") async def read_item_header(item_id: str): if item_id not in items: raise HTTPException( status_code=404, detail="Item not found", headers={"X-Error": "There goes my error"}, )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 404 bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 22.9K bytes - Viewed (0) -
tests/associations_belongs_to_test.go
tx.AutoMigrate(&ItemParent{}, &ItemChild{}) item := ItemChild{ Name: "name", ItemParent: ItemParent{ Logo: "logo", }, } if err := tx.Create(&item).Error; err != nil { t.Fatalf("failed to create items, got error: %v", err) } // test replace if err := tx.Model(&item).Association("ItemParent").Unscoped().Replace(&ItemParent{ Logo: "updated logo",
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileSystemInformation.java
/** * */ public static final byte FS_SIZE_INFO = 3; /** * */ public static final byte FS_FULL_SIZE_INFO = 7; /** * * @return file system information class */ byte getFileSystemInformationClass ();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.2K bytes - Viewed (0) -
docs_src/extra_models/tutorial004_py39.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str items = [ {"name": "Foo", "description": "There comes my hero"}, {"name": "Red", "description": "It's my aeroplane"}, ] @app.get("/items/", response_model=list[Item]) async def read_items():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 356 bytes - Viewed (0)