Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 1,316 for model (0.05 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t05/ProjectInheritanceTest.java

        // ----------------------------------------------------------------------
        //
        // p1 inherits from p0
        // p0 inherits from super model
        //
        // or we can show it graphically as:
        //
        // p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testDependencyManagement() throws Exception {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

         * a model source such as a string or input stream.
         *
         * @return an optional containing the source of the project, or empty if not specified
         */
        @Nonnull
        Optional<Source> getSource();
    
        /**
         * Determines whether a stub model should be allowed when the POM is missing or unreadable.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  3. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/PomValidationTask.java

                MavenXpp3Reader reader = new MavenXpp3Reader();
                Model model = reader.read(fileReader);
    
                validateString("groupId", model.getGroupId());
                validateString("artifactId", model.getArtifactId());
                validateString("version", model.getVersion());
                validateString("name", model.getName());
                validateString("description", model.getDescription());
                validateString("url", model.getUrl());
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.4K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t01/ProjectInheritanceTest.java

        //
        // p4 inherits from p3
        // p3 inherits from p2
        // p2 inherits from p1
        // p1 inherits from p0
        // p0 inherits from super model
        //
        // or we can show it graphically as:
        //
        // p4 ---> p3 ---> p2 ---> p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testProjectInheritance() throws Exception {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue May 27 13:59:13 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/ScmTest.java

        }
    
        @Test
        public void testToStringNotNonsense() {
            Scm scm = new Scm();
            scm.setConnection("scm:git:git://git.localdomain/model");
    
            String s = scm.toString();
    
            assertEquals("Scm {connection=scm:git:git://git.localdomain/model}", s);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

            /**
             * The request is for building a model from a parent POM file from a downloaded artifact.
             */
            CONSUMER_PARENT,
            /**
             * The request is for building a model from a dependency POM file from a downloaded artifact.
             */
            CONSUMER_DEPENDENCY
        }
    
        /**
         * The possible merge modes for combining remote repositories.
         */
        enum RepositoryMerging {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  7. tests/test_response_model_invalid.py

            app = FastAPI()
    
            @app.get("/", responses={"500": {"model": NonPydanticModel}})
            def read_root():
                pass  # pragma: nocover
    
    
    def test_invalid_response_model_sub_type_in_responses_raises():
        with pytest.raises(FastAPIError):
            app = FastAPI()
    
            @app.get("/", responses={"500": {"model": list[NonPydanticModel]}})
            def read_root():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/body-multiple-params.md

    ///
    
    ## Embed a single body parameter { #embed-a-single-body-parameter }
    
    Let's say you only have a single `item` body parameter from a Pydantic model `Item`.
    
    By default, **FastAPI** will then expect its body directly.
    
    But if you want it to expect a JSON with a key `item` and inside of it the model contents, as it does when you declare extra body parameters, you can use the special `Body` parameter `embed`:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java

        }
    
        /**
         * Gets the interim result of the model building up to the point where it failed.
         *
         * @return The interim model building result or {@code null} if not available.
         */
        public ModelBuilderResult getResult() {
            return result;
        }
    
        /**
         * Gets the identifier of the POM whose effective model could not be built. The general format of the identifier is
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

    import common.getBuildScanCustomValueParam
    import jetbrains.buildServer.configs.kotlin.BuildSteps
    import jetbrains.buildServer.configs.kotlin.buildFeatures.perfmon
    import model.CIBuildModel
    import model.Stage
    import model.TestCoverage
    import model.TestType
    
    const val FUNCTIONAL_TEST_TAG = "FunctionalTest"
    
    sealed class ParallelizationMethod {
        open val extraBuildParameters: String
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Oct 09 05:26:45 GMT 2025
    - 5.3K bytes
    - Click Count (0)
Back to Top