Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1161 - 1170 of 1,513 for kValues (0.1 sec)

  1. fastapi/encoders.py

                Pydantic's `exclude_unset` parameter, passed to Pydantic models to define
                if it should exclude from the output the fields that were not explicitly
                set (and that only had their default values).
                """
            ),
        ] = False,
        exclude_defaults: Annotated[
            bool,
            Doc(
                """
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. internal/config/dns/etcd_dns.go

    // if empty then c.prefixPath is used i.e "/skydns"
    func CoreDNSPath(prefix string) EtcdOption {
    	return func(args *CoreDNS) {
    		args.prefixPath = prefix
    	}
    }
    
    // NewCoreDNS - initialize a new coreDNS set/unset values.
    func NewCoreDNS(cfg clientv3.Config, setters ...EtcdOption) (Store, error) {
    	etcdClient, err := clientv3.New(cfg)
    	if err != nil {
    		return nil, err
    	}
    
    	args := &CoreDNS{
    		etcdClient: etcdClient,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        map.put("foo", "bar");
        map.put("baz", "bar");
        map.put("quux", "quux");
        assertFalse(map.values() instanceof Set);
        assertTrue(map.values().removeAll(ImmutableSet.of("bar")));
        assertEquals(1, map.size());
      }
    
      public void testCopyEntry_computing() {
        final CountDownLatch startSignal = new CountDownLatch(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        map.put("foo", "bar");
        map.put("baz", "bar");
        map.put("quux", "quux");
        assertFalse(map.values() instanceof Set);
        assertTrue(map.values().removeAll(ImmutableSet.of("bar")));
        assertEquals(1, map.size());
      }
    
      public void testComputeIfAbsent_removalListener() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  5. cmd/endpoint-ellipses.go

    	"github.com/minio/pkg/v3/ellipses"
    	"github.com/minio/pkg/v3/env"
    )
    
    // This file implements and supports ellipses pattern for
    // `minio server` command line arguments.
    
    // Endpoint set represents parsed ellipses values, also provides
    // methods to get the sets of endpoints.
    type endpointSet struct {
    	argPatterns []ellipses.ArgPattern
    	endpoints   []string   // Endpoints saved from previous GetEndpoints().
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/settings.md

    Import `BaseSettings` from Pydantic and create a sub-class, very much like with a Pydantic model.
    
    The same way as with Pydantic models, you declare class attributes with type annotations, and possibly default values.
    
    You can use all the same validation features and tools you use for Pydantic models, like different data types and additional validations with `Field()`.
    
    //// tab | Pydantic v2
    
    ```Python hl_lines="2  5-8  11"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. cmd/admin-handlers-config-kv.go

    	if err = saveServerConfig(ctx, objectAPI, cfg); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	// freshly retrieve the config so that default values are loaded for reset config
    	if cfg, err = getValidConfig(objectAPI); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	dynamic := config.SubSystemsDynamic.Contains(subSys)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      public void testPutAbsentConcurrentWithValueIteration() {
        assertThrows(
            ConcurrentModificationException.class,
            () -> {
              Iterator<V> iterator = getMap().values().iterator();
              put(e3());
              iterator.next();
            });
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testPut_unsupportedNotPresent() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/EnumsTest.java

        // We can't write Set<TestEnum> because that is a Set of the TestEnum from the original
        // ClassLoader.
        Set<Object> shadowConstants = new HashSet<>();
        for (TestEnum constant : TestEnum.values()) {
          Optional<TestEnum> result = Enums.getIfPresent(shadowTestEnum, constant.name());
          assertThat(result).isPresent();
          shadowConstants.add(result.get());
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

        @CanIgnoreReturnValue
        public <T extends B> Builder<B> put(Class<T> key, T value) {
          mapBuilder.put(key, value);
          return this;
        }
    
        /**
         * Associates all of {@code map's} keys and values in the built map. Duplicate keys are not
         * allowed, and will cause {@link #build} to fail.
         *
         * @throws NullPointerException if any key or value in {@code map} is null
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top