Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 941 for Model3 (0.03 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/LifecycleBindingsInjector.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.plugin;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblemCollector;
    
    /**
     * Handles injection of plugin executions induced by the lifecycle bindings for a packaging.
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. tests/test_request_params/test_header/test_optional_str.py

        return {"p": p}
    
    
    class HeaderModelOptionalStr(BaseModel):
        p: Optional[str] = None
    
    
    @app.get("/model-optional-str")
    async def read_model_optional_str(p: Annotated[HeaderModelOptionalStr, Header()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-str", "/model-optional-str"],
    )
    def test_optional_str_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == [
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/SerializationTest.java

        @Test
        void testModelSerialization() throws Exception {
            Model model;
            try (InputStream is = getClass().getResourceAsStream("/xml/pom.xml")) {
                model = new MavenXpp3Reader().read(is);
            }
    
            // Serialize an inner child here so that the BaseObject.childrenTracking is non null
            Build build = model.getBuild();
    
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. tests/test_request_params/test_header/test_required_str.py

        return {"p": p}
    
    
    class HeaderModelRequiredStr(BaseModel):
        p: str
    
    
    @app.get("/model-required-str")
    async def read_model_required_str(p: Annotated[HeaderModelRequiredStr, Header()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/required-str", "/model-required-str"],
    )
    def test_required_str_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == [
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 10K bytes
    - Viewed (0)
  5. api/maven-api-model/src/main/java/org/apache/maven/api/model/ModelObjectProcessor.java

     * be registered in {@code META-INF/services/org.apache.maven.api.model.ModelObjectProcessor}.</p>
     *
     * <p>The service is called during model building for all model objects, allowing
     * implementations to decide which objects to process and how to optimize them.</p>
     *
     * @since 4.0.0
     */
    public interface ModelObjectProcessor {
    
        /**
         * Process a model object, potentially returning a pooled or optimized version.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. 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()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/events.md

    Vamos imaginar que o carregamento do modelo pode **demorar bastante tempo**, porque ele precisa ler muitos **dados do disco**. Então você não quer fazer isso a cada requisição.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. 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 {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Sep 10 13:46:18 UTC 2020
    - 3.5K bytes
    - Viewed (1)
  9. 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;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. 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()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top