Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 807 for v1 (0.03 sec)

  1. docs/pt/docs/tutorial/bigger-applications.md

    Você também pode usar `.include_router()` várias vezes com o *mesmo* roteador usando prefixos diferentes.
    
    Isso pode ser útil, por exemplo, para expor a mesma API sob prefixos diferentes, por exemplo, `/api/v1` e `/api/latest`.
    
    Esse é um uso avançado que você pode não precisar, mas está lá caso precise.
    
    ## Incluir um `APIRouter` em outro
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. fastapi/dependencies/utils.py

                    is_scalar_field(field)
                    or is_scalar_sequence_field(field)
                    or (
                        lenient_issubclass(field.type_, BaseModel)
                        # For Pydantic v1
                        and getattr(field, "shape", 1) == 1
                    )
                )
    
        return ParamDetails(type_annotation=type_annotation, depends=depends, field=field)
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    		maxKeys++
    	}
    	return maxKeys
    }
    
    func (z *erasureServerPools) listObjectsGeneric(ctx context.Context, bucket, prefix, marker, delimiter string, maxKeys int, v1 bool) (loi ListObjectsInfo, err error) {
    	opts := listPathOptions{
    		V1:          v1,
    		Bucket:      bucket,
    		Prefix:      prefix,
    		Separator:   delimiter,
    		Limit:       maxKeysPlusOne(maxKeys, marker != ""),
    		Marker:      marker,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       * type}, the distinct values of {@code type} can be passed as parameters to create {@code Foo}
       * instances that are unequal.
       *
       * <p>Calling {@code setDistinctValues(type, v1, v2)} also sets the default value for {@code type}
       * that's used for {@link #testNulls}.
       *
       * <p>Only necessary for types where {@link ClassSanityTester} doesn't already know how to create
       * distinct values.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/MediaType.java

      /**
       * Extensible Resource Descriptors. This is not yet registered with the IANA, but it is specified
       * by OASIS in the <a href="http://docs.oasis-open.org/xri/xrd/v1.0/cd02/xrd-1.0-cd02.html">XRD
       * definition</a> and implemented in projects such as <a
       * href="http://code.google.com/p/webfinger/">WebFinger</a>.
       *
       * @since 14.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/bigger-applications.md

    <img src="https://fastapi.tiangolo.com/img/tutorial/bigger-applications/image01.png">
    
    ## 多次使用不同的 `prefix` 包含同一个路由器
    
    你也可以在*同一*路由器上使用不同的前缀来多次使用 `.include_router()`。
    
    在有些场景这可能有用,例如以不同的前缀公开同一个的 API,比方说 `/api/v1` 和 `/api/latest`。
    
    这是一个你可能并不真正需要的高级用法,但万一你有需要了就能够用上。
    
    ## 在另一个 `APIRouter` 中包含一个 `APIRouter`
    
    与在 `FastAPI` 应用程序中包含 `APIRouter` 的方式相同,你也可以在另一个 `APIRouter` 中包含 `APIRouter`,通过:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. istioctl/pkg/proxyconfig/proxyconfig.go

    	"bytes"
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"os"
    	"regexp"
    	"strings"
    
    	"github.com/hashicorp/go-multierror"
    	"github.com/spf13/cobra"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/completion"
    	"istio.io/istio/istioctl/pkg/kubeinject"
    	istioctlutil "istio.io/istio/istioctl/pkg/util"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    	queryValue := url.Values{}
    	queryValue.Set("lifecycle", "")
    	return makeTestTargetURL(endPoint, bucketName, "", queryValue)
    }
    
    // return URL for listing objects in the bucket with V1 legacy API.
    func getListObjectsV1URL(endPoint, bucketName, prefix, maxKeys, encodingType string) string {
    	queryValue := url.Values{}
    	if maxKeys != "" {
    		queryValue.Set("max-keys", maxKeys)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  9. cmd/data-usage-cache.go

    )
    
    //msgp:clearomitted
    
    //go:generate msgp -file $GOFILE -unexported
    
    // dataUsageHash is the hash type used.
    type dataUsageHash string
    
    // sizeHistogramV1 is size histogram V1, which has fewer intervals esp. between
    // 1024B and 1MiB.
    type sizeHistogramV1 [dataUsageBucketLenV1]uint64
    
    // sizeHistogram is a size histogram.
    type sizeHistogram [dataUsageBucketLen]uint64
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  10. cmd/site-replication.go

    		g1.Status != g2.Status ||
    		g1.Policy != g2.Policy {
    		return false
    	}
    	if len(g1.Members) != len(g2.Members) {
    		return false
    	}
    	for _, v1 := range g1.Members {
    		var found bool
    		for _, v2 := range g2.Members {
    			if v1 == v2 {
    				found = true
    				break
    			}
    		}
    		if !found {
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top