Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 390 for V1 (0.03 seconds)

  1. 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
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun May 11 13:37:26 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  2. 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
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  3. 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
    		if slices.Contains(g2.Members, v1) {
    			found = true
    		}
    		if !found {
    			return false
    		}
    	}
    	return true
    }
    
    func isUserInfoEqual(u1, u2 madmin.UserInfo) bool {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 184.8K bytes
    - Click Count (1)
  4. src/cmd/asm/internal/asm/parse.go

    		a.Scale = int16(scale)
    	}
    }
    
    // registerList parses an ARM or ARM64 register list expression, a list of
    // registers in []. There may be comma-separated ranges or individual
    // registers, as in [R1,R3-R5] or [V1.S4, V2.S4, V3.S4, V4.S4].
    // For ARM, only R0 through R15 may appear.
    // For ARM64, V0 through V31 with arrangement may appear.
    //
    // For 386/AMD64 register list specifies 4VNNIW-style multi-source operand.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Nov 12 03:59:40 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  5. fastapi/routing.py

                )
                response_name = "Response_" + self.unique_id
                if annotation_is_pydantic_v1(self.response_model):
                    raise PydanticV1NotSupportedError(
                        "pydantic.v1 models are no longer supported by FastAPI."
                        f" Please update the response model {self.response_model!r}."
                    )
                self.response_field = create_model_field(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 174.6K bytes
    - Click Count (0)
  6. fastapi/applications.py

                    **Example**
    
                    ```python
                    from fastapi import FastAPI
    
                    app = FastAPI(openapi_url="/api/v1/openapi.json")
                    ```
                    """
                ),
            ] = "/openapi.json",
            openapi_tags: Annotated[
                Optional[list[dict[str, Any]]],
                Doc(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 176.3K bytes
    - Click Count (0)
  7. doc/go_spec.html

    with the precision of that type argument. For example, given the function:
    </p>
    
    <pre>
    func dotProduct[F ~float32|~float64](v1, v2 []F) F {
    	var s F
    	for i, x := range v1 {
    		y := v2[i]
    		s += x * y
    	}
    	return s
    }
    </pre>
    
    <p>
    the product <code>x * y</code> and the addition <code>s += x * y</code>
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
  8. cmd/batch-handlers.go

    	batchReplVersion      = batchReplVersionV1
    	batchJobName          = "job.bin"
    	batchJobPrefix        = "batch-jobs"
    	batchJobReportsPrefix = batchJobPrefix + "/reports"
    
    	batchReplJobAPIVersion        = "v1"
    	batchReplJobDefaultRetries    = 3
    	batchReplJobDefaultRetryDelay = time.Second
    )
    
    func getJobPath(job BatchJobRequest) string {
    	return pathJoin(batchJobPrefix, job.ID)
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
  9. cmd/testdata/decryptObjectInfo.json.zst

    -Server-Side-Encryption-S3-Sealed-Key":"IAAfANtOe3TJhFdD8LpJ==","X-Minio-Internal-Server-Side-Encryption-Seal-Algorithm":"DAREv2-HMAC-SHA256","content-type":"text/plain"}},{"Bucket":"buck1","Name":"go_113/src/cmd/go/testdata/modlegacy/src/new/sub/x/v1/y/y.go","UserDef":{"X-Minio-Internal-Server-Side-Encryption-Iv":"hjQZ5H34Q6VCllhidF2R=","X-Minio-Internal-Server-Side-Encryption-S3-Kms-Key-Id":"my-minio-key","X-Minio-Internal-Server-Side-Encryption-S3-Kms-Sealed-Key":"IAAfAKNK8mhf9NhAYlXL+0Fq5bH2...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Oct 29 16:34:20 GMT 2020
    - 164K bytes
    - Click Count (0)
  10. CREDITS

    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    
    ================================================================
    
    gopkg.in/check.v1
    https://gopkg.in/check.v1
    ----------------------------------------------------------------
    Gocheck - A rich testing framework for Go
     
    Copyright (c) 2010-2013 Gustavo Niemeyer <******@****.***>
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Mar 13 05:29:51 GMT 2025
    - 1.8M bytes
    - Click Count (0)
Back to Top