Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,134 for Model (0.85 sec)

  1. 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)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/ModelValidator.java

         */
        void validateRawModel(Model model, ModelBuildingRequest request, ModelProblemCollector problems);
    
        /**
         * Checks the specified (effective) model for missing or invalid values. The effective model is fully assembled and
         * has undergone inheritance, interpolation and other model operations.
         *
         * @param model The model to validate, must not be {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. 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)
  4. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.merge;
    
    import java.util.Arrays;
    
    import org.apache.maven.api.model.Contributor;
    import org.apache.maven.api.model.Dependency;
    import org.apache.maven.api.model.Model;
    import org.apache.maven.model.v4.MavenMerger;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. tests/test_response_model_include_exclude.py

        return Model2(
            ref=Model1(foo="simple_include model foo", bar="simple_include model bar"),
            baz="simple_include model2 baz",
        )
    
    
    @app.get(
        "/simple_include_dict",
        response_model=Model2,
        response_model_include={"baz": ..., "ref": {"foo"}},
    )
    def simple_include_dict():
        return {
            "ref": {
                "foo": "simple_include_dict model foo",
                "bar": "simple_include_dict model bar",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Jul 19 19:14:58 UTC 2021
    - 4K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ModelInterpolator.java

         * the returned model and must not rely on the input model being updated.
         *
         * @param model The model to interpolate, must not be {@code null}.
         * @param projectDir The project directory, may be {@code null} if the model does not belong to a local project but
         *            to some artifact's metadata.
         * @param request The model building request that holds further settings, must not be {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. 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)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuilder.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.io.File;
    
    import org.apache.maven.model.Model;
    
    /**
     * Builds the effective model from a POM.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelBuilder {
    
        /**
         * Builds the effective model of the specified POM.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java

    import org.apache.maven.model.Exclusion;
    import org.apache.maven.model.Extension;
    import org.apache.maven.model.InputLocation;
    import org.apache.maven.model.IssueManagement;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.ModelBase;
    import org.apache.maven.model.Organization;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.model.PluginExecution;
    import org.apache.maven.model.ReportPlugin;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorReaderDelegate.java

    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.api.Language;
    import org.apache.maven.model.DependencyManagement;
    import org.apache.maven.model.DistributionManagement;
    import org.apache.maven.model.License;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.Prerequisites;
    import org.apache.maven.model.Repository;
    import org.apache.maven.repository.internal.artifact.MavenArtifactProperties;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Mar 20 22:29:18 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top