- Sort Score
- Result 10 results
- Languages All
Results 1751 - 1760 of 2,251 for myitem (0.05 sec)
-
cmd/data-scanner.go
item.heal.bitrot = f.scanMode == madmin.HealDeepScan sz, err := f.getSize(item) if err != nil && err != errIgnoreFileContrib { wait() // wait to proceed to next entry. if err != errSkipFile && f.dataUsageScannerDebug { console.Debugf(scannerLogPrefix+" getSize \"%v/%v\" returned err: %v\n", bucket, item.objectPath(), err) } return nil }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 45.5K bytes - Viewed (0) -
docs_src/path_params_numeric_validations/tutorial006_an_py39.py
from typing import Annotated from fastapi import FastAPI, Path, Query app = FastAPI() @app.get("/items/{item_id}") async def read_items( *, item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)], q: str, size: Annotated[float, Query(gt=0, lt=10.5)], ): results = {"item_id": item_id} if q: results.update({"q": q}) if size: results.update({"size": size})
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Aug 28 23:39:15 UTC 2024 - 447 bytes - Viewed (0) -
docs/zh/docs/tutorial/body-updates.md
**FastAPI** 对此没有任何限制,可以**随意**互换使用这两种操作。 但本指南也会分别介绍这两种操作各自的用途。 /// ### 使用 Pydantic 的 `exclude_unset` 参数 更新部分数据时,可以在 Pydantic 模型的 `.dict()` 中使用 `exclude_unset` 参数。 比如,`item.dict(exclude_unset=True)`。 这段代码生成的 `dict` 只包含创建 `item` 模型时显式设置的数据,而不包括默认值。 然后再用它生成一个只含已设置(在请求中所发送)数据,且省略了默认值的 `dict`: {* ../../docs_src/body_updates/tutorial002.py hl[34] *} ### 使用 Pydantic 的 `update` 参数
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.5K bytes - Viewed (0) -
docs/ru/docs/tutorial/body-updates.md
Если необходимо выполнить частичное обновление, то очень полезно использовать параметр `exclude_unset` в методе `.model_dump()` модели Pydantic. Например, `item.model_dump(exclude_unset=True)`. /// info | Информация В Pydantic v1 метод назывался `.dict()`, в Pydantic v2 он помечен как устаревший (но все еще поддерживается) и переименован в `.model_dump()`.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 8.2K bytes - Viewed (0) -
tests/test_tutorial/test_using_request_directly/test_tutorial001.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.8K bytes - Viewed (0) -
docs/ru/docs/tutorial/query-params-str-validations.md
## Псевдонимы параметров { #alias-parameters } Представьте, что вы хотите, чтобы параметр назывался `item-query`. Например: ``` http://127.0.0.1:8000/items/?item-query=foobaritems ``` Но `item-query` — недопустимое имя переменной в Python. Ближайший вариант — `item_query`. Но вам всё равно нужно именно `item-query`...Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 26.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java
import org.codelibs.fess.suggest.entity.ElevateWord; import org.opensearch.transport.client.Client; /** * The ElevateWordSettings class manages the settings for elevate words in the suggestion system. * It provides methods to retrieve, add, and delete elevate words from the settings. * * <p>Constants:</p> * <ul> * <li>{@code ELEVATE_WORD_SETTINGD_KEY} - The key for elevate word settings.</li>
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 7.5K bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial010_an_py39.py
from typing import Annotated, Union from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items( q: Annotated[ Union[str, None], Query( alias="item-query", title="Query string", description="Query string for the items to search in the database that have a good match", min_length=3, max_length=50,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Oct 24 20:26:06 UTC 2023 - 635 bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial010_py39.py
from typing import Union from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items( q: Union[str, None] = Query( default=None, alias="item-query", title="Query string", description="Query string for the items to search in the database that have a good match", min_length=3, max_length=50, pattern="^fixedquery$", deprecated=True,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 574 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/FileConfigPager.java
/** Current page number */ private int currentPageNumber; /** Configuration ID */ public String id; /** Configuration name */ public String name; /** File system paths to crawl */ public String paths; /** Number of threads for crawling */ public String numOfThread; /** Interval time between crawling operations */ public String intervalTime;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.3K bytes - Viewed (0)