- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for embed (0.19 sec)
-
fastapi/dependencies/utils.py
field_info = first_param.field_info embed = getattr(field_info, "embed", None) body_param_names_set = {param.name for param in flat_dependant.body_params} if len(body_param_names_set) == 1 and not embed: check_file_field(first_param) return first_param # If one field requires to embed, all have to be embedded
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:52:56 GMT 2024 - 29.5K bytes - Viewed (0) -
cni/pkg/nodeagent/fakes_test.go
// limitations under the License. package nodeagent import ( "context" "embed" "io/fs" "sync/atomic" "syscall" corev1 "k8s.io/api/core/v1" "istio.io/istio/cni/pkg/iptables" ) //go:embed testdata/cgroupns var fakeProc embed.FS type fakeZtunnel struct { deletedPods atomic.Int32 addedPods atomic.Int32 addError error }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 3.9K bytes - Viewed (0) -
common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto
// // +protobuf=true // +protobuf.embed=string // +protobuf.options.marshal=false // +protobuf.options.(gogoproto.goproto_stringer)=false // +k8s:deepcopy-gen=true // +k8s:openapi-gen=true message Quantity { optional string string = 1; } // QuantityValue makes it possible to use a Quantity as value for a command // line parameter. // // +protobuf=true // +protobuf.embed=string // +protobuf.options.marshal=false
Plain Text - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 3.9K bytes - Viewed (0) -
docs/ko/docs/tutorial/body-multiple-params.md
기본적으로 **FastAPI**는 직접 본문으로 예측할 것입니다. 하지만, 만약 모델 내용에 `item `키를 가진 JSON으로 예측하길 원한다면, 추가적인 본문 매개변수를 선언한 것처럼 `Body`의 특별한 매개변수인 `embed`를 사용할 수 있습니다: ```Python hl_lines="17" {!../../../docs_src/body_multiple_params/tutorial005.py!} ``` 아래 처럼: ```Python item: Item = Body(..., embed=True) ``` 이 경우에 **FastAPI**는 본문을 아래 대신에: ```JSON hl_lines="2" { "name": "Foo",
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Feb 11 13:48:31 GMT 2024 - 5.2K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-multiple-params.md
Mas se você quiser que ele espere por um JSON com uma chave `item` e dentro dele os conteúdos do modelo, como ocorre ao declarar vários parâmetros de corpo, você pode usar o parâmetro especial de `Body` chamado `embed`: ```Python item: Item = Body(embed=True) ``` como em: === "Python 3.10+" ```Python hl_lines="15" {!> ../../../docs_src/body_multiple_params/tutorial005_py310.py!} ``` === "Python 3.8+"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 6K bytes - Viewed (0) -
fastapi/params.py
deprecated: Union[deprecated, str, bool, None] = None, include_in_schema: bool = True, json_schema_extra: Union[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",
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 27.5K bytes - Viewed (1) -
docs/ru/docs/tutorial/body-multiple-params.md
Но если вы хотите чтобы он ожидал JSON с ключом `item` с содержимым модели внутри, также как это происходит при объявлении дополнительных body-параметров, вы можете использовать специальный параметр `embed` у типа `Body`: ```Python item: Item = Body(embed=True) ``` так же, как в этом примере: === "Python 3.10+" ```Python hl_lines="17" {!> ../../../docs_src/body_multiple_params/tutorial005_an_py310.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.7K bytes - Viewed (0) -
fastapi/param_functions.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 62.5K bytes - Viewed (0) -
pom.xml
</dependency> <dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-core</artifactId> <version>${tomcat.version}</version> <!-- Disable scope at development on IDEA --> <scope>provided</scope> </dependency> <dependency><!-- for jsp --> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId> <version>${tomcat.version}</version>
XML - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Mon Apr 22 12:06:58 GMT 2024 - 48.7K bytes - Viewed (0) -
docs/hotfixes.md
### Building a hotfix binary and container To add a hotfix tag to the binary version and embed the relevant `commit-id` following build helpers are available #### Builds the hotfix binary and uploads to https;//dl.min.io ``` λ CRED_DIR=/media/builder/minio make hotfix-push ```
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Feb 14 21:36:02 GMT 2024 - 5K bytes - Viewed (0)