Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 821 - 830 of 1,012 for modelA (0.04 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt

    import okio.buffer
    import okio.source
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ArgumentsSource
    
    /** Runs the web platform URL tests against Java URL models.  */
    class WebPlatformUrlTest {
      class TestDataParamProvider : SimpleProvider() {
        override fun arguments() = ArrayList<Any>(loadTests())
      }
    
      /** Test how [HttpUrl] does against the web platform test suite.  */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

    import org.apache.maven.api.MonotonicClock;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.eventspy.internal.EventSpyDispatcher;
    import org.apache.maven.model.Profile;
    import org.apache.maven.model.root.RootLocator;
    import org.apache.maven.project.DefaultProjectBuildingRequest;
    import org.apache.maven.project.ProjectBuildingRequest;
    import org.apache.maven.properties.internal.SystemProperties;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 32.1K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.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.Collection;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.LinkedHashMap;
    import java.util.LinkedList;
    import java.util.List;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. tests/named_argument_test.go

    package tests_test
    
    import (
    	"database/sql"
    	"errors"
    	"testing"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestNamedArg(t *testing.T) {
    	type NamedUser struct {
    		gorm.Model
    		Name1 string
    		Name2 string
    		Name3 string
    	}
    
    	DB.Migrator().DropTable(&NamedUser{})
    	DB.AutoMigrate(&NamedUser{})
    
    	namedUser := NamedUser{Name1: "jinzhu1", Name2: "jinzhu2", Name3: "jinzhu3"}
    	DB.Create(&namedUser)
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Dec 21 11:50:00 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  5. docs/es/docs/advanced/settings.md

    Importa `BaseSettings` de Pydantic y crea una sub-clase, muy similar a un modelo de Pydantic.
    
    De la misma forma que con los modelos de Pydantic, declaras atributos de clase con anotaciones de tipos, y posiblemente, valores por defecto.
    
    Puedes usar todas las mismas funcionalidades de validación y herramientas que usas para los modelos de Pydantic, como diferentes tipos de datos y validaciones adicionales con `Field()`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  6. docs/pt/docs/advanced/generate-clients.md

    Você pode ver esses schemas porque eles foram declarados com os modelos no app.
    
    Essas informações estão disponíveis no **schema OpenAPI** do app e são mostradas na documentação da API.
    
    E essas mesmas informações dos modelos que estão incluídas no OpenAPI são o que pode ser usado para **gerar o código do cliente**.
    
    ### Hey API { #hey-api }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  7. docs/es/docs/features.md

    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declara una variable como un str
    # y obtiene soporte del editor dentro de la función
    def main(user_id: str):
        return user_id
    
    
    # Un modelo de Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Que luego puede ser usado como:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *
         * @return the settings instance
         */
        @Nonnull
        Settings getSettings();
    
        /**
         * Retrieves toolchain models that have been explicitly configured.
         *
         * @return the toolchain models
         */
        @Nonnull
        Collection<ToolchainModel> getToolchains();
    
        /**
         * Retrieves the local repository associated with this session.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  9. docs/tr/docs/advanced/dataclasses.md

    Ancak elinizde zaten bir sürü dataclass varsa, bunları FastAPI ile bir web API'yi beslemek için kullanmak güzel bir numaradır. 🤓
    
    ///
    
    ## `response_model` İçinde Dataclass'lar { #dataclasses-in-response-model }
    
    `response_model` parametresinde `dataclasses` da kullanabilirsiniz:
    
    {* ../../docs_src/dataclasses_/tutorial002_py310.py hl[1,6:12,18] *}
    
    Dataclass otomatik olarak bir Pydantic dataclass'ına dönüştürülür.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  10. tests/gorm_test.go

    		// these dialects do not support the "returning" clause
    		return
    	default:
    		// This user struct will leverage the existing users table, but override
    		// the Name field to default to null.
    		type user struct {
    			gorm.Model
    			Name string `gorm:"default:null"`
    		}
    		u1 := user{}
    
    		if results := DB.Create(&u1); results.Error != nil {
    			t.Fatalf("errors happened on create: %v", results.Error)
    		} else if results.RowsAffected != 1 {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Jun 01 07:22:21 GMT 2023
    - 3.3K bytes
    - Click Count (0)
Back to Top