- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 183 for embeds (0.39 seconds)
-
docs/zh/docs/tutorial/body-multiple-params.md
`Body` 同样具有与 `Query`、`Path` 以及其他后面将看到的类完全相同的额外校验和元数据参数。 /// ## 嵌入单个请求体参数 { #embed-a-single-body-parameter } 假设你只有一个来自 Pydantic 模型 `Item` 的请求体参数 `item`。 默认情况下,**FastAPI** 将直接期望这样的请求体。 但是,如果你希望它期望一个拥有 `item` 键并在值中包含模型内容的 JSON,就像在声明额外的请求体参数时所做的那样,则可以使用一个特殊的 `Body` 参数 `embed`: ```Python item: Item = Body(embed=True) ``` 比如:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:37:57 GMT 2026 - 4.9K bytes - Click Count (0) -
docs_src/body_fields/tutorial001_an_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 563 bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcGetMembersInAlias.java
package jcifs.smb1.dcerpc.msrpc; /** * MSRPC implementation for retrieving members of an alias. * This class provides functionality to get the list of security identifiers (SIDs) * that are members of a specific alias using the SAMR RPC interface. */ public class MsrpcGetMembersInAlias extends samr.SamrGetMembersInAlias { /** * Creates a new request to get members of an alias. * * @param aliasHandle the handle to the alias
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.6K bytes - Click Count (0) -
.github/dco.yml
# Disable sign-off checking for members of the Gradle GitHub organization require:
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Sat Aug 11 00:03:28 GMT 2018 - 100 bytes - Click Count (0) -
docs/distributed/samples/bootstrap-partial.ldif
objectclass: groupofnames cn: projectx description: Project X group members member: uid=alice1,ou=people,ou=hwengg,dc=min,dc=io member: uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io dn: cn=projecty,ou=groups,ou=hwengg,dc=min,dc=io objectclass: groupofnames cn: projecty description: Project Y group members member: uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Sep 12 15:59:00 GMT 2024 - 1.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
// Exists only for hierarchy mapping; no members. } private interface HierarchyFixtureSubinterface extends HierarchyFixtureInterface { // Exists only for hierarchy mapping; no members. } private static class HierarchyFixtureParent implements HierarchyFixtureSubinterface { // Exists only for hierarchy mapping; no members. }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 5.8K bytes - Click Count (0) -
fastapi/params.py
deprecated: deprecated | str | bool | None = None, include_in_schema: bool = True, json_schema_extra: dict[str, Any] | None = None, **extra: Any, ): self.embed = embed self.media_type = media_type if example is not _Unset: warnings.warn( "`example` has been deprecated, please use `examples` instead",Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 25.7K bytes - Click Count (0) -
docs/ja/docs/tutorial/body-multiple-params.md
/// ## 単一のボディパラメータの埋め込み { #embed-a-single-body-parameter } Pydanticモデル`Item`の単一の`item`ボディパラメータしかないとしましょう。 デフォルトでは、**FastAPI**はそのボディを直接期待します。 しかし、追加のボディパラメータを宣言したときのように、キー `item` を持つ JSON と、その中のモデル内容を期待したい場合は、特別な `Body` パラメータ `embed` を使うことができます: ```Python item: Item = Body(embed=True) ``` 以下において:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 15:24:30 GMT 2026 - 5.9K bytes - Click Count (0) -
cmd/iam-store.go
type GroupInfo struct { Version int `json:"version"` Status string `json:"status"` Members []string `json:"members"` UpdatedAt time.Time `json:"updatedAt"` } func newGroupInfo(members []string) GroupInfo { return GroupInfo{Version: 1, Status: statusEnabled, Members: members, UpdatedAt: UTCNow()} } // MappedPolicy represents a policy name mapped to a user or groupCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 87.1K bytes - Click Count (0) -
tests/test_request_body_parameters_media_type.py
class Product(BaseModel): name: str price: float class Shop(BaseModel): name: str @app.post("/products") async def create_product(data: Product = Body(media_type=media_type, embed=True)): pass # pragma: no cover @app.post("/shops") async def create_shop( data: Shop = Body(media_type=media_type), included: list[Product] = Body(default=[], media_type=media_type), ):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 7.2K bytes - Click Count (0)