Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 513 for extr6 (0.06 sec)

  1. docs/en/docs/tutorial/extra-models.md

    So, we get a Pydantic model from the data in another Pydantic model.
    
    #### Unwrapping a `dict` and extra keywords
    
    And then adding the extra keyword argument `hashed_password=hashed_password`, like in:
    
    ```Python
    UserInDB(**user_in.dict(), hashed_password=hashed_password)
    ```
    
    ...ends up being like:
    
    ```Python
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/schema-extra-example.md

    # Declare Request Example Data
    
    You can declare examples of the data your app can receive.
    
    Here are several ways to do it.
    
    ## Extra JSON Schema data in Pydantic models
    
    You can declare `examples` for a Pydantic model that will be added to the generated JSON Schema.
    
    === "Python 3.10+ Pydantic v2"
    
        ```Python hl_lines="13-24"
        {!> ../../../docs_src/schema_extra_example/tutorial001_py310.py!}
        ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/extra-models.md

    Nils Lindemann <******@****.***> 1713469999 +0200
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/extra-data-types.md

    Nayeon Kim <******@****.***> 1718333110 +0900
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 14 02:45:10 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. cmd/kube-apiserver/app/options/validation_test.go

    	ipv6address := netutils.ParseIPSloppy("2001:db8::1")
    
    	tests := []struct {
    		name    string
    		generic apiserveroptions.ServerRunOptions
    		extra   Extra
    		wantErr bool
    	}{
    		{
    			name: "master endpoint reconciler - IPv4 families",
    			extra: Extra{
    				EndpointReconcilerType:       "master-count",
    				PrimaryServiceClusterIPRange: *ipv4cidr,
    			},
    			generic: apiserveroptions.ServerRunOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. pkg/controlplane/instance.go

    		c.ControlPlane.Complete(),
    		&c.Extra,
    	}
    
    	serviceIPRange, apiServerServiceIP, err := options.ServiceIPRange(cfg.Extra.ServiceIPRange)
    	if err != nil {
    		klog.Fatalf("Error determining service IP ranges: %v", err)
    	}
    	if cfg.Extra.ServiceIPRange.IP == nil {
    		cfg.Extra.ServiceIPRange = serviceIPRange
    	}
    	if cfg.Extra.APIServerServiceIP == nil {
    		cfg.Extra.APIServerServiceIP = apiServerServiceIP
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/internal/counter/counter.go

    			}
    			debugPrintf("releaseLock %s: reset havePtr (extra=%d)\n", c.name, state.extra())
    
    			// Optimization: only bother loading a new pointer
    			// if we have a value to add to it.
    			c.ptr = counterPtr{nil, nil}
    			if state.extra() != 0 {
    				c.ptr = c.file.lookup(c.name)
    				debugPrintf("releaseLock %s: ptr=%v\n", c.name, c.ptr)
    			}
    		}
    
    		if extra := state.extra(); extra != 0 && c.ptr.count != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication_test.go

    				"X-Remote-Group-2":      {"two-a", "two-b"},
    				"X-Remote-extra-1-key1": {"alfa", "bravo"},
    				"X-Remote-Extra-1-Key2": {"charlie", "delta"},
    				"X-Remote-Extra-1-":     {"india", "juliet"},
    				"X-Remote-extra-2-":     {"kilo", "lima"},
    				"X-Remote-extra-2-Key1": {"echo", "foxtrot"},
    				"X-Remote-Extra-2-key2": {"golf", "hotel"},
    			},
    		},
    
    		"extra prefix matches case-insensitive with unrelated headers": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  9. src/runtime/cpuprof.go

    		osyield()
    	}
    
    	if cpuprof.numExtra+1+len(stk) < len(cpuprof.extra) {
    		i := cpuprof.numExtra
    		cpuprof.extra[i] = uintptr(1 + len(stk))
    		copy(cpuprof.extra[i+1:], stk)
    		cpuprof.numExtra += 1 + len(stk)
    	} else {
    		cpuprof.lostExtra++
    	}
    
    	prof.signalLock.Store(0)
    }
    
    // addExtra adds the "extra" profiling events,
    // queued by addNonGo, to the profile log.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. pkg/controlplane/apiserver/completion.go

    type completedConfig struct {
    	Generic genericapiserver.CompletedConfig
    	*Extra
    }
    
    // CompletedConfig embeds a private pointer that cannot be instantiated outside of this package
    type CompletedConfig struct {
    	*completedConfig
    }
    
    func (c *Config) Complete() CompletedConfig {
    	cfg := completedConfig{
    		c.Generic.Complete(c.VersionedInformers),
    		&c.Extra,
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 06:13:43 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top