Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 544 for model1 (0.07 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/inheritance/ModelInheritanceAssembler.java

    import org.apache.maven.model.Build;
    import org.apache.maven.model.Model;
    
    /**
     */
    @Deprecated
    public interface ModelInheritanceAssembler {
        String ROLE = ModelInheritanceAssembler.class.getName();
    
        void assembleModelInheritance(Model child, Model parent, String childPathAdjustment);
    
        void assembleModelInheritance(Model child, Model parent);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java

    import javax.inject.Singleton;
    
    import org.apache.maven.model.Build;
    import org.apache.maven.model.Model;
    
    /**
     * DefaultModelInheritanceAssembler
     */
    @Named
    @Singleton
    @Deprecated
    public class DefaultModelInheritanceAssembler implements ModelInheritanceAssembler {
        @Override
        public void assembleModelInheritance(Model child, Model parent, String childPathAdjustment) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. chainable_api.go

    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/utils"
    )
    
    // Model specify the model you would like to run db operations
    //
    //	// update all users's name to `hello`
    //	db.Model(&User{}).Update("name", "hello")
    //	// if user's primary key is non-blank, will use it as condition, then will only update that user's name to `hello`
    //	db.Model(&user).Update("name", "hello")
    func (db *DB) Model(value interface{}) (tx *DB) {
    	tx = db.getInstance()
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  4. tests/main_test.go

    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	if DB.Model(&User{}).Where("sdsd.zaaa = ?", "sd;;;aa").Pluck("aaa", &columns).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	if DB.Where("sdsd.zaaa = ?", "sd;;;aa").Find(&User{}).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	var count1, count2 int64
    	DB.Model(&User{}).Count(&count1)
    	if count1 <= 0 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  5. 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 section
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/schema-extra-example.md

    ///
    
    ### `examples` de Pydantic y FastAPI
    
    Cuando añades `examples` dentro de un modelo de Pydantic, usando `schema_extra` o `Field(examples=["algo"])`, ese ejemplo se añade al **JSON Schema** para ese modelo de Pydantic.
    
    Y ese **JSON Schema** del modelo de Pydantic se incluye en el **OpenAPI** de tu API, y luego se usa en la interfaz de documentación.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. docs/es/docs/advanced/response-directly.md

    # Devolver una Response Directamente
    
    Cuando creas una *path operation* en **FastAPI**, normalmente puedes devolver cualquier dato desde ella: un `dict`, una `list`, un modelo de Pydantic, un modelo de base de datos, etc.
    
    Por defecto, **FastAPI** convertiría automáticamente ese valor de retorno a JSON usando el `jsonable_encoder` explicado en [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. 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 {{{../../maven-settings/index.html}Maven classical settings model documentation}}.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Dec 31 16:32:07 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  9. docs/uk/docs/tutorial/encoder.md

    Тим самим способом ця база даних не прийматиме об'єкт типу Pydantic model (об'єкт з атрибутами), а лише `dict`.
    
    Ви можете використовувати `jsonable_encoder` для цього.
    
    Вона приймає об'єкт, такий як Pydantic model, і повертає його версію, сумісну з JSON:
    
    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    У цьому прикладі вона конвертує Pydantic model у `dict`, а `datetime` у `str`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/handling-errors.md

    ///
    
    `RequestValidationError` is a sub-class of Pydantic's <a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a>.
    
    **FastAPI** uses it so that, if you use a Pydantic model in `response_model`, and your data has an error, you will see the error in your log.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top