Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 1,681 for modes (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_response_model_sub_types.py

    from pydantic import BaseModel
    
    
    class Model(BaseModel):
        name: str
    
    
    app = FastAPI()
    
    
    @app.get("/valid1", responses={"500": {"model": int}})
    def valid1():
        pass
    
    
    @app.get("/valid2", responses={"500": {"model": list[int]}})
    def valid2():
        pass
    
    
    @app.get("/valid3", responses={"500": {"model": Model}})
    def valid3():
        pass
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

    import org.apache.maven.model.PluginContainer;
    import org.apache.maven.model.ReportPlugin;
    import org.apache.maven.model.Reporting;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblemCollector;
    import org.apache.maven.model.merge.MavenModelMerger;
    import org.codehaus.plexus.util.StringUtils;
    
    /**
     * Handles inheritance of model values.
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/inheritance/ModelInheritanceAssembler.java

    import org.apache.maven.model.Build;
    import org.apache.maven.model.Model;
    
    /**
     */
    @Deprecated
    public interface ModelInheritanceAssembler {
        String ROLE = ModelInheritanceAssembler.class.getName();
    
        void assembleModelInheritance(Model child, Model parent, String childPathAdjustment);
    
        void assembleModelInheritance(Model child, Model parent);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  4. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

        }
    
        /**
         * Converts this compat model InputSource to an API model InputSource.
         * This method is used for converting between the compat model and the API model.
         *
         * @return the equivalent API model InputSource
         */
        public org.apache.maven.api.model.InputSource toApiSource() {
            return org.apache.maven.api.model.InputSource.of(modelId, location);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. .teamcity/src/main/kotlin/configurations/LightweightChecks.kt

    import common.Os
    import common.applyDefaultSettings
    import common.javaHome
    import jetbrains.buildServer.configs.kotlin.BuildStep
    import jetbrains.buildServer.configs.kotlin.buildSteps.script
    import model.CIBuildModel
    import model.Stage
    
    private val remoteProjectRefs =
        listOf(
            "androidSmokeTestProjectRef",
            "buildBuilderProjectRef",
            "nowInAndroidBuildProjectRef",
            "largeAndroidBuildProjectRef",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 23 03:29:32 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  6. schema/relationship_test.go

    	} else {
    		for _, rel := range relations {
    			checkSchemaRelation(t, s, rel)
    		}
    	}
    }
    
    func TestBelongsToOverrideForeignKey(t *testing.T) {
    	type Profile struct {
    		gorm.Model
    		Name string
    	}
    
    	type User struct {
    		gorm.Model
    		Profile      Profile `gorm:"ForeignKey:ProfileRefer"`
    		ProfileRefer int
    	}
    
    	checkStructRelation(t, &User{}, Relation{
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Aug 18 11:44:52 GMT 2025
    - 26.5K bytes
    - Click Count (0)
  7. .teamcity/src/main/kotlin/configurations/BuildDistributions.kt

    import common.buildScanTagParam
    import common.getBuildScanCustomValueParam
    import common.setArtifactRules
    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"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Jan 07 10:42:35 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  8. .teamcity/src/test/kotlin/BuildScanTagUtilsTest.kt

    import common.VersionedSettingsBranch
    import common.asBuildScanCustomValue
    import common.getBuildScanCustomValueParam
    import jetbrains.buildServer.configs.kotlin.DslContext
    import model.CIBuildModel
    import model.JsonBasedGradleSubprojectProvider
    import model.TestCoverage
    import model.TestType
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    import java.io.File
    
    class BuildScanTagUtilsTest {
        init {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Aug 05 16:58:51 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

    import org.apache.maven.model.InputLocation;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblem.Severity;
    import org.apache.maven.model.building.ModelProblem.Version;
    import org.apache.maven.model.building.ModelProblemCollector;
    import org.apache.maven.model.building.ModelProblemCollectorRequest;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  10. .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"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Dec 22 07:15:16 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top