Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 563 for models (0.27 sec)

  1. tests/test_openapi_model_description_trim_on_formfeed.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class MyModel(BaseModel):
        """
        A model with a form feed character in the title.
        \f
        Text after form feed character.
        """
    
    
    @app.get("/foo")
    def foo(v: MyModel):  # pragma: no cover
        pass
    
    
    client = TestClient(app)
    
    
    def test_openapi():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Jun 17 07:46:27 UTC 2025
    - 660 bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy

    import gradlebuild.docs.XmlSpecification
    import gradlebuild.docs.dsl.source.TypeNameResolver
    import gradlebuild.docs.dsl.source.model.ClassMetaData
    import gradlebuild.docs.dsl.source.model.EnumConstantMetaData
    import gradlebuild.docs.dsl.source.model.MethodMetaData
    import gradlebuild.docs.model.ClassMetaDataRepository
    
    class JavadocLinkConverterTest extends XmlSpecification {
        final LinkRenderer linkRenderer = Mock()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.7K bytes
    - Viewed (0)
  3. tests/serializer_test.go

    import (
    	"bytes"
    	"context"
    	"fmt"
    	"reflect"
    	"strings"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/schema"
    	. "gorm.io/gorm/utils/tests"
    )
    
    type SerializerStruct struct {
    	gorm.Model
    	Name                   []byte                 `gorm:"json"`
    	Roles                  Roles                  `gorm:"serializer:json"`
    	Roles2                 *Roles                 `gorm:"serializer:json"`
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sat Nov 22 03:14:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. callbacks/update.go

    	"gorm.io/gorm/utils"
    )
    
    func SetupUpdateReflectValue(db *gorm.DB) {
    	if db.Error == nil && db.Statement.Schema != nil {
    		if !db.Statement.ReflectValue.CanAddr() || db.Statement.Model != db.Statement.Dest {
    			db.Statement.ReflectValue = reflect.ValueOf(db.Statement.Model)
    			for db.Statement.ReflectValue.Kind() == reflect.Ptr {
    				db.Statement.ReflectValue = db.Statement.ReflectValue.Elem()
    			}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. tests/submodel_test.go

    	if err := DB.Create(&man).Error; err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    
    	if err := DB.Model(&man).Where("id = ?", man.ID).Updates(struct {
    		Age int
    	}{Age: 20}).Error; err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    
    	var result = struct {
    		ID  int
    		Age int
    	}{}
    	if err := DB.Model(&man).Where("id = ?", man.ID).Find(&result).Error; err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Sep 08 09:19:22 UTC 2025
    - 947 bytes
    - Viewed (0)
  7. docs/pt/docs/alternatives.md

    Ele não consegue lidar muito bem com modelos aninhados. Então, se o corpo JSON na requisição for um objeto JSON que contém campos internos que por sua vez são objetos JSON aninhados, ele não consegue ser documentado e validado apropriadamente.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

    import org.apache.maven.lifecycle.mapping.LifecycleMojo;
    import org.apache.maven.lifecycle.mapping.LifecyclePhase;
    import org.apache.maven.model.InputLocation;
    import org.apache.maven.model.InputSource;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.model.PluginExecution;
    import org.codehaus.plexus.util.xml.Xpp3Dom;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemCollectorExt.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.util.List;
    
    /**
     * Extends the ModelProblemCollector by the capacity of returning the collected problems.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/resources/pom.xml

    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
    
    <model xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
      <modelVersion>4.0.0</modelVersion>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top