Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 992 for for (0.14 sec)

  1. fastapi/param_functions.py

                """
                Minimum length for strings.
                """
            ),
        ] = None,
        max_length: Annotated[
            Optional[int],
            Doc(
                """
                Maximum length for strings.
                """
            ),
        ] = None,
        pattern: Annotated[
            Optional[str],
            Doc(
                """
                RegEx pattern for strings.
                """
            ),
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  2. cmd/peer-s3-client.go

    	for idx, client := range sys.peerClients {
    		client := client
    		g.Go(func() error {
    			if client == nil {
    				return errPeerOffline
    			}
    			return client.MakeBucket(ctx, bucket, opts)
    		}, idx)
    	}
    	errs := g.Wait()
    
    	for poolIdx := 0; poolIdx < sys.poolsCount; poolIdx++ {
    		perPoolErrs := make([]error, 0, len(sys.peerClients))
    		for i, client := range sys.peerClients {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/generate-clients.md

    For example, you could make sure that each *path operation* has a tag, and then generate the operation ID based on the **tag** and the *path operation* **name** (the function name).
    
    ### Custom Generate Unique ID Function
    
    FastAPI uses a **unique ID** for each *path operation*, it is used for the **operation ID** and also for the names of any needed custom models, for requests or responses.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  4. cmd/data-usage.go

    		return DataUsageInfo{}, err
    	}
    	// For forward compatibility reasons, we need to add this code.
    	if len(dataUsageInfo.BucketsUsage) == 0 {
    		dataUsageInfo.BucketsUsage = make(map[string]BucketUsageInfo, len(dataUsageInfo.BucketSizes))
    		for bucket, size := range dataUsageInfo.BucketSizes {
    			dataUsageInfo.BucketsUsage[bucket] = BucketUsageInfo{Size: size}
    		}
    	}
    
    	// For backward compatibility reasons, we need to add this code.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. cmd/api-response.go

    }
    
    // ListBucketsResponse - format for list buckets response
    type ListBucketsResponse struct {
    	XMLName xml.Name `xml:"http://s3.amazonaws.com/doc/2006-03-01/ ListAllMyBucketsResult" json:"-"`
    
    	Owner Owner
    
    	// Container for one or more buckets.
    	Buckets struct {
    		Buckets []Bucket `xml:"Bucket"`
    	} // Buckets are nested
    }
    
    // Upload container for in progress multipart upload
    type Upload struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  6. manifests/charts/base/values.yaml

    defaults:
      global:
    
        # ImagePullSecrets for control plane ServiceAccount, list of secrets in the same namespace
        # to use for pulling any images in pods that reference this ServiceAccount.
        # Must be set for any cluster configured with private docker registry.
        imagePullSecrets: []
    
        # Used to locate istiod.
        istioNamespace: istio-system
    
        externalIstiod: false
        remotePilotAddress: ""
    
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 22:00:40 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  7. cmd/storage-datatypes.go

    type FilesInfo struct {
    	Files       []FileInfo
    	IsTruncated bool
    }
    
    // Size returns size of all versions for the object 'Name'
    func (f FileInfoVersions) Size() (size int64) {
    	for _, v := range f.Versions {
    		size += v.Size
    	}
    	return size
    }
    
    // FileInfoVersions represent a list of versions for a given file.
    // The above means that any added/deleted fields are incompatible.
    //
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  8. cmd/format-erasure.go

    func closeStorageDisks(storageDisks ...StorageAPI) {
    	var wg sync.WaitGroup
    	for _, disk := range storageDisks {
    		if disk == nil {
    			continue
    		}
    		wg.Add(1)
    		go func(disk StorageAPI) {
    			defer wg.Done()
    			disk.Close()
    		}(disk)
    	}
    	wg.Wait()
    }
    
    // Initialize storage disks for each endpoint.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  9. internal/event/targetlist.go

    		for id := range targetIDset {
    			reqInfo := &logger.ReqInfo{}
    			reqInfo.AppendTags("targetID", id.String())
    			logger.LogOnceIf(logger.SetReqInfo(context.Background(), reqInfo), logSubsys, err, id.String())
    		}
    		return
    	}
    }
    
    // Stats returns stats for targets.
    func (list *TargetList) Stats() Stats {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    	return cache.updatedAt, addedOrRemoved, newPolicies, nil
    }
    
    // PolicyDBSet - update the policy mapping for the given user or group in
    // storage and in cache. We do not check for the existence of the user here
    // since users can be virtual, such as for:
    //   - LDAP users
    //   - CommonName for STS accounts generated by AssumeRoleWithCertificate
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
Back to top