- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 1,116 for Model2 (0.08 sec)
-
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`.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 1.7K bytes - Viewed (0) -
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; /**
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
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 sectionRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.1K bytes - Viewed (0) -
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;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 6.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java
*/ package org.apache.maven.model.building; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.util.Map; import org.apache.maven.model.Model; import org.apache.maven.model.io.ModelReader; import org.apache.maven.model.locator.ModelLocator;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 3.8K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ProblemDetectingValueSource.java
* under the License. */ package org.apache.maven.model.interpolation; import java.util.List; 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; import org.codehaus.plexus.interpolation.ValueSource;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 2.7K bytes - Viewed (0) -
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) -
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 nameRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 3.9K bytes - Viewed (0) -
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) -
api/maven-api-settings/src/site/apt/index.apt
----- Maven 4 API - Immutable Settings Model This is strictly the immutable model for Maven settings in <<<org.apache.maven.api.settings>>> package. The following are generated from this model: * {{{./apidocs/index.html}Java sources}} with <<<Builder>>> inner classes for immutable instances creation. See also corresponding {{{../../compat/maven-settings/index.html}Maven classical settings model documentation}}.
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Nov 16 18:16:44 UTC 2025 - 1.3K bytes - Viewed (0)