Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 43 for beforeSend (0.15 sec)

  1. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            then:
            1 * host.beforeRead(null) >> "<reason>"
    
            and:
            def e = thrown(IllegalStateException)
            e.message == "Cannot query the value of this property because <reason>."
    
            when:
            property.attachOwner(owner(), displayName("<display-name>"))
            property.get()
    
            then:
            1 * host.beforeRead(null) >> "<reason>"
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueState.java

            }
    
            @Override
            public boolean shouldFinalize(Describable displayName, @Nullable ModelObject producer) {
                if (disallowUnsafeRead) {
                    String reason = host.beforeRead(producer);
                    if (reason != null) {
                        throw new IllegalStateException(cannotFinalizeValueOf(displayName, reason));
                    }
                }
                return true;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/MappingProvider.java

                throw new IllegalStateException("The transformer in MappingProvider must always return a value");
            }
            return transformedValue;
        }
    
        @Override
        protected void beforeRead(EvaluationContext.ScopeContext context) {}
    
        @Override
        protected String toStringNoReentrance() {
            return "map(" + (type == null ? "" : type.getName() + " ") + provider + " " + transformer + ")";
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/ClasspathElementTransformForAgent.java

        @Override
        protected void processClassFile(ClasspathBuilder.EntryBuilder builder, ClasspathEntryVisitor.Entry classEntry) throws IOException {
            // We can filter out "unsupported" classes without checking the manifest beforehand.
            // Even if this JAR isn't multi-release per manifest, classes in META-INF/ cannot be loaded, so they are just weird resources.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 20:14:01 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/phases/join/preflight.go

    		fmt.Println("[preflight] This might take a minute or two, depending on the speed of your internet connection")
    		fmt.Println("[preflight] You can also perform this action beforehand using 'kubeadm config images pull'")
    		if err := preflight.RunPullImagesCheck(utilsexec.New(), initCfg, j.IgnorePreflightErrors()); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body-nested-models.md

    ## Bodies of arbitrary `dict`s
    
    You can also declare a body as a `dict` with keys of some type and values of some other type.
    
    This way, you don't have to know beforehand what the valid field/attribute names are (as would be the case with Pydantic models).
    
    This would be useful if you want to receive keys that you don't already know.
    
    ---
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/extra-models.md

    This is useful if you don't know the valid field/attribute names (that would be needed for a Pydantic model) beforehand.
    
    In this case, you can use `typing.Dict` (or just `dict` in Python 3.9 and above):
    
    === "Python 3.9+"
    
        ```Python hl_lines="6"
        {!> ../../../docs_src/extra_models/tutorial005_py39.py!}
        ```
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/podcgroupns.go

    // nolint: lll
    var cgroupREs = []*regexp.Regexp{
    	// the regex used to parse out the pod UID and container ID from a
    	// cgroup name. It assumes that any ".scope" suffix has been trimmed off
    	// beforehand.  CAUTION: we used to verify that the pod and container id were
    	// descendants of a kubepods directory, however, as of Kubernetes 1.21, cgroups
    	// namespaces are in use and therefore we can no longer discern if that is the
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/upgrade/apply.go

    		fmt.Println("[upgrade/prepull] This might take a minute or two, depending on the speed of your internet connection")
    		fmt.Println("[upgrade/prepull] You can also perform this action beforehand using 'kubeadm config images pull'")
    		if err := preflight.RunPullImagesCheck(utilsexec.New(), initCfg, sets.New(upgradeCfg.Apply.IgnorePreflightErrors...)); err != nil {
    			return err
    		}
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. tests/create_test.go

    	}
    
    	beforeLen := len(values)
    	if err := DB.Model(&User{}).Create(&values).Error; err != nil {
    		t.Fatalf("failed to create data from map, got error: %v", err)
    	}
    
    	// mariadb with returning, values will be appended with id map
    	if len(values) == beforeLen*2 {
    		t.Skipf("This test case skipped, because the db supports returning")
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
Back to top