- Sort Score
- Num 10 results
- Language All
Results 1221 - 1230 of 4,691 for Done (0.03 seconds)
-
tests/test_tutorial/test_body_nested_models/test_tutorial007.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 11.6K bytes - Click Count (0) -
tests/test_dependency_contextvars.py
from typing import Any from fastapi import Depends, FastAPI, Request, Response from fastapi.testclient import TestClient legacy_request_state_context_var: ContextVar[dict[str, Any] | None] = ContextVar( "legacy_request_state_context_var", default=None ) app = FastAPI() async def set_up_request_state_dependency(): request_state = {"user": "deadpond"}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 1.5K bytes - Click Count (0) -
dbflute_fess/dfprop/outsideSqlMap.dfprop
# o procedureSynonymHandlingType: (NotRequired - Default NONE) # You can specify the handling type of procedure synonym. # NONE - No handling. (default) # INCLUDE - It includes procedure synonyms. # SWITCH - It switches all normal procedures to procedure synonyms. # #; procedureSynonymHandlingType = NONE # - - - - - - - - - -/Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jul 25 06:04:16 GMT 2015 - 8K bytes - Click Count (0) -
docs/ru/docs/tutorial/body-multiple-params.md
Вы также можете объявить параметры тела запроса как необязательные, установив значение по умолчанию, равное `None`: {* ../../docs_src/body_multiple_params/tutorial001_an_py310.py hl[18:20] *} /// note | Заметка Заметьте, что в данном случае параметр `item`, который будет взят из тела запроса, необязателен. Так как было установлено значение `None` по умолчанию. /// ## Несколько параметров тела запроса { #multiple-body-parameters }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 19:57:34 GMT 2026 - 8.2K bytes - Click Count (0) -
docs/zh/docs/tutorial/body.md
* 如果该参数也在**路径**中声明了,它就是路径参数。 * 如果该参数是(`int`、`float`、`str`、`bool` 等)**单一类型**,它会被当作**查询**参数。 * 如果该参数的类型声明为 **Pydantic 模型**,它会被当作请求**体**。 /// note | 注意 FastAPI 会根据默认值 `= None` 知道 `q` 的值不是必填的。 `str | None` 并不是 FastAPI 用来判断是否必填的依据;是否必填由是否有默认值 `= None` 决定。 但添加这些类型注解可以让你的编辑器提供更好的支持并检测错误。 /// ## 不使用 Pydantic { #without-pydantic }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 5.9K bytes - Click Count (0) -
tests/test_request_params/test_header/test_list.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 11.3K bytes - Click Count (0) -
tests/postgres_test.go
t.Skip() } type Yasuo struct { ID string `gorm:"default:gen_random_uuid()"` Name string CreatedAt time.Time `gorm:"type:TIMESTAMP WITHOUT TIME ZONE"` UpdatedAt time.Time `gorm:"type:TIMESTAMP WITHOUT TIME ZONE;default:current_timestamp"` } if err := DB.Exec("CREATE EXTENSION IF NOT EXISTS pgcrypto;").Error; err != nil { t.Errorf("Failed to create extension pgcrypto, got error %v", err) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Oct 08 09:16:32 GMT 2022 - 6.4K bytes - Click Count (0) -
src/main/webapp/WEB-INF/orig/view/chat/chat.jsp
<i class="fa fa-filter" aria-hidden="true"></i> <la:message key="labels.chat_filter" /> <span id="filterBadge" class="badge rounded-pill bg-primary d-none">0</span> </button> <button type="button" id="newChatBtn" class="btn btn-outline-secondary btn-sm" aria-label="<la:message key="labels.chat_new_chat" />"> <i class="fa fa-plus" aria-hidden="true"></i>
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:21:57 GMT 2026 - 10.4K bytes - Click Count (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial005.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 10.3K bytes - Click Count (0) -
docs/zh-hant/docs/index.md
app = FastAPI() class Item(BaseModel): name: str price: float is_offer: bool | None = None @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: str | None = None): return {"item_id": item_id, "q": q} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 20.8K bytes - Click Count (0)