- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,229 for myModel (0.13 sec)
-
tests/test_jsonable_encoder.py
model = ModelWithDefault(foo="foo", bar="bar") assert jsonable_encoder(model) == {"foo": "foo", "bar": "bar", "bla": "bla"} assert jsonable_encoder(model, exclude_unset=True) == {"foo": "foo", "bar": "bar"} assert jsonable_encoder(model, exclude_defaults=True) == {"foo": "foo"} assert jsonable_encoder(model, exclude_unset=True, exclude_defaults=True) == { "foo": "foo" }
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r89/ToolingApiPolymorphismCrossVersionTest.groovy
private static void assertModelIsPolymorphic(Object model) { assert model != null assert model instanceof BaseModel assert model instanceof ShallowChildModel assert ((ShallowChildModel) model).getShallowMessage() == "shallow poly from 'root'" assert model instanceof DeepChildModel assert ((DeepChildModel) model).getDeepMessage() == "deep poly from 'root'"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 11:03:18 UTC 2024 - 7.3K bytes - Viewed (0) -
pilot/pkg/xds/v3/model.go
package v3 import ( "istio.io/istio/pkg/model" ) const ( ClusterType = model.ClusterType EndpointType = model.EndpointType ListenerType = model.ListenerType RouteType = model.RouteType SecretType = model.SecretType ExtensionConfigurationType = model.ExtensionConfigurationType NameTableType = model.NameTableType
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 04 20:29:08 UTC 2024 - 2K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/model.go
package gateway import ( corev1 "k8s.io/api/core/v1" k8s "sigs.k8s.io/gateway-api/apis/v1alpha2" "istio.io/istio/pilot/pkg/credentials" "istio.io/istio/pilot/pkg/model" creds "istio.io/istio/pilot/pkg/model/credentials" "istio.io/istio/pkg/config" "istio.io/istio/pkg/config/schema/gvk" "istio.io/istio/pkg/util/sets" ) const ( gatewayAliasForAnnotationKey = "gateway.istio.io/alias-for"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:09 UTC 2024 - 4K bytes - Viewed (0) -
docs/zh/docs/tutorial/response-model.md
## 在文档中查看 当你查看自动化文档时,你可以检查输入模型和输出模型是否都具有自己的 JSON Schema: <img src="https://fastapi.tiangolo.com/img/tutorial/response-model/image01.png"> 并且两种模型都将在交互式 API 文档中使用: <img src="https://fastapi.tiangolo.com/img/tutorial/response-model/image02.png"> ## 响应模型编码参数 你的响应模型可以具有默认值,例如: ```Python hl_lines="11 13-14" {!../../../docs_src/response_model/tutorial004.py!} ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 7.9K bytes - Viewed (0) -
pilot/pkg/credentials/model.go
John Howard <******@****.***> 1708715901 -0800
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 1.3K bytes - Viewed (0) -
docs/ja/docs/tutorial/response-model.md
## ドキュメントを見る 自動ドキュメントを見ると、入力モデルと出力モデルがそれぞれ独自のJSON Schemaを持っていることが確認できます。 <img src="https://fastapi.tiangolo.com/img/tutorial/response-model/image01.png"> そして、両方のモデルは、対話型のAPIドキュメントに使用されます: <img src="https://fastapi.tiangolo.com/img/tutorial/response-model/image02.png"> ## レスポンスモデルのエンコーディングパラメータ レスポンスモデルにはデフォルト値を設定することができます: ```Python hl_lines="11 13 14"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 9.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/modelRules/basicRuleSourcePlugin/tests/basicRuleSourcePlugin-model-task.out
| Creator: Project.<init>.tasks.javaToolchains() | Rules: ⤷ copyToTaskContainer + model | Type: org.gradle.api.reporting.model.ModelReport | Value: task ':model' | Creator: Project.<init>.tasks.model() | Rules: ⤷ copyToTaskContainer + outgoingVariants
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 15:10:38 UTC 2024 - 6.2K bytes - Viewed (0) -
docs/ko/docs/tutorial/response-model.md
따라서 **FastAPI**는 출력 모델에서 선언하지 않은 모든 데이터를 (Pydantic을 사용하여) 필터링합니다. ## 문서에서 보기 자동 생성 문서를 보면 입력 모델과 출력 모델이 각자의 JSON 스키마를 가지고 있음을 확인할 수 있습니다: <img src="/img/tutorial/response-model/image01.png"> 그리고 두 모델 모두 대화형 API 문서에 사용됩니다: <img src="/img/tutorial/response-model/image02.png"> ## 응답 모델 인코딩 매개변수 응답 모델은 아래와 같이 기본값을 가질 수 있습니다: ```Python hl_lines="11 13-14" {!../../../docs_src/response_model/tutorial004.py!} ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 8.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/customModel/internalViews/tests/softwareModelExtend-iv-model.out
| Creator: Project.<init>.tasks.javaToolchains() | Rules: ⤷ copyToTaskContainer + model | Type: org.gradle.api.reporting.model.ModelReport | Value: task ':model' | Creator: Project.<init>.tasks.model() | Rules: ⤷ copyToTaskContainer + outgoingVariants
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 13:33:19 UTC 2024 - 5.9K bytes - Viewed (0)