- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 1,594 for tone (0.31 sec)
-
tests/test_security_openid_connect_optional.py
username: str def get_current_user(oauth_header: Optional[str] = Security(oid)): if oauth_header is None: return None user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: Optional[User] = Depends(get_current_user)): if current_user is None: return {"msg": "Create an account first"} return current_user client = TestClient(app)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerStatus.java
/** * Enum representing the status of a crawler. * It can be INITIALIZING, RUNNING, or DONE. */ public enum CrawlerStatus { /** * The crawler is initializing. */ INITIALIZING, /** * The crawler is currently running. */ RUNNING, /** * The crawler has completed its task. */ DONE;Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 997 bytes - Viewed (0) -
fastapi/openapi/utils.py
summary: Optional[str] = None, description: Optional[str] = None, routes: Sequence[BaseRoute], webhooks: Optional[Sequence[BaseRoute]] = None, tags: Optional[list[dict[str, Any]]] = None, servers: Optional[list[dict[str, Union[str, Any]]]] = None, terms_of_service: Optional[str] = None, contact: Optional[dict[str, Union[str, Any]]] = None,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 23.2K bytes - Viewed (0) -
cmd/erasure-object-conditional_test.go
for i := range erasureDisks[:8] { erasureDisks[i] = nil } return erasureDisks } z.serverPools[0].erasureDisksMu.Unlock() t.Run("if-none-match with read quorum failure", func(t *testing.T) { // Test Case 1: if-none-match (create only if doesn't exist) // With if-none-match: *, this should only succeed if object doesn't exist. // Since read quorum fails, we can't determine if object exists. opts := ObjectOptions{
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 24 04:05:31 UTC 2025 - 4.9K bytes - Viewed (0) -
docs_src/header_params/tutorial001_py310.py
from fastapi import FastAPI, Header app = FastAPI() @app.get("/items/") async def read_items(user_agent: str | None = Header(default=None)):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 182 bytes - Viewed (0) -
docs_src/path_operation_configuration/tutorial004_py310.py
from fastapi import FastAPI from pydantic import BaseModel 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
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 638 bytes - Viewed (0) -
docs_src/header_params/tutorial003_py310.py
from fastapi import FastAPI, Header app = FastAPI() @app.get("/items/") async def read_items(x_token: list[str] | None = Header(default=None)):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 186 bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial011_py310.py
from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items(q: list[str] | None = Query(default=None)): query_items = {"q": q}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 189 bytes - Viewed (0) -
docs/zh-hant/docs/virtual-environments.md
如果你想運行 `philosophers-stone`,你需要先安裝 `harry` 版本 `1`,例如: <div class="termy"> ```console $ pip install "harry==1" ``` </div> 然後你會在全域 Python 環境中安裝 `harry` 版本 `1`。 ```mermaid flowchart LR subgraph global[全域環境] harry-1[harry v1] end subgraph stone-project[專案 philosophers-stone] stone(philosophers-stone) -->|需要| harry-1 end ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Dec 09 22:39:33 UTC 2024 - 20.7K bytes - Viewed (0) -
docs/zh/docs/virtual-environments.md
如果你想运行 `philosophers-stone`,你需要首先安装 `harry` 版本 `1`,例如: <div class="termy"> ```console $ pip install "harry==1" ``` </div> 然后你将在全局 Python 环境中安装 `harry` 版本 `1`。 ```mermaid flowchart LR subgraph global[全局环境] harry-1[harry v1] end subgraph stone-project[工程 philosophers-stone] stone(philosophers-stone) -->|需要| harry-1 end ```
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Nov 08 19:23:26 UTC 2024 - 21K bytes - Viewed (0)