- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 4,044 for myModel (0.36 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) -
model.go
package gorm import "time" // Model a basic GoLang struct which includes the following fields: ID, CreatedAt, UpdatedAt, DeletedAt // It may be embedded into your model or you may build your own model without it // // type User struct { // gorm.Model // } type Model struct { ID uint `gorm:"primarykey"` CreatedAt time.Time UpdatedAt time.Time DeletedAt DeletedAt `gorm:"index"`
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Sat Feb 18 01:06:43 UTC 2023 - 396 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) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/Model.java
* limitations under the License. */ package org.gradle.tooling.model; // TODO:ADAM - Deprecate /** * A model that is buildable by the Tooling API. Models contain various information regarding the build. * Models are typically tailored to a specific domain, for example build environment or IDE. * * @since 1.0-milestone-8 */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 938 bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/Model.java
* <p> * It is an error for a {@code @Model} rule to return {@code void} and specify a non-managed type as the first parameter. * It is an error for a {@code @Model} rule to return {@code void} and for the first parameter to be annotated with {@link Path}. * It is an error for a {@code @Model} rule to specify a managed type as the return type. * <h3>Creating non-managed model elements</h3> * <p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.8K 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) -
src/mdo/model-version.vm
import org.apache.maven.api.xml.XmlNode; #foreach ( $class in $model.allClasses ) import ${packageModelV4}.${class.Name}; #end @Generated public class ${className} { public String getModelVersion(${root.name} model) { Objects.requireNonNull(model, "model cannot be null"); #set ( $String = $model.getClass().forName("java.lang.String") ) #set ( $Comparator = $model.getClass().forName("java.util.Comparator") )
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Oct 16 13:44:33 UTC 2023 - 7.4K bytes - Viewed (0) -
maven-core/src/test/projects/lifecycle-executor/project-with-multiple-executions/src/main/mdo/supplemental-model.mdo
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 21 12:56:07 UTC 2009 - 2.1K 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)