Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for errString (0.16 sec)

  1. fastapi/security/api_key.py

                    automatically cancel the request and send the client an error.
    
                    If `auto_error` is set to `False`, when the query parameter is not
                    available, instead of erroring out, the dependency result will be
                    `None`.
    
                    This is useful when you want to have optional authentication.
    
                    It is also useful when you want to have authentication that can be
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 23 22:29:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. fastapi/security/http.py

                    client an error.
    
                    If `auto_error` is set to `False`, when the HTTP Basic authentication
                    is not available, instead of erroring out, the dependency result will
                    be `None`.
    
                    This is useful when you want to have optional authentication.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Apr 19 15:29:38 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. src/fmt/print.go

    	goodArgNum bool
    	// panicking is set by catchPanic to avoid infinite panic, recover, panic, ... recursion.
    	panicking bool
    	// erroring is set when printing an error string to guard against calling handleMethods.
    	erroring bool
    	// wrapErrs is set when the format string may contain a %w verb.
    	wrapErrs bool
    	// wrappedErrs records the targets of the %w verb.
    	wrappedErrs []int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/dra/claiminfo_test.go

    		},
    		{
    			description: "successfully called function",
    			funcGen: func(cache *claimInfoCache) func() error {
    				return func() error {
    					return nil
    				}
    			},
    		},
    		{
    			description: "erroring function",
    			funcGen: func(cache *claimInfoCache) func() error {
    				return func() error {
    					return errors.New("test error")
    				}
    			},
    			wantErr: true,
    		},
    	} {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 21K bytes
    - Viewed (0)
  5. pkg/controller/disruption/disruption.go

    	if err != nil {
    		dc.recorder.Eventf(pdb, v1.EventTypeWarning, "CalculateExpectedPodCountFailed", "Failed to calculate the number of expected pods: %v", err)
    		return err
    	}
    	// We have unmamanged pods, instead of erroring and hotlooping in disruption controller, log and continue.
    	if len(unmanagedPods) > 0 {
    		logger.V(4).Info("Found unmanaged pods associated with this PDB", "pods", unmanagedPods)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

        if (data_predecessor || control_predecessor) {
          if (cluster_predecessor_ops.contains(&op)) {
            // Op has a dependency from and to the cluster which is invalid. Instead
            // of erroring out we don't add the op to `cluster_successor_ops` which
            // is in line with previous behavior when certain control dependencies
            // were not considered.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  7. pkg/controller/disruption/disruption_test.go

    	add(t, dc.podStore, pod)
    	dc.sync(ctx, pdbName)
    
    	ps.VerifyDisruptionAllowed(t, pdbName, 0)
    	verifyEventEmitted(t, dc, "CalculateExpectedPodCountFailed")
    }
    
    // Verify that disruption controller is not erroring when unmanaged pods are found
    func TestStatusForUnmanagedPod(t *testing.T) {
    	_, ctx := ktesting.NewTestContext(t)
    	dc, ps := newFakeDisruptionController(ctx)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  8. cmd/storage-rest-server.go

    // or informative based on the `exit` flag, please look
    // at each implementation of error for added hints.
    //
    // FIXME: This is an unusual function but serves its purpose for
    // now, need to revisit the overall erroring structure here.
    // Do not like it :-(
    func logFatalErrs(err error, endpoint Endpoint, exit bool) {
    	switch {
    	case errors.Is(err, errXLBackend):
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modget/get.go

    				// may downgrade this module out of the build list entirely, in which
    				// case the pattern will no longer include it and it won't be an error.
    				//
    				// Either way, punt on the query rather than erroring out just yet.
    				return pathSet{}
    			}
    
    			return r.tryWildcard(ctx, q, m)
    		})
    	}
    
    	// Even if no modules matched, we shouldn't query for a new module to provide
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.25.md

    
    ###  Introduced KMS v2
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 09:23:20 UTC 2024
    - 419.1K bytes
    - Viewed (0)
Back to top