Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 889 for Model (0.05 sec)

  1. tests/test_duplicate_models_openapi.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Model(BaseModel):
        pass
    
    
    class Model2(BaseModel):
        a: Model
    
    
    class Model3(BaseModel):
        c: Model
        d: Model2
    
    
    @app.get("/", response_model=Model3)
    def f():
        return {"c": {}, "d": {"a": {}}}
    
    
    client = TestClient(app)
    
    
    def test_get_api_route():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSourceTransformer.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.nio.file.Path;
    
    import org.apache.maven.model.Model;
    
    /**
     * The ModelSourceTransformer is a way to transform the local pom while streaming the input.
     *
     * The {@link #transform(Path, TransformerContext, Model)} method uses a Path on purpose, to ensure the
     * local pom is the original source.
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. api/maven-api-plugin/pom.xml

                  <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir>
                  <version>2.0.0</version>
                  <models>
                    <model>src/main/mdo/plugin.mdo</model>
                  </models>
                  <templates>
                    <template>model.vm</template>
                  </templates>
                  <params>
                    <param>packageModelV4=org.apache.maven.api.plugin.descriptor</param>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Oct 19 18:11:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/configurations/BuildDistributions.kt

    import common.getBuildScanCustomValueParam
    import model.CIBuildModel
    import model.Stage
    
    class BuildDistributions(model: CIBuildModel, stage: Stage) : OsAwareBaseGradleBuildType(os = LINUX, stage = stage, init = {
        id("${model.projectId}_BuildDistributions")
        name = "Build Distributions"
        description = "Creation and verification of the distribution and documentation"
    
        applyDefaults(
            model,
            this,
            "packageBuild",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

        }
    
        static Model transform(Model model, MavenProject project) {
            String packaging = model.getPackaging();
            if (POM_PACKAGING.equals(packaging)) {
                // raw to consumer transform
                model = model.withRoot(false).withModules(null).withSubprojects(null);
                if (model.getParent() != null) {
                    model = model.withParent(model.getParent().withRelativePath(null));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java

     * under the License.
     */
    package org.apache.maven.model.profile.activation;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.apache.maven.model.Activation;
    import org.apache.maven.model.ActivationProperty;
    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
    - 3.6K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.model.ModelBase;
    import org.apache.maven.api.model.Plugin;
    import org.apache.maven.api.model.PluginContainer;
    import org.apache.maven.api.model.PluginExecution;
    import org.apache.maven.api.model.Profile;
    import org.apache.maven.api.model.ReportPlugin;
    import org.apache.maven.api.model.ReportSet;
    import org.apache.maven.api.model.Reporting;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/projects/StageProject.kt

    import jetbrains.buildServer.configs.kotlin.RelativeId
    import model.CIBuildModel
    import model.FlameGraphGeneration
    import model.FunctionalTestBucketProvider
    import model.GRADLE_BUILD_SMOKE_TEST_NAME
    import model.PerformanceTestBucketProvider
    import model.PerformanceTestCoverage
    import model.SpecificBuild
    import model.Stage
    import model.StageName
    import model.TestCoverage
    import model.TestType
    
    class StageProject(
        model: CIBuildModel,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Oct 07 09:17:14 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/ModelNormalizer.java

         */
        void injectDefaultValues(Model model, ModelBuildingRequest request, ModelProblemCollector problems);
    
        org.apache.maven.api.model.Model mergeDuplicates(
                org.apache.maven.api.model.Model model, ModelBuildingRequest request, ModelProblemCollector problems);
    
        org.apache.maven.api.model.Model injectDefaultValues(
                org.apache.maven.api.model.Model model, ModelBuildingRequest request, ModelProblemCollector problems);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

    import java.util.concurrent.CopyOnWriteArraySet;
    
    import org.apache.maven.api.feature.Features;
    import org.apache.maven.api.model.Model;
    import org.apache.maven.internal.transformation.ConsumerPomArtifactTransformer;
    import org.apache.maven.model.building.ModelBuildingException;
    import org.apache.maven.model.v4.MavenStaxWriter;
    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.artifact.ProjectArtifact;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top