Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 893 for modAlt (0.08 sec)

  1. 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)
  2. 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)
  3. docs/zh/docs/deployment/server-workers.md

       <span style="background-color:#007166"><font color="#D3D7CF"> module </font></span>  🐍 main.py
    
         <span style="background-color:#007166"><font color="#D3D7CF"> code </font></span>  Importing the FastAPI app object from the module with the
                 following code:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Mar 31 08:13:15 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/path/PathTranslator.java

    import java.io.File;
    
    import org.apache.maven.model.Model;
    
    /**
     */
    @Deprecated
    public interface PathTranslator {
        String ROLE = PathTranslator.class.getName();
    
        void alignToBaseDirectory(Model model, File basedir);
    
        String alignToBaseDirectory(String path, File basedir);
    
        void unalignFromBaseDirectory(Model model, File basedir);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java

    import org.apache.maven.lifecycle.internal.builder.BuilderCommon;
    import org.apache.maven.plugin.MojoExecution;
    import org.apache.maven.project.MavenProject;
    
    /**
     * <p>
     * Builds one or more lifecycles for a full module
     * </p>
     * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice.
     *
     * @since 3.0
     */
    @Named
    @Singleton
    public class LifecycleModuleBuilder {
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/ConnectedResource.java

    import java.util.List;
    
    import org.apache.maven.api.ProjectScope;
    import org.apache.maven.api.SourceRoot;
    import org.apache.maven.impl.DefaultSourceRoot;
    import org.apache.maven.model.Resource;
    
    /**
     * A Resource wrapper that maintains a connection to the underlying project model.
     * When includes/excludes are modified, the changes are propagated back to the project's SourceRoots.
     */
    @SuppressWarnings("deprecation")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. 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");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:46:51 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/response-directly.md

    # Return a Response Directly { #return-a-response-directly }
    
    When you create a **FastAPI** *path operation* you can normally return any data from it: a `dict`, a `list`, a Pydantic model, a database model, etc.
    
    By default, **FastAPI** would automatically convert that return value to JSON using the `jsonable_encoder` explained in [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

    /**
     * Unit tests for the {@link ModelVersionUtils} utility class.
     * Tests model version detection, validation, upgrade logic, and namespace operations.
     */
    @DisplayName("ModelVersionUtils")
    class ModelVersionUtilsTest {
    
        @Nested
        @DisplayName("Model Version Detection")
        class ModelVersionDetectionTests {
    
            @Test
            @DisplayName("should detect model version from document")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/searchlog/admin_searchlog_details.jsp

                                            <div class="modal fade" id="confirmToDelete"
                                                 tabindex="-1" role="dialog">
                                                <div class="modal-dialog">
                                                    <div class="modal-content bg-danger">
                                                        <div class="modal-header">
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top