- Sort Score
- Num 10 results
- Language All
Results 441 - 450 of 1,140 for Model (0.02 seconds)
-
docs/zh-hant/docs/tutorial/sql-databases.md
</div> ## 建立只有單一模型的應用 { #create-the-app-with-a-single-model } 我們先用單一 SQLModel 模型建立這個應用的最簡版。 接著我們會在下方用多個模型來提升安全性與彈性。🤓 ### 建立模型 { #create-models } 匯入 `SQLModel` 並建立一個資料庫模型: {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[1:11] hl[7:11] *} `Hero` 類別與 Pydantic 模型非常相似(事實上,在底層它就是一個 Pydantic 模型)。 有幾點差異: * `table=True` 告訴 SQLModel 這是一個「資料表模型」(table model),它應該代表 SQL 資料庫中的一個資料表,而不僅僅是「資料模型」(就像一般的 Pydantic 類別)。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 14.8K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/inheritance/flat-urls-expected.xml
<artifactId>parent</artifactId> <version>11-SNAPSHOT</version> </parent> <groupId>inheritance</groupId> <artifactId>inheritance</artifactId> <version>11-SNAPSHOT</version> <name>Model urls inheritance test child</name> <description>Flat directory structure case: module = ../child-artifact-id + child directory path == child-artifact-id</description>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/inheritance/flat-urls-parent.xml
<modelVersion>4.0.0</modelVersion> <groupId>inheritance</groupId> <artifactId>parent</artifactId> <version>11-SNAPSHOT</version> <name>Model urls inheritance test parent</name> <description>Flat directory structure case: module = ../child-artifact-id + child directory path == child-artifact-id</description> <modules> <module>../inheritance</module>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.8K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/inheritance/urls-parent.xml
<modelVersion>4.0.0</modelVersion> <groupId>inheritance</groupId> <artifactId>parent</artifactId> <version>11-SNAPSHOT</version> <name>Model urls inheritance test parent</name> <description>Most classical case: child in direct subdirectory with directory name == child artifactId</description> <modules> <module>child-artifact-id</module> </modules>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.8K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/inheritance/tricky-flat-directory-urls-expected.xml
<artifactId>parent</artifactId> <version>11-SNAPSHOT</version> </parent> <groupId>inheritance</groupId> <artifactId>child-artifact-id</artifactId> <version>11-SNAPSHOT</version> <name>Model urls inheritance test child</name> <description>Flat directory structure case: module = ../child directory path + child directory path != child-artifact-id</description>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/inheritance/plugin-configuration-expected.xml
<modelVersion>4.0.0</modelVersion> <groupId>inheritance</groupId> <artifactId>child</artifactId> <version>12-SNAPSHOT</version> <!-- name is not inherited, but description is --> <description>Model inheritance description</description> <url>http://www.apache.org/child/</url><!-- child's artifactId appended to parent url --> <mailingLists> <mailingList> <name>parent</name>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java
import org.apache.maven.api.VersionConstraint; import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nullable; import org.apache.maven.api.model.DependencyManagement; import org.apache.maven.api.model.Model; import org.apache.maven.api.model.Profile; import org.apache.maven.impl.MappedCollection; import org.apache.maven.impl.MappedList; import org.apache.maven.project.MavenProject;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Mar 24 22:23:23 GMT 2025 - 8.7K bytes - Click Count (0) -
schema/field_test.go
"gorm.io/gorm/utils/tests" ) func TestFieldValuerAndSetter(t *testing.T) { var ( userSchema, _ = schema.Parse(&tests.User{}, &sync.Map{}, schema.NamingStrategy{}) user = tests.User{ Model: gorm.Model{ ID: 10, CreatedAt: time.Now(), UpdatedAt: time.Now(), DeletedAt: gorm.DeletedAt{Time: time.Now(), Valid: true}, }, Name: "valuer_and_setter", Age: 18,
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Feb 19 09:02:53 GMT 2022 - 12.7K bytes - Click Count (0) -
docs/en/docs/advanced/additional-status-codes.md
{* ../../docs_src/additional_status_codes/tutorial001_an_py310.py hl[4,25] *} /// warning When you return a `Response` directly, like in the example above, it will be returned directly. It won't be serialized with a model, etc. Make sure it has the data you want it to have, and that the values are valid JSON (if you are using `JSONResponse`). /// /// note | Technical DetailsCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2K bytes - Click Count (0) -
api/maven-api-plugin/src/test/java/org/apache/maven/api/plugin/descriptor/another/ExtendedPluginDescriptorTest.java
import org.apache.maven.api.plugin.descriptor.PluginDescriptor; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; /** * Verifies that subclasses from generated model classes are possible. */ class ExtendedPluginDescriptorTest { /** * A subclass of the generated class {@link PluginDescriptor} that adds an additional field. */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.7K bytes - Click Count (0)