- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 691 for idct (0.03 seconds)
-
docs/ru/docs/how-to/custom-request-and-route.md
/// note | Технические детали У `Request` есть атрибут `request.scope` — это просто Python-`dict`, содержащий метаданные, связанные с HTTP-запросом. У `Request` также есть `request.receive` — функция для «получения» тела запроса. И `dict` `scope`, и функция `receive` являются частью спецификации ASGI.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 7.1K bytes - Click Count (0) -
docs/tr/docs/advanced/templates.md
* Oluşturduğunuz `templates` nesnesini kullanarak bir `TemplateResponse` render edip döndürün; template'in adını, request nesnesini ve Jinja2 template'i içinde kullanılacak anahtar-değer çiftlerini içeren bir "context" sözlüğünü (dict) iletin. {* ../../docs_src/templates/tutorial001_py310.py hl[4,11,15:18] *} /// note | Not FastAPI 0.108.0 ve Starlette 0.29.0 öncesinde, ilk parametre `name` idi.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 3.8K bytes - Click Count (0) -
fastapi/.agents/skills/fastapi/references/dependencies.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 10:05:57 GMT 2026 - 3.2K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/response-directly.md
# 直接回傳 Response { #return-a-response-directly } 當你建立一個 **FastAPI** 的路徑操作 (path operation) 時,通常可以從中回傳任何資料:`dict`、`list`、Pydantic 模型、資料庫模型等。 如果你宣告了 [回應模型](../tutorial/response-model.md),FastAPI 會用 Pydantic 將資料序列化為 JSON。 如果你沒有宣告回應模型,FastAPI 會使用在[JSON 相容編碼器](../tutorial/encoder.md)中說明的 `jsonable_encoder`,並把它放進 `JSONResponse`。 但你也可以直接從路徑操作回傳 `JSONResponse`。 /// tipCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.8K bytes - Click Count (0) -
docs/zh/docs/tutorial/metadata.md
| `description` | `str` | API 的简短描述。可以使用 Markdown。 | | `version` | `string` | API 的版本。这是您自己的应用程序的版本,而不是 OpenAPI 的版本。例如 `2.5.0`。 | | `terms_of_service` | `str` | API 服务条款的 URL。如果提供,则必须是 URL。 |
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 5.6K bytes - Click Count (0) -
docs/ja/docs/tutorial/body-nested-models.md
そして、あらゆる場所でエディタサポートを得られます。 以下のようにリストの中の項目でも: <img src="/img/tutorial/body-nested-models/image01.png"> Pydanticモデルではなく、`dict`を直接使用している場合はこのようなエディタのサポートは得られません。 しかし、それらについて心配する必要はありません。入力されたdictは自動的に変換され、出力も自動的にJSONに変換されます。 ## 任意の`dict`のボディ { #bodies-of-arbitrary-dicts } また、ある型のキーと別の型の値を持つ`dict`としてボディを宣言することもできます。 この方法で、有効なフィールド/属性名を事前に知る必要がありません(Pydanticモデルの場合のように)。 これは、まだ知らないキーを受け取りたいときに便利です。 ---
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 8.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.dict.stopwords; import org.apache.commons.lang3.StringUtils; import org.codelibs.core.lang.StringUtil; import org.codelibs.fess.dict.DictionaryItem; /** * Represents an item in a stopwords dictionary. * This class stores a stopword and tracks its updated value. */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 3.5K bytes - Click Count (0) -
tests/test_serialize_response_model.py
return [ Item(aliased_name="foo"), Item(aliased_name="bar", price=1.0), Item(aliased_name="baz", price=2.0, owner_ids=[1, 2, 3]), ] @app.get("/items/validdict", response_model=dict[str, Item]) def get_validdict(): return { "k1": Item(aliased_name="foo"), "k2": Item(aliased_name="bar", price=1.0), "k3": Item(aliased_name="baz", price=2.0, owner_ids=[1, 2, 3]), }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 4.1K bytes - Click Count (0) -
docs_src/extra_models/tutorial005_py310.py
from fastapi import FastAPI app = FastAPI() @app.get("/keyword-weights/", response_model=dict[str, float]) async def read_keyword_weights():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 180 bytes - Click Count (0) -
docs/ko/docs/advanced/testing-dependencies.md
### `app.dependency_overrides` 속성 사용하기 { #use-the-app-dependency-overrides-attribute } 이런 경우를 위해 **FastAPI** 애플리케이션에는 `app.dependency_overrides`라는 속성이 있습니다. 이는 간단한 `dict`입니다. 테스트를 위해 의존성을 오버라이드하려면, 원래 의존성(함수)을 키로 설정하고 오버라이드할 의존성(다른 함수)을 값으로 설정합니다. 그럼 **FastAPI**는 원래 의존성 대신 오버라이드된 의존성을 호출합니다. {* ../../docs_src/dependency_testing/tutorial001_an_py310.py hl[26:27,30] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Jan 11 00:15:26 GMT 2026 - 2.8K bytes - Click Count (0)