- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 1,721 for item (0.03 sec)
-
docs/pt/docs/advanced/dataclasses.md
3. A dataclass `Author` inclui uma lista de dataclasses `Item`. 4. A dataclass `Author` é usada como o parâmetro `response_model`. 5. Você pode usar outras anotações de tipo padrão com dataclasses como o corpo da requisição. Neste caso, é uma lista de dataclasses `Item`. 6. Aqui estamos retornando um dicionário que contém `items`, que é uma lista de dataclasses.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 22 17:33:53 UTC 2024 - 4.4K bytes - Viewed (0) -
docs/fa/docs/index.md
خط زیر را به این صورت تغییر دهید: ```Python return {"item_name": item.name, "item_id": item_id} ``` از: ```Python ... "item_name": item.name ... ``` به: ```Python ... "item_price": item.price ... ``` در حین تایپ کردن توجه کنید که چگونه ویرایشگر، ویژگیهای کلاس `Item` را تشخیص داده و به تکمیل خودکار آنها کمک میکند:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 25.9K bytes - Viewed (0) -
docs/en/docs/index.md
Just standard **Python**. For example, for an `int`: ```Python item_id: int ``` or for a more complex `Item` model: ```Python item: Item ``` ...and with that single declaration you get: * Editor support, including: * Completion. * Type checks. * Validation of data:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 20.4K bytes - Viewed (0) -
cmd/data-usage_test.go
{name: "dir1/dira/dirasub/sublevel3/dccccfile", size: 10}, } createUsageTestFiles(t, base, bucket, files) getSize := func(item scannerItem) (sizeS sizeSummary, err error) { if item.Typ&os.ModeDir == 0 { var s os.FileInfo s, err = os.Stat(item.Path) if err != nil { return } sizeS.totalSize = s.Size() sizeS.versions++ return sizeS, nil } return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 22:23:33 UTC 2024 - 14.7K bytes - Viewed (0) -
docs_src/dependencies/tutorial012.py
return x_key app = FastAPI(dependencies=[Depends(verify_token), Depends(verify_key)]) @app.get("/items/") async def read_items(): return [{"item": "Portal Gun"}, {"item": "Plumbus"}] @app.get("/users/") async def read_users():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 696 bytes - Viewed (0) -
ci/devinfra/docker/windows/Dockerfile
$zulu_root = \"c:\\openjdk\"; \ (New-Object Net.WebClient).DownloadFile($zulu_url, $zulu_zip); \ [System.IO.Compression.ZipFile]::ExtractToDirectory($zulu_zip, \"c:\\temp\"); \ Move-Item $zulu_extracted_path -Destination $zulu_root; \ Remove-Item $zulu_zip; \ $env:PATH = [Environment]::GetEnvironmentVariable(\"PATH\", \"Machine\") + \";${zulu_root}\\bin\"; \ [Environment]::SetEnvironmentVariable(\"PATH\", $env:PATH, \"Machine\"); \
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Aug 20 13:57:04 UTC 2024 - 7.3K bytes - Viewed (0) -
tests/hooks_test.go
var productWithItem Product4 if err := DB.Session(&gorm.Session{SkipHooks: true}).Preload("Item").First(&productWithItem, "name = ?", product.Name).Error; err != nil { t.Errorf("should find product, but got error %v", err) } if productWithItem.Item.AfterFindCallTimes != 0 { t.Fatalf("AfterFind should not be called times:%d", productWithItem.Item.AfterFindCallTimes) } } type Product5 struct { gorm.Model Name string
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 17 03:59:06 UTC 2024 - 16.7K bytes - Viewed (0) -
src/main/webapp/css/style.css
} /* search */ :first-child.list-group-item { border-radius: 0px; } :last-child.list-group-item { border-radius: 0px; } #result ol li { margin: 1em 0; } #result ol li:first-child { margin-top: 0; } #result .title a:visited { color: #014c8c; } #result .body { display: flex; align-items: flex-start; } #result .site cite {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jun 02 11:39:35 UTC 2022 - 2K bytes - Viewed (0) -
docs/ru/docs/tutorial/query-params.md
``` http://127.0.0.1:8000/items/foo?short=1 ``` или ``` http://127.0.0.1:8000/items/foo?short=True ``` или ``` http://127.0.0.1:8000/items/foo?short=true ``` или ``` http://127.0.0.1:8000/items/foo?short=on ``` или ``` http://127.0.0.1:8000/items/foo?short=yes ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.3K bytes - Viewed (0) -
docs/em/docs/tutorial/sql-databases.md
/// /// tip ↩️ 🚶♀️ 🔠 🇨🇻 ❌ `Item` & 👂 🔠 1️⃣ 👫 ⚪️➡️ Pydantic *🏷*, 👥 🏭 `dict` ⏮️ Pydantic *🏷*'Ⓜ 📊 ⏮️: `item.dict()` & ⤴️ 👥 🚶♀️ `dict`'Ⓜ 🔑-💲 👫 🇨🇻 ❌ 🇸🇲 `Item`, ⏮️: `Item(**item.dict())` & ⤴️ 👥 🚶♀️ ➕ 🇨🇻 ❌ `owner_id` 👈 🚫 🚚 Pydantic *🏷*, ⏮️: `Item(**item.dict(), owner_id=user_id)` /// ## 👑 **FastAPI** 📱
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 25K bytes - Viewed (0)