Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 880 for contextos (0.11 sec)

  1. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    ## Gerenciadores de contexto
    
    ### O que são gerenciadores de contexto
    
    "Gerenciadores de Contexto" são qualquer um dos objetos Python que podem ser utilizados com a declaração `with`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. istioctl/pkg/cli/context.go

    	}
    	impersonateConfig := i.getImpersonateConfig()
    	rawConfigContexts := maps.Keys(rawConfig.Contexts)
    	for _, c := range contexts {
    		if !slices.Contains(rawConfigContexts, c) {
    			return nil, fmt.Errorf("context %q not found", c)
    		}
    	}
    	var clients []kube.CLIClient
    	for _, contextName := range contexts {
    		if i.remoteClients[contextName] != nil {
    			clients = append(clients, i.remoteClients[contextName])
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 23 19:31:32 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. tests/test_dependency_contextmanager.py

    
    async def context_a(state: dict = Depends(get_state)):
        state["context_a"] = "started a"
        try:
            yield state
        finally:
            state["context_a"] = "finished a"
    
    
    async def context_b(state: dict = Depends(context_a)):
        state["context_b"] = "started b"
        try:
            yield state
        finally:
            state["context_b"] = f"finished b with a: {state['context_a']}"
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:13:50 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. src/cmd/api/api_test.go

    	if *flagCheck {
    		// slow, not worth repeating in -check
    		t.Skip("skipping with -check set")
    	}
    	testenv.MustHaveGoBuild(t)
    	context := new(build.Context)
    	*context = build.Default
    	context.Dir = filepath.Join(testenv.GOROOT(t), "src")
    
    	w := NewWalker(context, context.Dir)
    	for _, pkg := range w.stdPackages {
    		if strings.HasPrefix(pkg, "vendor/") || strings.HasPrefix(pkg, "golang.org/x/") {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jan 04 17:31:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. tensorflow/c/eager/immediate_execution_distributed_manager.h

      // Set up distributed execution environment on local and remote tasks.
      // When `reset_context` is true, initialize new cluster context state based
      // on cluster configurations provided in `server_def`; otherwise, update
      // existing context state with the provided `server_def`. Contexts created
      // on remote tasks will be considered stale and garbage collected after
      // `keep_alive_secs` of inactivity.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. cmd/api-response.go

    			content.StorageClass = filterStorageClass(ctx, object.StorageClass)
    		} else {
    			content.StorageClass = globalMinioDefaultStorageClass
    		}
    		content.Owner = owner
    		contents = append(contents, content)
    	}
    	data.Name = bucket
    	data.Contents = contents
    
    	data.EncodingType = encodingType
    	data.Prefix = s3EncodeName(prefix, encodingType)
    	data.Marker = s3EncodeName(marker, encodingType)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  7. istioctl/pkg/cli/option.go

    		return
    	}
    
    	// If a specific context was specified, use that. Otherwise, just use the current context from the kube config.
    	selectedContext := config.CurrentContext
    	if *r.configContext != "" {
    		selectedContext = *r.configContext
    	}
    
    	// Use the namespace associated with the selected context as default, if the context has one
    	context, ok := config.Contexts[selectedContext]
    	if !ok {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 30 01:19:20 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. src/cmd/api/main_test.go

    			t.Fatal(err)
    		}
    		nextFiles = next
    	}
    
    	for _, c := range contexts {
    		c.Compiler = build.Default.Compiler
    	}
    
    	walkers := make([]*Walker, len(contexts))
    	var wg sync.WaitGroup
    	for i, context := range contexts {
    		i, context := i, context
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    			walkers[i] = NewWalker(context, filepath.Join(testenv.GOROOT(t), "src"))
    		}()
    	}
    	wg.Wait()
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  9. istioctl/pkg/multicluster/remote_secret_test.go

      name: {cluster}
    contexts:
    - context:
        cluster: {cluster}
        user: {cluster}
      name: {cluster}
    current-context: {cluster}
    kind: Config
    preferences: {}
    users:
    - name: {cluster}
      user:
        token: token
    `, "{cluster}", fakeClusterName)
    
    	cases := []struct {
    		name               string
    		clusterName        string
    		context            string
    		server             string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  10. docker/Dockerfile.distroless

    # prepare a distroless source context to copy files from
    FROM cgr.dev/chainguard/static@sha256:d07036a3beff43183f49bce5b2a0bd945f2ffe6e76f734ebd040059a40d371bc AS distroless_source
    
    # prepare a base dev to modify file contents
    FROM ubuntu:noble AS ubuntu_source
    
    # Modify contents of container
    COPY --from=distroless_source /etc/ /home/etc
    COPY --from=distroless_source /home/nonroot /home/nonroot
    RUN echo istio-proxy:x:1337: >> /home/etc/group
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 23 15:22:31 UTC 2024
    - 829 bytes
    - Viewed (0)
Back to top