Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 413 for V2 (0.01 seconds)

  1. fastapi/_compat/v2.py

                json_schema["contentEncoding"] = "base64"
            self.update_with_validations(json_schema, schema, self.ValidationsMapping.bytes)
            return json_schema
    
    
    # TODO: remove when dropping support for Pydantic < v2.12.3
    _Attrs = {
        "default": ...,
        "default_factory": None,
        "alias": None,
        "alias_priority": None,
        "validation_alias": None,
        "serialization_alias": None,
        "title": None,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  2. cmd/signature-v2.go

    }
    
    // Return signature-v2 for the presigned request.
    func preSignatureV2(cred auth.Credentials, method string, encodedResource string, encodedQuery string, headers http.Header, expires string) string {
    	stringToSign := getStringToSignV2(method, encodedResource, encodedQuery, headers, expires)
    	return calculateSignatureV2(stringToSign, cred.SecretKey)
    }
    
    // Return the signature v2 of a given request.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  3. docs/debugging/inspect/decrypt-v2.go

    Klaus Post <******@****.***> 1739812182 -0800
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 17 17:09:42 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  4. cmd/metrics-v2.go

    	bucketCollector         *minioBucketCollector
    	peerMetricsGroups       []*MetricsGroupV2
    	bucketPeerMetricsGroups []*MetricsGroupV2
    )
    
    // v2MetricsMaxBuckets enforces a bucket count limit on metrics for v2 calls.
    // If people hit this limit, they should move to v3, as certain calls explode with high bucket count.
    const v2MetricsMaxBuckets = 100
    
    func init() {
    	clusterMetricsGroups := []*MetricsGroupV2{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 133.6K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    這個工具會自動修改大部分需要變更的程式碼。
    
    之後執行測試確認一切正常即可完成。😎
    
    ## v2 中的 Pydantic v1 { #pydantic-v1-in-v2 }
    
    Pydantic v2 內含子模組 `pydantic.v1`,提供 Pydantic v1 的所有內容。但在 Python 3.13 以上版本不再支援。
    
    這表示你可以安裝最新的 Pydantic v2,並從該子模組匯入並使用舊的 Pydantic v1 元件,就像安裝了舊版 Pydantic v1 一樣。
    
    {* ../../docs_src/pydantic_v1_in_v2/tutorial001_an_py310.py hl[1,4] *}
    
    ### FastAPI 對 v2 中 Pydantic v1 的支援 { #fastapi-support-for-pydantic-v1-in-v2 }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  6. cmd/xl-storage-format-v2.go

    package cmd
    
    import (
    	"bytes"
    	"encoding/binary"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"io"
    	"sort"
    	"strings"
    	"time"
    
    	"github.com/cespare/xxhash/v2"
    	"github.com/google/uuid"
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/minio/internal/bpool"
    	"github.com/minio/minio/internal/bucket/lifecycle"
    	"github.com/minio/minio/internal/bucket/replication"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 65.6K bytes
    - Click Count (1)
  7. docs/ko/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    Pydantic에서는 Pydantic v2 모델의 필드를 Pydantic v1 모델로 정의하거나 그 반대로 하는 것을 **지원하지 않습니다**.
    
    ```mermaid
    graph TB
        subgraph "❌ Not Supported"
            direction TB
            subgraph V2["Pydantic v2 Model"]
                V1Field["Pydantic v1 Model"]
            end
            subgraph V1["Pydantic v1 Model"]
                V2Field["Pydantic v2 Model"]
            end
        end
    
        style V2 fill:#f9fff3
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  8. cmd/xl-storage-format-v2-legacy.go

    Klaus Post <******@****.***> 1759093161 +0200
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    # Migrate from Pydantic v1 to Pydantic v2 { #migrate-from-pydantic-v1-to-pydantic-v2 }
    
    If you have an old FastAPI app, you might be using Pydantic version 1.
    
    FastAPI version 0.100.0 had support for either Pydantic v1 or v2. It would use whichever you had installed.
    
    FastAPI version 0.119.0 introduced partial support for Pydantic v1 from inside of Pydantic v2 (as `pydantic.v1`), to facilitate the migration to v2.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  10. docs/ja/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

                V2Field["Pydantic v2 Model"]
            end
        end
    
        style V2 fill:#f9fff3
        style V1 fill:#fff6f0
        style V1Field fill:#fff6f0
        style V2Field fill:#f9fff3
    ```
    
    ...しかし、同じアプリ内で Pydantic v1 と v2 を別々のモデルとして分けて使うことは可能です。
    
    ```mermaid
    graph TB
        subgraph "✅ Supported"
            direction TB
            subgraph V2["Pydantic v2 Model"]
                V2Field["Pydantic v2 Model"]
            end
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 6.2K bytes
    - Click Count (0)
Back to Top