Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 2,279 for modkey (0.05 sec)

  1. schema/relationship_test.go

    	} else {
    		for _, rel := range relations {
    			checkSchemaRelation(t, s, rel)
    		}
    	}
    }
    
    func TestBelongsToOverrideForeignKey(t *testing.T) {
    	type Profile struct {
    		gorm.Model
    		Name string
    	}
    
    	type User struct {
    		gorm.Model
    		Profile      Profile `gorm:"ForeignKey:ProfileRefer"`
    		ProfileRefer int
    	}
    
    	checkStructRelation(t, &User{}, Relation{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. tests/test_response_model_sub_types.py

    from pydantic import BaseModel
    
    
    class Model(BaseModel):
        name: str
    
    
    app = FastAPI()
    
    
    @app.get("/valid1", responses={"500": {"model": int}})
    def valid1():
        pass
    
    
    @app.get("/valid2", responses={"500": {"model": List[int]}})
    def valid2():
        pass
    
    
    @app.get("/valid3", responses={"500": {"model": Model}})
    def valid3():
        pass
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  3. compat/maven-repository-metadata/pom.xml

                </goals>
                <configuration>
                  <version>1.1.0</version>
                  <models>
                    <model>../../api/maven-api-metadata/src/main/mdo/metadata.mdo</model>
                  </models>
                  <templates>
                    <template>model-v3.vm</template>
                  </templates>
                </configuration>
              </execution>
            </executions>
          </plugin>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. tests/associations_many2many_test.go

    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    	DB.Model(&user2).Association("Languages").Find(&user2.Languages)
    
    	CheckUser(t, user2, user)
    
    	// Count
    	AssertAssociationCount(t, user, "Languages", 2, "")
    
    	// Append
    	language := Language{Code: "language-many2many-append", Name: "language-many2many-append"}
    	DB.Create(&language)
    
    	if err := DB.Model(&user2).Association("Languages").Append(&language); err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  6. compat/maven-model/src/site/apt/index.apt

     Hervé Boutemy
     -----
     2011-06-12
     -----
    
    Maven Model
    
     This is strictly the model for Maven POM (Project Object Model) in <<<org.apache.maven.model>>> package,
     delegating content to {{{../api/maven-api-model/index.html}Maven 4 API immutable model}}. All the effective model
     building logic from multiple POMs and building context is done in {{{../maven-model-builder/}Maven Model Builder}}.
    
     The following are generated from this model:
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java

     * under the License.
     */
    package org.apache.maven.configuration;
    
    import java.util.Objects;
    
    import org.apache.maven.model.Build;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.model.PluginExecution;
    import org.apache.maven.model.PluginManagement;
    
    /**
     * A basic bean configuration request.
     *
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenWorkspaceReader.java

    import org.apache.maven.model.Model;
    import org.eclipse.aether.artifact.Artifact;
    import org.eclipse.aether.repository.WorkspaceReader;
    
    /**
     * MavenWorkspaceReader
     *
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Deprecated(since = "4.0.0")
    public interface MavenWorkspaceReader extends WorkspaceReader {
    
        Model findModel(Artifact artifact);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ProfileActivationFilePathInterpolator.java

     * under the License.
     */
    package org.apache.maven.model.path;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    import java.nio.file.Path;
    
    import org.apache.maven.api.model.ActivationFile;
    import org.apache.maven.model.profile.ProfileActivationContext;
    import org.apache.maven.model.root.RootLocator;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top