Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 95 for Cota (0.15 sec)

  1. docs/pt/docs/tutorial/query-params-str-validations.md

    ```Python
    q: str = Query(default=None, max_length=50)
    ```
    
    Isso irá validar os dados, mostrar um erro claro quando os dados forem inválidos, e documentar o parâmetro na *operação de rota* do esquema OpenAPI..
    
    ## Adicionando mais validações
    
    Você também pode incluir um parâmetro `min_length`:
    
    ```Python hl_lines="10"
    {!../../../docs_src/query_params_str_validations/tutorial003.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  2. cmd/sts-errors.go

    //go:generate stringer -type=STSErrorCode -trimprefix=Err $GOFILE
    
    // Error codes, non exhaustive list - http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithSAML.html
    const (
    	ErrSTSNone STSErrorCode = iota
    	ErrSTSAccessDenied
    	ErrSTSMissingParameter
    	ErrSTSInvalidParameterValue
    	ErrSTSWebIdentityExpiredToken
    	ErrSTSClientGrantsExpiredToken
    	ErrSTSInvalidClientGrantsToken
    	ErrSTSMalformedPolicyDocument
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Waiting for application startup.
    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    !!! note "Nota"
        El comando `uvicorn main:app` se refiere a:
    
        * `main`: el archivo `main.py` (el "módulo" de Python).
        * `app`: el objeto creado dentro de `main.py` con la línea `app = FastAPI()`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  4. cmd/last-minute.go

    //go:generate msgp -file=$GOFILE -unexported
    
    package cmd
    
    import (
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    const (
    	sizeLessThan1KiB = iota
    	sizeLessThan1MiB
    	sizeLessThan10MiB
    	sizeLessThan100MiB
    	sizeLessThan1GiB
    	sizeGreaterThan1GiB
    	// Add new entries here
    
    	sizeLastElemMarker
    )
    
    // sizeToTag converts a size to a tag.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jul 05 17:40:45 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/filter.go

    	if f.IsEmpty() {
    		return errXMLNotWellFormed
    	}
    	// A Filter must have exactly one of Prefix, Tag,
    	// ObjectSize{LessThan,GreaterThan} or And specified.
    	type predType uint8
    	const (
    		nonePred predType = iota
    		prefixPred
    		andPred
    		tagPred
    		sizeLtPred
    		sizeGtPred
    	)
    	var predCount int
    	var pType predType
    	if !f.And.isEmpty() {
    		pType = andPred
    		predCount++
    	}
    	if f.Prefix.set {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. cmd/metacache.go

    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"path"
    	"strings"
    	"time"
    )
    
    type scanStatus uint8
    
    const (
    	scanStateNone scanStatus = iota
    	scanStateStarted
    	scanStateSuccess
    	scanStateError
    
    	// Time in which the initiator of a scan must have reported back.
    	metacacheMaxRunningAge = time.Minute
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. doc/go1.17_spec.html

    	b = 1 &lt;&lt; iota  // b == 2  (iota == 1)
    	c = 3          // c == 3  (iota == 2, unused)
    	d = 1 &lt;&lt; iota  // d == 8  (iota == 3)
    )
    
    const (
    	u         = iota * 42  // u == 0     (untyped integer constant)
    	v float64 = iota * 42  // v == 42.0  (float64 constant)
    	w         = iota * 42  // w == 84    (untyped integer constant)
    )
    
    const x = iota  // x == 0
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-rebalance.go

    	rs.Bucket = bucket
    	rs.Object = fi.Name
    }
    
    type rstats []*rebalanceStats
    
    //go:generate stringer -type=rebalStatus -trimprefix=rebal $GOFILE
    type rebalStatus uint8
    
    const (
    	rebalNone rebalStatus = iota
    	rebalStarted
    	rebalCompleted
    	rebalStopped
    	rebalFailed
    )
    
    type rebalanceInfo struct {
    	StartTime time.Time   `msg:"startTs"` // Time at which rebalance-start was issued
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  9. cmd/os-instrumented.go

    	ioutilx "github.com/minio/minio/internal/ioutil"
    )
    
    //go:generate stringer -type=osMetric -trimprefix=osMetric $GOFILE
    
    type osMetric uint8
    
    const (
    	osMetricRemoveAll osMetric = iota
    	osMetricMkdirAll
    	osMetricMkdir
    	osMetricRename
    	osMetricOpenFileW
    	osMetricOpenFileR
    	osMetricOpenFileWFd
    	osMetricOpenFileRFd
    	osMetricOpen
    	osMetricOpenFileDirectIO
    	osMetricLstat
    	osMetricRemove
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  10. src/builtin/builtin.go

    // not as the type of a variable.
    type comparable interface{ comparable }
    
    // iota is a predeclared identifier representing the untyped integer ordinal
    // number of the current const specification in a (usually parenthesized)
    // const declaration. It is zero-indexed.
    const iota = 0 // Untyped int.
    
    // nil is a predeclared identifier representing the zero value for a
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
Back to top