Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,334 for model (1.26 sec)

  1. tests/test_request_params/test_form/test_list.py

    
    class FormModelRequiredListStr(BaseModel):
        p: list[str]
    
    
    @app.post("/model-required-list-str", operation_id="model_required_list_str")
    def read_model_required_list_str(p: Annotated[FormModelRequiredListStr, Form()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/required-list-str", "/model-required-list-str"],
    )
    def test_required_list_str_schema(path: str):
        openapi = app.openapi()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:31:34 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. docs/de/docs/how-to/separate-openapi-schemas.md

    ### Modell für Eingabe { #model-for-input }
    
    Wenn Sie dieses Modell wie hier als Eingabe verwenden:
    
    {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:15] hl[14] *}
    
    ... dann ist das Feld `description` **nicht erforderlich**. Weil es den Defaultwert `None` hat.
    
    ### Eingabemodell in der Dokumentation { #input-model-in-docs }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

        }
        buildType.addEc2PostBuild(os)
    
        applyDefaultDependencies(model, buildType)
    }
    
    fun applyDefaultDependencies(
        model: CIBuildModel,
        buildType: BuildType,
    ) {
        if (buildType !is CompileAll) {
            buildType.dependencies {
                compileAllDependency(CompileAll.buildTypeId(model))
            }
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Nov 20 07:29:52 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/configurations/CompileAll.kt

    import common.Os
    import common.buildScanTagParam
    import common.getBuildScanCustomValueParam
    import common.setArtifactRules
    import model.CIBuildModel
    import model.Stage
    
    class CompileAll(
        model: CIBuildModel,
        stage: Stage,
    ) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = {
            id(buildTypeId(model))
            name = "Compile All"
            description = "Compiles all production/test source code and warms up the build cache"
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Dec 22 07:15:16 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

            Files.delete(tempFile);
            try (InputStream expected = Files.newInputStream(beforePomFile)) {
                Model model = new Model(new MavenStaxReader().read(expected));
                MavenProject project = new MavenProject(model);
                project.setOriginalModel(model);
                ConsumerPomArtifactTransformer t = new ConsumerPomArtifactTransformer((s, p, f) -> {
                    try (InputStream is = f.openStream()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java

     * under the License.
     */
    package org.apache.maven.configuration;
    
    import java.util.Objects;
    
    import org.apache.maven.model.Build;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.model.PluginExecution;
    import org.apache.maven.model.PluginManagement;
    
    /**
     * A basic bean configuration request.
     *
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelCacheTag.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.building;
    
    import org.apache.maven.model.DependencyManagement;
    import org.apache.maven.model.Model;
    
    /**
     * Describes a tag used by the model builder to access a {@link ModelCache}. This interface basically aggregates a name
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java

    import javax.inject.Singleton;
    
    import org.apache.maven.model.Build;
    import org.apache.maven.model.Model;
    
    /**
     * DefaultModelInheritanceAssembler
     */
    @Named
    @Singleton
    @Deprecated
    public class DefaultModelInheritanceAssembler implements ModelInheritanceAssembler {
        @Override
        public void assembleModelInheritance(Model child, Model parent, String childPathAdjustment) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. tests/test_request_params/test_body/test_list.py

    
    class BodyModelRequiredListStr(BaseModel):
        p: list[str]
    
    
    @app.post("/model-required-list-str", operation_id="model_required_list_str")
    def read_model_required_list_str(p: BodyModelRequiredListStr):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/required-list-str", "/model-required-list-str"],
    )
    def test_required_list_str_schema(path: str):
        openapi = app.openapi()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:31:34 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. 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
    }
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top