- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 1,041 for model (0.21 sec)
-
tests/test_response_model_sub_types.py
from pydantic import BaseModel class Model(BaseModel): name: str app = FastAPI() @app.get("/valid1", responses={"500": {"model": int}}) def valid1(): pass @app.get("/valid2", responses={"500": {"model": List[int]}}) def valid2(): pass @app.get("/valid3", responses={"500": {"model": Model}}) def valid3(): pass
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 5.3K bytes - Viewed (0) -
schema/relationship_test.go
} else { for _, rel := range relations { checkSchemaRelation(t, s, rel) } } } func TestBelongsToOverrideForeignKey(t *testing.T) { type Profile struct { gorm.Model Name string } type User struct { gorm.Model Profile Profile `gorm:"ForeignKey:ProfileRefer"` ProfileRefer int } checkStructRelation(t, &User{}, Relation{
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 25.5K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/CompileAll.kt
import common.getBuildScanCustomValueParam import model.CIBuildModel import model.Stage class CompileAll(model: CIBuildModel, stage: Stage) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = { id(buildTypeId(model)) name = "Compile All" description = "Compiles all production/test source code and warms up the build cache" features { publishBuildStatusToGithub(model) } applyDefaults(
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Sep 24 06:22:49 UTC 2024 - 1.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/inheritance/ModelInheritanceAssembler.java
import org.apache.maven.model.Build; import org.apache.maven.model.Model; /** */ @Deprecated public interface ModelInheritanceAssembler { String ROLE = ModelInheritanceAssembler.class.getName(); void assembleModelInheritance(Model child, Model parent, String childPathAdjustment); void assembleModelInheritance(Model child, Model parent);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
import org.apache.maven.model.DependencyManagement; import org.apache.maven.model.InputLocation; import org.apache.maven.model.Model; import org.apache.maven.model.Parent; import org.apache.maven.model.Plugin; import org.apache.maven.model.PluginManagement; import org.apache.maven.model.Profile; import org.apache.maven.model.building.ModelProblem.Severity; import org.apache.maven.model.building.ModelProblem.Version;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 83.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/WorkspaceModelResolver.java
* under the License. */ package org.apache.maven.model.resolution; import org.apache.maven.model.Model; /** * WorkspaceModelResolver * * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") public interface WorkspaceModelResolver { Model resolveRawModel(String groupId, String artifactId, String versionConstraint)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
tests/associations_many2many_test.go
// Find var user2 User DB.Find(&user2, "id = ?", user.ID) DB.Model(&user2).Association("Languages").Find(&user2.Languages) CheckUser(t, user2, user) // Count AssertAssociationCount(t, user, "Languages", 2, "") // Append language := Language{Code: "language-many2many-append", Name: "language-many2many-append"} DB.Create(&language) if err := DB.Model(&user2).Association("Languages").Append(&language); err != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Jun 10 13:05:19 UTC 2023 - 13.2K bytes - Viewed (0) -
compat/maven-model/src/site/apt/index.apt
Hervé Boutemy ----- 2011-06-12 ----- Maven Model This is strictly the model for Maven POM (Project Object Model) in <<<org.apache.maven.model>>> package, delegating content to {{{../api/maven-api-model/index.html}Maven 4 API immutable model}}. All the effective model building logic from multiple POMs and building context is done in {{{../maven-model-builder/}Maven Model Builder}}. The following are generated from this model:
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/AbstractProfileActivatorTest.java
* under the License. */ package org.apache.maven.model.profile.activation; import java.util.Properties; import org.apache.maven.api.model.Profile; import org.apache.maven.model.building.SimpleProblemCollector; import org.apache.maven.model.profile.DefaultProfileActivationContext; import org.apache.maven.model.profile.ProfileActivationContext; import org.junit.jupiter.api.AfterEach;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
impl/maven-core/plugin-manager.txt
* Execution model * Metadata model * Metadata tooling ** Metadata extractor ** Metadata reader ** Metadata writer ** Metadata adapter (if required for the target system) * Maven packaging and lifecycle * Maven test harness for plugin execution model * Eclipse IDE tooling for plugin execution model and metadata model - we also seem to have information like the plugin lifecycle model that's buried inside the maven execution model
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.9K bytes - Viewed (0)