- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 121 for inheritance (0.5 sec)
-
docs/en/docs/tutorial/sql-databases.md
And any model class that doesn't have `table=True` is a **data model**, these ones are actually just Pydantic models (with a couple of small extra features). 🤓 With SQLModel, we can use **inheritance** to **avoid duplicating** all the fields in all the cases. #### `HeroBase` - the base class { #herobase-the-base-class } Let's start with a `HeroBase` model that has all the **fields that are shared** by all the models:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 02 05:06:56 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
int result = response.readBytesWireFormat(buffer, bufferIndex); assertTrue(result >= 8); assertNotNull(response.getInfo()); } @Test @DisplayName("Test inheritance from ServerMessageBlock2Response") void testInheritance() { response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2); assertTrue(response instanceof ServerMessageBlock2Response);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
import org.apache.maven.model.building.ModelProblem.Severity; import org.apache.maven.model.building.ModelProblem.Version; import org.apache.maven.model.composition.DependencyManagementImporter; import org.apache.maven.model.inheritance.InheritanceAssembler; import org.apache.maven.model.interpolation.ModelInterpolator; import org.apache.maven.model.io.ModelParseException; import org.apache.maven.model.management.DependencyManagementInjector;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Mar 30 23:08:08 UTC 2025 - 55.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
assertEquals("0x0004", getResultMessageMethod.invoke(null, 4), "Should return hex format for code 4"); } } @Nested @DisplayName("Inheritance Tests") class InheritanceTests { @Test @DisplayName("DcerpcBind should extend DcerpcMessage") void testInheritance() { // Then
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java
String groupId = getChildText(root, GROUP_ID); String artifactId = getChildText(root, ARTIFACT_ID); String version = getChildText(root, VERSION); // Handle inheritance from parent Element parentElement = root.child(PARENT).orElse(null); if (parentElement != null) { if (groupId == null) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 37K bytes - Viewed (0) -
api/maven-api-model/src/main/mdo/maven.mdo
A unique identifier for a repository. This is used to match the repository to configuration in the {@code settings.xml} file, for example. Furthermore, the identifier is used during POM inheritance and profile injection to detect repositories that should be merged. </description> <type>String</type> </field> <field> <name>name</name>Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 26 03:07:35 UTC 2025 - 133.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java
import org.slf4j.LoggerFactory; /** * The concern of the project is provide runtime values based on the model. * <p> * The values in the model remain untouched but during the process of building a project notions like inheritance and * interpolation can be added. This allows to have an entity which is useful in a runtime while preserving the model so * that it can be marshalled and unmarshalled without being tainted by runtime requirements. * </p>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Aug 29 12:47:20 UTC 2025 - 67K bytes - Viewed (0) -
fastapi/routing.py
# that doesn't have the hashed_password. But because it's a subclass, it # would pass the validation and be returned as is. # By being a new field, no inheritance will be passed as is. A new model # will always be created. # TODO: remove when deprecating Pydantic v1 self.secure_cloned_response_field: Optional[ModelField] = (
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 174.6K bytes - Viewed (0) -
src/main/webapp/css/admin/bootstrap.min.css.map
inherit;\n}\n\nbutton,\ninput {\n overflow: visible; // Show the overflow in Edge\n}\n\nbutton,\nselect {\n text-transform: none; // Remove the inheritance of text transform in Firefox\n}\n\n// Set the cursor for non-`<button>` buttons\n//\n// Details at https://github.com/twbs/bootstrap/pull/30562\n[role=\"button\"] {\n cursor: pointer;\n}\n\n// Remove the inheritance of word-wrap in Safari.\n//\n// Details at https://github.com/twbs/bootstrap/issues/24990\nselect {\n word-wrap: normal;\n}\n\n\n// 1....Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 639.3K bytes - Viewed (1) -
src/main/webapp/css/bootstrap.min.css.map
0; // 1\n font-family: inherit;\n @include font-size(inherit);\n line-height: inherit;\n}\n\n// Remove the inheritance of text transform in Firefox\nbutton,\nselect {\n text-transform: none;\n}\n// Set the cursor for non-`<button>` buttons\n//\n// Details at https://github.com/twbs/bootstrap/pull/30562\n[role=\"button\"] {\n cursor: pointer;\n}\n\nselect {\n // Remove the inheritance of word-wrap in Safari.\n // See https://github.com/twbs/bootstrap/issues/24990\n word-wrap: normal;\n\n //...Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sun Jan 12 06:14:02 UTC 2025 - 575.5K bytes - Viewed (0)