Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 1,106 for Model2 (0.04 seconds)

  1. tests/table_test.go

    		}
    	}
    
    	r = dryDB.Table("(?) as u", DB.Model(&User{}).Select("name")).Find(&User{}).Statement
    	if !regexp.MustCompile("SELECT \\* FROM \\(SELECT .name. FROM .users. WHERE .users.\\..deleted_at. IS NULL\\) as u WHERE .u.\\..deleted_at. IS NULL").MatchString(r.Statement.SQL.String()) {
    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java

    import org.apache.maven.api.model.InputLocation;
    import org.apache.maven.api.model.Model;
    
    /**
     * Collects problems that are encountered during model building. The primary purpose of this component is to account for
     * the fact that the problem reporter has/should not have information about the calling context and hence cannot provide
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Dec 19 14:50:21 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  3. tests/test_request_params/test_form/test_optional_list.py

    class FormModelOptionalListStr(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: Annotated[FormModelOptionalListStr, Form()]):
        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()
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/projects/CheckProject.kt

    import jetbrains.buildServer.configs.kotlin.ParameterDisplay
    import jetbrains.buildServer.configs.kotlin.Project
    import model.CIBuildModel
    import model.FunctionalTestBucketProvider
    import model.Stage
    import model.StageName
    import model.StatisticsBasedPerformanceTestBucketProvider
    import java.io.File
    
    class CheckProject(
        model: CIBuildModel,
        functionalTestBucketProvider: FunctionalTestBucketProvider,
    ) : Project({
            id("Check")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 3.9K bytes
    - Click Count (1)
  5. docs/en/docs/tutorial/encoder.md

    The same way, this database wouldn't receive a Pydantic model (an object with attributes), only a `dict`.
    
    You can use `jsonable_encoder` for that.
    
    It receives an object, like a Pydantic model, and returns a JSON compatible version:
    
    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    In this example, it would convert the Pydantic model to a `dict`, and the `datetime` to a `str`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManager.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.classrealm;
    
    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.Plugin;
    import org.codehaus.plexus.classworlds.realm.ClassRealm;
    import org.eclipse.aether.artifact.Artifact;
    
    /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java

        @Override
        public ToolchainPrivate createToolchain(ToolchainModel model) throws MisconfiguredToolchainException {
            if (model == null) {
                return null;
            }
    
            // use DefaultJavaToolChain for compatibility with maven 3.2.3 and earlier
    
            @SuppressWarnings("deprecation")
            JavaToolchainImpl jtc = new DefaultJavaToolChain(model, logger);
    
            // populate the provides section
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

    import java.util.List;
    import java.util.Map;
    import java.util.Properties;
    
    import org.apache.maven.model.Activation;
    import org.apache.maven.model.Profile;
    import org.apache.maven.model.building.ModelProblem;
    import org.apache.maven.model.profile.DefaultProfileActivationContext;
    import org.apache.maven.model.profile.ProfileSelector;
    import org.apache.maven.profiles.activation.ProfileActivationException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Help.java

            context.indent();
            context.info("-m, --model-version <version> Target POM model version (4.0.0 or 4.1.0)");
            context.info("-d, --directory <path> Directory to use as starting point for POM discovery");
            context.info("-i, --infer           Remove redundant information that can be inferred by Maven");
            context.info("    --model           Fix Maven 4 compatibility issues in POM files");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:46:51 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/ReportingConverter.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.plugin;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblemCollector;
    
    /**
     * Handles conversion of the <code>&lt;reporting&gt;</code> section into the configuration of Maven Site Plugin 3.x,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
Back to Top