Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 2,115 for default (0.09 sec)

  1. docs_src/query_params_str_validations/tutorial012_py39.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: list[str] = Query(default=["foo", "bar"])):
        query_items = {"q": q}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 192 bytes
    - Viewed (0)
  2. istioctl/pkg/writer/pilot/status.go

    	switch s.GetConfigStatus() {
    	case xdsstatus.ConfigStatus_UNKNOWN:
    		return ignoredStatus
    	case xdsstatus.ConfigStatus_NOT_SENT:
    		return "NOT SENT"
    	default:
    		status := s.GetConfigStatus().String()
    		if s.LastUpdated != nil {
    			status += " (" + duration.HumanDuration(time.Since(s.LastUpdated.AsTime())) + ")"
    		}
    		return status
    	}
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 21 22:47:20 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. docs_src/body_fields/tutorial001_an.py

    from pydantic import BaseModel, Field
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = Field(
            default=None, title="The description of the item", max_length=300
        )
        price: float = Field(gt=0, description="The price must be greater than zero")
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 611 bytes
    - Viewed (0)
  4. src/cmd/api/main_test.go

    		exeSuffix = ".exe"
    	}
    	path := filepath.Join(testenv.GOROOT(nil), "bin", "go"+exeSuffix)
    	if _, err := os.Stat(path); err == nil {
    		return path
    	}
    	return "go"
    }
    
    // contexts are the default contexts which are scanned.
    var contexts = []*build.Context{
    	{GOOS: "linux", GOARCH: "386", CgoEnabled: true},
    	{GOOS: "linux", GOARCH: "386"},
    	{GOOS: "linux", GOARCH: "amd64", CgoEnabled: true},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/configdump/testdata/routes/istio-gateway-http-route-prefix/output.txt

    NAME          VHOST NAME                 DOMAINS                 MATCH                  VIRTUAL SERVICE
    http.8080     httpbin.example.com:80     httpbin.example.com     /get*                  httpbin.default
                  backend                    *                       /stats/prometheus*     
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 378 bytes
    - Viewed (0)
  6. docs_src/header_params/tutorial001.py

    from typing import Union
    
    from fastapi import FastAPI, Header
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(user_agent: Union[str, None] = Header(default=None)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 214 bytes
    - Viewed (0)
  7. helm-releases/minio-4.0.10.tgz

    kubernetes cluster domain where minio is running ## clusterDomain: cluster.local ## Set default image, imageTag, and imagePullPolicy. mode is used to indicate the ## image: repository: quay.io/minio/minio tag: RELEASE.2022-08-02T23-59-16Z pullPolicy: IfNotPresent imagePullSecrets: [] # - name: "image-pull-secret" ## Set default image, imageTag, and imagePullPolicy for the `mc` (the minio ## client used to create a default bucket). ## mcImage: repository: quay.io/minio/mc tag: RELEASE.2022-07-29T19-17-16Z...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 04 16:09:22 UTC 2022
    - 19.2K bytes
    - Viewed (0)
  8. helm-releases/minio-4.0.7.tgz

    kubernetes cluster domain where minio is running ## clusterDomain: cluster.local ## Set default image, imageTag, and imagePullPolicy. mode is used to indicate the ## image: repository: quay.io/minio/minio tag: RELEASE.2022-05-08T23-50-31Z pullPolicy: IfNotPresent imagePullSecrets: [] # - name: "image-pull-secret" ## Set default image, imageTag, and imagePullPolicy for the `mc` (the minio ## client used to create a default bucket). ## mcImage: repository: quay.io/minio/mc tag: RELEASE.2022-05-09T04-08-26Z...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 28 03:54:38 UTC 2022
    - 18.6K bytes
    - Viewed (0)
  9. docs_src/query_params_str_validations/tutorial013.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: list = Query(default=[])):
        query_items = {"q": q}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 175 bytes
    - Viewed (0)
  10. tests/postgres_test.go

    		t.Errorf("Failed to create extension pgcrypto, got error %v", err)
    	}
    
    	DB.Migrator().DropTable(&Yasuo{})
    
    	if err := DB.AutoMigrate(&Yasuo{}); err != nil {
    		t.Fatalf("Failed to migrate for uuid default value, got error: %v", err)
    	}
    
    	yasuo := Yasuo{Name: "jinzhu"}
    	if err := DB.Create(&yasuo).Error; err != nil {
    		t.Fatalf("should be able to create data, but got %v", err)
    	}
    
    	if yasuo.ID == "" {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
Back to top