Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 157 for model_b (0.13 sec)

  1. docs/pt/docs/tutorial/sql-databases.md

    Vamos corrigir essas coisas adicionando alguns **modelos extras**. Aqui é onde o SQLModel vai brilhar. ✨
    
    ### Criar Múltiplos Modelos
    
    No **SQLModel**, qualquer classe de modelo que tenha `table=True` é um **modelo de tabela**.
    
    E qualquer classe de modelo que não tenha `table=True` é um **modelo de dados**, esses são na verdade apenas modelos Pydantic (com alguns recursos extras pequenos). 🤓
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. docs/pt/docs/advanced/dataclasses.md

    * serialização de dados
    * documentação de dados, etc.
    
    Isso funciona da mesma forma que com os modelos Pydantic. E na verdade é alcançado da mesma maneira por baixo dos panos, usando Pydantic.
    
    /// info | Informação
    
    Lembre-se de que dataclasses não podem fazer tudo o que os modelos Pydantic podem fazer.
    
    Então, você ainda pode precisar usar modelos Pydantic.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 17:33:53 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. fastapi/dependencies/models.py

    Sebastián Ramírez <******@****.***> 1725135570 +0200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 31 20:19:30 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. utils/tests/models.go

    	Active    bool
    }
    
    type Account struct {
    	gorm.Model
    	UserID sql.NullInt64
    	Number string
    }
    
    type Pet struct {
    	gorm.Model
    	UserID *uint
    	Name   string
    	Toy    Toy `gorm:"polymorphic:Owner;"`
    }
    
    type Toy struct {
    	gorm.Model
    	Name      string
    	OwnerID   string
    	OwnerType string
    }
    
    type Tools struct {
    	gorm.Model
    	Name     string
    	CustomID string
    	Type     string
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Dec 15 08:36:08 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. fastapi/openapi/models.py

    Paul <******@****.***> 1713480573 -0400
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.util.EnumSet;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.io.ModelParseException;
    
    /**
     * Collects problems that are encountered during model building. The primary purpose of this component is to account for
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

            public XmlReaderRequestBuilder strict(boolean strict) {
                this.strict = strict;
                return this;
            }
    
            public XmlReaderRequestBuilder modelId(String modelId) {
                this.modelId = modelId;
                return this;
            }
    
            public XmlReaderRequestBuilder location(String location) {
                this.location = location;
                return this;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jul 09 12:10:26 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ModelBuildingExceptionTest.java

            DefaultModelProblem pb2 =
                    new DefaultModelProblem("message2", ModelProblem.Severity.ERROR, null, "source", 0, 0, "modelId", null);
            String msg = ModelBuildingException.toMessage("modelId", Arrays.asList(pb1, pb2));
            assertEquals(
                    "2 problems were encountered while building the effective model for modelId" + System.lineSeparator()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. api/maven-api-cli/src/main/mdo/core-extensions.mdo

      specific language governing permissions and limitations
      under the License.
    
    -->
    
    <model xmlns="http://codehaus-plexus.github.io/MODELLO/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://codehaus-plexus.github.io/MODELLO/2.0.0 https://codehaus-plexus.github.io/modello/xsd/modello-2.0.0.xsd"
      xml.namespace="http://maven.apache.org/EXTENSIONS/${version}"
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/mdo/profiles.mdo

    specific language governing permissions and limitations
    under the License.
    -->
    
    <model xmlns="http://modello.codehaus.org/MODELLO/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://modello.codehaus.org/MODELLO/1.0.0 http://modello.codehaus.org/xsd/modello-1.0.0.xsd"
      xml.namespace="http://maven.apache.org/PROFILES/${version}"
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top