Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for T_nested (0.24 sec)

  1. docs/ko/docs/tutorial/body-nested-models.md

    이를 아래처럼:
    
    ```Python hl_lines="15"
    {!../../../docs_src/body_nested_models/tutorial008.py!}
    ```
    
    ## 어디서나 편집기 지원
    
    그리고 어디서나 편집기 지원을 받을수 있습니다.
    
    리스트 내부 항목의 경우에도:
    
    <img src="/img/tutorial/body-nested-models/image01.png">
    
    Pydantic 모델 대신에 `dict`를 직접 사용하여 작업할 경우, 이러한 편집기 지원을 받을수 없습니다.
    
    하지만 수신한 딕셔너리가 자동으로 변환되고 출력도 자동으로 JSON으로 변환되므로 걱정할 필요는 없습니다.
    
    ## 단독 `dict`의 본문
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Jun 12 12:49:35 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. tests/preload_test.go

    	}
    
    	var find1 Value
    	err := DB.Joins("Nested").Joins("Nested.Join").Preload("Nested.Preloads").First(&find1, value1.ID).Error
    	if err != nil {
    		t.Errorf("failed to find value, got err: %v", err)
    	}
    	AssertEqual(t, find1, value1)
    
    	var find2 Value
    	// Joins will automatically add Nested queries.
    	err = DB.Joins("Nested.Join").Preload("Nested.Preloads").First(&find2, value2.ID).Error
    	if err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelModelQueryIntegrationTest.groovy

            withIsolatedProjects()
            def models = runBuildAction(new FetchCustomModelForSameProjectInParallel())
    
            then:
            // Ensure nested requests are all executed and not cached individually
            outputContains("Executing nested-1")
            outputContains("Executing nested-2")
    
            and:
            models.size == 2
            models[0].message == "It works from project :"
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r89/ToolingApiPolymorphismCrossVersionTest.groovy

                }
    
                class DefaultCompositeModel implements java.io.Serializable {
                    private final DefaultModel nested
                    DefaultCompositeModel(DefaultModel nested) { this.nested = nested }
                    BaseModel getNested() { nested }
                }
            """
        }
    
        def "supports model polymorphism"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 11:03:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskSerializationIntegrationTest.groovy

                    @Internal
                    Property<String> getUnused()
                }
    
                abstract class SomeTask extends DefaultTask {
                    @Nested
                    abstract Bean getBean()
    
                    @Nested
                    abstract Bean getUnusedBean()
    
                    @Internal
                    abstract Property<String> getValue()
    
                    @Internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. tests/joins_test.go

    	users := []User{
    		{
    			Name: "nested-joins-1",
    			Manager: &User{
    				Name: "nested-joins-manager-1",
    				Company: Company{
    					Name: "nested-joins-manager-company-1",
    				},
    				NamedPet: &Pet{
    					Name: "nested-joins-manager-namepet-1",
    					Toy: Toy{
    						Name: "nested-joins-manager-namepet-toy-1",
    					},
    				},
    			},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionFailuresIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl
    
    class ConfigurationCacheDependencyResolutionFailuresIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
    
        def 'nested dependency resolution failures are surfaced to the top'() {
            given:
            def emptyRepo = createDir('empty')
            buildFile '''
    
                configurations {
                    implementation
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGroovyClosureIntegrationTest.groovy

                it.assertHasCause("Cannot reference a Gradle script object from a Groovy closure as these are not supported with the configuration cache.")
            }
        }
    
        def "from-cache build fails when task action nested closure reads a project property"() {
            given:
            buildFile << """
                tasks.register("some") {
                    doFirst {
                        def cl = {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/problems/KnownProblemIds.groovy

            'validation:property-validation:missing-normalization-annotation' : 'Missing normalization',
            'validation:property-validation:nested-map-unsupported-key-type' : 'Unsupported nested map key',
            'validation:property-validation:nested-type-unsupported' : 'Nested type unsupported',
            'validation:property-validation:mutable-type-with-setter' : 'Mutable type with setter',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. scan.go

    							}
    						} else {
    							matchedFieldCount[column] = 1
    						}
    					} else if names := utils.SplitNestedRelationName(column); len(names) > 1 { // has nested relation
    						if rel, ok := sch.Relationships.Relations[names[0]]; ok {
    							subNameCount := len(names)
    							// nested relation fields
    							relFields := make([]*schema.Field, 0, subNameCount-1)
    							relFields = append(relFields, rel.Field)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top