- Sort Score
- Num 10 results
- Language All
Results 351 - 360 of 1,627 for modes (0.02 seconds)
-
tests/test_request_params/test_body/test_optional_list.py
class BodyModelOptionalListStr(BaseModel): p: Optional[list[str]] = None @app.post("/model-optional-list-str", operation_id="model_optional_list_str") async def read_model_optional_list_str(p: BodyModelOptionalListStr): return {"p": p.p} @pytest.mark.parametrize( "path", ["/optional-list-str", "/model-optional-list-str"], ) def test_optional_list_str_schema(path: str): openapi = app.openapi()
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 12.7K bytes - Click Count (0) -
tests/hooks_test.go
t.Fatalf("Failed to query product, got error: %v", err) } DB.Model(&result3).Update("Price", 800) var result4 Product2 DB.First(&result4, "name = ?", "Nice2") if result4.Price != 600 { t.Errorf("Admin product's price should not be changed, expects: %v, got %v", 600, result4.Price) } } type Product3 struct { gorm.Model Name string Code string Price int64 Owner string }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jun 17 03:59:06 GMT 2024 - 16.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java
*/ package org.apache.maven.model.building; import org.apache.maven.model.Model; import org.apache.maven.model.composition.DefaultDependencyManagementImporter; import org.apache.maven.model.composition.DependencyManagementImporter; import org.apache.maven.model.inheritance.DefaultInheritanceAssembler; import org.apache.maven.model.inheritance.InheritanceAssembler; import org.apache.maven.model.interpolation.DefaultModelVersionProcessor;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 10.2K bytes - Click Count (0) -
tests/joins_table_test.go
} if DB.Unscoped().Model(&person).Association("Addresses").Count() != 2 { t.Fatalf("Should found soft deleted addresses with unscoped") } DB.Model(&person).Association("Addresses").Clear() if DB.Model(&person).Association("Addresses").Count() != 0 { t.Fatalf("Should deleted all addresses") } if DB.Unscoped().Model(&person).Association("Addresses").Count() != 2 {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Sep 10 13:46:18 GMT 2020 - 3.5K bytes - Click Count (1) -
compat/maven-compat/src/main/java/org/apache/maven/project/path/PathTranslator.java
import java.io.File; import org.apache.maven.model.Model; /** */ @Deprecated public interface PathTranslator { String ROLE = PathTranslator.class.getName(); void alignToBaseDirectory(Model model, File basedir); String alignToBaseDirectory(String path, File basedir); void unalignFromBaseDirectory(Model model, File basedir);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ConnectedResource.java
import java.util.List; import org.apache.maven.api.ProjectScope; import org.apache.maven.api.SourceRoot; import org.apache.maven.impl.DefaultSourceRoot; import org.apache.maven.model.Resource; /** * A Resource wrapper that maintains a connection to the underlying project model. * When includes/excludes are modified, the changes are propagated back to the project's SourceRoots. */ @SuppressWarnings("deprecation")
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 07 13:11:07 GMT 2025 - 4.5K bytes - Click Count (0) -
tests/test_request_params/test_body/test_required_str.py
return {"p": p} class BodyModelRequiredStr(BaseModel): p: str @app.post("/model-required-str", operation_id="model_required_str") async def read_model_required_str(p: BodyModelRequiredStr): return {"p": p.p} @pytest.mark.parametrize( "path", ["/required-str", "/model-required-str"], ) def test_required_str_schema(path: str): openapi = app.openapi()Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 11K bytes - Click Count (0) -
tests/delete_test.go
if count := DB.Unscoped().Model(&user).Association(key).Count(); count != value { t.Errorf("user's %v expects: %v, got %v", key, value, count) } } for key, value := range map[string]int64{"Account": 0, "Pets": 0, "Toys": 0, "Company": 1, "Manager": 1, "Team": 0, "Languages": 0, "Friends": 0} { if count := DB.Model(&user).Association(key).Count(); count != value {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 9.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java
/** * Unit tests for the {@link ModelVersionUtils} utility class. * Tests model version detection, validation, upgrade logic, and namespace operations. */ @DisplayName("ModelVersionUtils") class ModelVersionUtilsTest { @Nested @DisplayName("Model Version Detection") class ModelVersionDetectionTests { @Test @DisplayName("should detect model version from document")Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 19.6K bytes - Click Count (0) -
architecture/README.md
There are several different types of requests, such as a request to run a set of tasks, or to query a tooling model, or to stop. Some requests will require that the build is configured and maybe some work executed, and other requests might not. See [Build execution model](build-execution-model.md) for more details. ### Build state model As Gradle executes, it acts on various pieces of the build definition, such as each project in the build.
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Jun 12 09:50:57 GMT 2025 - 3.6K bytes - Click Count (0)