Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1071 - 1080 of 1,278 for Tool (0.04 sec)

  1. docs/pt/docs/index.md

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. docs/es/docs/index.md

    from fastapi import FastAPI
    from pydantic import BaseModel
    from typing import Union
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsLabelTypeCQ.java

        }
    
        public void bool(BoolCall<LabelTypeCQ> boolLambda) {
            bool(boolLambda, null);
        }
    
        public void bool(BoolCall<LabelTypeCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
            LabelTypeCQ mustQuery = new LabelTypeCQ();
            LabelTypeCQ shouldQuery = new LabelTypeCQ();
            LabelTypeCQ mustNotQuery = new LabelTypeCQ();
            LabelTypeCQ filterQuery = new LabelTypeCQ();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  4. cmd/sts-handlers.go

    	// STS Router
    	stsRouter := router.NewRoute().PathPrefix(SlashSeparator).Subrouter()
    
    	// Assume roles with no JWT, handles AssumeRole.
    	stsRouter.Methods(http.MethodPost).MatcherFunc(func(r *http.Request, rm *mux.RouteMatch) bool {
    		ctypeOk := wildcard.MatchSimple("application/x-www-form-urlencoded*", r.Header.Get(xhttp.ContentType))
    		authOk := wildcard.MatchSimple(signV4Algorithm+"*", r.Header.Get(xhttp.Authorization))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  5. cmd/bucket-policy.go

    	return policy, err
    }
    
    // IsAllowed - checks given policy args is allowed to continue the Rest API.
    func (sys *PolicySys) IsAllowed(args policy.BucketPolicyArgs) bool {
    	p, err := sys.Get(args.BucketName)
    	if err == nil {
    		return p.IsAllowed(args)
    	}
    
    	// Log unhandled errors.
    	if _, ok := err.(BucketPolicyNotFound); !ok {
    		internalLogIf(GlobalContext, err, logger.WarningKind)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/authentication/v1/generated.proto

    }
    
    // TokenReviewStatus is the result of the token authentication request.
    message TokenReviewStatus {
      // Authenticated indicates that the token was associated with a known user.
      // +optional
      optional bool authenticated = 1;
    
      // User is the UserInfo associated with the provided token.
      // +optional
      optional UserInfo user = 2;
    
      // Audiences are audience identifiers chosen by the authenticator that are
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. cmd/tier-handlers.go

    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err := json.Unmarshal(reqBytes, &cfg); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	var ignoreInUse bool
    	if forceStr := r.Form.Get("force"); forceStr != "" {
    		ignoreInUse, _ = strconv.ParseBool(forceStr)
    	}
    
    	// Disallow remote tiers with internal storage class names
    	switch cfg.Name {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. istioctl/pkg/metrics/metrics_test.go

    	startTime time.Time, endTime time.Time, opts ...promv1.Option,
    ) ([]prometheus_model.LabelSet, promv1.Warnings, error) {
    	return nil, nil, nil
    }
    
    func (client mockPromAPI) Snapshot(ctx context.Context, skipHead bool) (promv1.SnapshotResult, error) {
    	return promv1.SnapshotResult{}, nil
    }
    
    func (client mockPromAPI) Rules(ctx context.Context) (promv1.RulesResult, error) {
    	return promv1.RulesResult{}, nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 01:35:47 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_function_test.cc

                  const std::vector<TF_Operation*>& inputs,
                  const std::vector<TF_Operation*>& outputs,
                  const std::vector<string>& output_names,
                  bool expect_failure = false) {
        DefineT(num_opers, opers, ToOutput(inputs), ToOutput(outputs), output_names,
                expect_failure);
      }
    
      // Caller must delete[] the returned value
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  10. cmd/metacache-stream_test.go

    		}
    	}
    }
    
    func Test_metacacheReader_readFn(t *testing.T) {
    	r := loadMetacacheSample(t)
    	defer r.Close()
    	i := 0
    	err := r.readFn(func(entry metaCacheEntry) bool {
    		want := loadMetacacheSampleNames[i]
    		if entry.name != want {
    			t.Errorf("entry %d, want %q, got %q", i, want, entry.name)
    		}
    		i++
    		return true
    	})
    	if err != io.EOF {
    		t.Fatal(err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 15K bytes
    - Viewed (0)
Back to top