Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 889 for Model (0.12 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.io.File;
    import java.nio.file.Path;
    import java.util.ArrayList;
    import java.util.Date;
    import java.util.List;
    import java.util.Properties;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.Profile;
    import org.apache.maven.model.resolution.ModelResolver;
    import org.apache.maven.model.resolution.WorkspaceModelResolver;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/body-updates.md

    * Retrieve the stored data.
    * Put that data in a Pydantic model.
    * Generate a `dict` without default values from the input model (using `exclude_unset`).
        * This way you can update only the values actually set by the user, instead of overriding values already stored with default values in your model.
    * Create a copy of the stored model, updating its attributes with the received partial updates (using the `update` parameter).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. docs_src/sql_databases_peewee/sql_app/models.py

    import peewee
    
    from .database import db
    
    
    class User(peewee.Model):
        email = peewee.CharField(unique=True, index=True)
        hashed_password = peewee.CharField()
        is_active = peewee.BooleanField(default=True)
    
        class Meta:
            database = db
    
    
    class Item(peewee.Model):
        title = peewee.CharField(index=True)
        description = peewee.CharField(index=True)
        owner = peewee.ForeignKeyField(User, backref="items")
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 465 bytes
    - Viewed (0)
  4. tests/named_polymorphic_test.go

    	}
    
    	if DB.Model(&hamster2).Association("OtherToy").Count() != 1 {
    		t.Errorf("Hamster's toys count should be 1 after Append")
    	}
    
    	// Replace
    	DB.Model(&hamster).Association("PreferredToy").Replace(&Toy{
    		Name: "bike 3",
    	})
    
    	DB.Model(&hamster).Association("OtherToy").Replace(&Toy{
    		Name: "treadmill 3",
    	})
    
    	hamsterToy = Toy{}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jul 08 09:59:40 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelReader.java

     * under the License.
     */
    package org.apache.maven.model.io;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    import java.nio.file.Path;
    import java.util.Map;
    
    import org.apache.maven.model.Model;
    
    /**
     * Handles deserialization of a model from some kind of textual format like XML.
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/v4/MavenModelVersionTest.java

     * under the License.
     */
    package org.apache.maven.model.v4;
    
    import java.io.InputStream;
    import java.util.Collections;
    
    import org.apache.maven.api.model.Build;
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.model.Plugin;
    import org.apache.maven.api.model.PluginExecution;
    import org.junit.jupiter.api.BeforeAll;
    import org.junit.jupiter.api.Test;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. SECURITY.md

    ### Resource allocation
    
    A denial of service caused by one model could bring down the entire server, but
    we don't consider this as a vulnerability, given that models can exhaust
    resources in many different ways and solutions exist to prevent this from
    happening (e.g., rate limits, ACLs, monitors to restart broken servers).
    
    ### Model sharing
    
    If the multitenant design allows sharing models, make sure that tenants and
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 16 16:10:43 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. api/maven-api-metadata/pom.xml

                  <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir>
                  <version>1.2.0</version>
                  <models>
                    <model>src/main/mdo/metadata.mdo</model>
                  </models>
                  <templates>
                    <template>model.vm</template>
                  </templates>
                  <params>
                    <param>packageModelV4=org.apache.maven.api.metadata</param>
                  </params>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Oct 19 18:11:20 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12/ProjectInheritanceTest.java

        // ----------------------------------------------------------------------
        //
        // p1 inherits from p0
        // p0 inherits from super model
        //
        // or we can show it graphically as:
        //
        // p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testFalsePluginExecutionInheritValue() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/PropertyDoc.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.docs.dsl.docbook.model
    
    import gradlebuild.docs.dsl.source.model.PropertyMetaData
    import org.w3c.dom.Element
    import gradlebuild.docs.dsl.source.model.ClassMetaData
    
    class PropertyDoc implements DslElementDoc {
        private final String id
        private final String name
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.1K bytes
    - Viewed (0)
Back to top