Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for Returning (0.19 sec)

  1. fastapi/routing.py

                Optional[int],
                Doc(
                    """
                    The default status code to be used for the response.
    
                    You could override the status code by returning a response directly.
    
                    Read more about it in the
                    [FastAPI docs for Response Status Code](https://fastapi.tiangolo.com/tutorial/response-status-code/).
                    """
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 170.1K bytes
    - Viewed (0)
  2. fastapi/applications.py

                Optional[int],
                Doc(
                    """
                    The default status code to be used for the response.
    
                    You could override the status code by returning a response directly.
    
                    Read more about it in the
                    [FastAPI docs for Response Status Code](https://fastapi.tiangolo.com/tutorial/response-status-code/).
                    """
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 00:48:03 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  3. pkg/scheduler/schedule_one_test.go

    				actualPatchData = string(patch.GetPatch())
    				// For this test, we don't care about the result of the patched pod, just that we got the expected
    				// patch request, so just returning &v1.Pod{} here is OK because scheduler doesn't use the response.
    				return true, &v1.Pod{}, nil
    			})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

        return derive(future.transformAsync(applyFunction, executor));
      }
    
      /**
       * Returns an {@link AsyncClosingFunction} that applies an {@link AsyncFunction} to an input,
       * ignoring the DeferredCloser and returning a {@code ClosingFuture} derived from the returned
       * {@link ListenableFuture}.
       *
       * <p>Use this method to pass a transformation to {@link #transformAsync(AsyncClosingFunction,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 98.3K bytes
    - Viewed (0)
  5. src/database/sql/sql.go

    	// maybeOpenNewConnections has already executed db.numOpen++ before it sent
    	// on db.openerCh. This function must execute db.numOpen-- if the
    	// connection fails or is closed before returning.
    	ci, err := db.connector.Connect(ctx)
    	db.mu.Lock()
    	defer db.mu.Unlock()
    	if db.closed {
    		if err == nil {
    			ci.Close()
    		}
    		db.numOpen--
    		return
    	}
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ClosingFuture.java

        return derive(future.transformAsync(applyFunction, executor));
      }
    
      /**
       * Returns an {@link AsyncClosingFunction} that applies an {@link AsyncFunction} to an input,
       * ignoring the DeferredCloser and returning a {@code ClosingFuture} derived from the returned
       * {@link ListenableFuture}.
       *
       * <p>Use this method to pass a transformation to {@link #transformAsync(AsyncClosingFunction,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 98.7K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_pods.go

    	}
    
    	return kubecontainer.ParseContainerID(cID), nil
    }
    
    // GetKubeletContainerLogs returns logs from the container
    // TODO: this method is returning logs of random container attempts, when it should be returning the most recent attempt
    // or all of them.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  8. src/reflect/value.go

    	case implements(dst, v.typ()):
    		if v.Kind() == Interface && v.IsNil() {
    			// A nil ReadWriter passed to nil Reader is OK,
    			// but using ifaceE2I below will panic.
    			// Avoid the panic by returning a nil dst (e.g., Reader) explicitly.
    			return Value{dst, nil, flag(Interface)}
    		}
    		x := valueInterface(v, false)
    		if target == nil {
    			target = unsafe_New(dst)
    		}
    		if dst.NumMethod() == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_pods_test.go

    				{IP: "fd01::1234"},
    			},
    		},
    		{
    			name:      "Dual-stack with CRI returning wrong family first",
    			nodeIP:    "",
    			criPodIPs: []string{"fd01::1234", "10.0.0.1"},
    			podIPs: []v1.PodIP{
    				{IP: "10.0.0.1"},
    				{IP: "fd01::1234"},
    			},
    		},
    		{
    			name:      "Dual-stack with explicit node IP with CRI returning wrong family first",
    			nodeIP:    "192.168.1.1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    			}
    			klog.V(5).Infof("%v: returning: %+v", r.URL, string(keyBytes))
    			w.Write(keyBytes)
    
    		// /c/d/bar/.well-known/openid-configuration is used to test issuer url and discovery url with a path
    		case "/.well-known/openid-configuration", "/c/d/bar/.well-known/openid-configuration":
    			w.Header().Set("Content-Type", "application/json")
    			klog.V(5).Infof("%v: returning: %+v", r.URL, *openIDConfig)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
Back to top