Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 178 for V2 (0.02 sec)

  1. .github/workflows/test.yml

          - name: Install Pydantic v1
            if: matrix.pydantic-version == 'pydantic-v1'
            run: uv pip install "pydantic>=1.10.0,<2.0.0"
          - name: Install Pydantic v2
            if: matrix.pydantic-version == 'pydantic-v2'
            run: uv pip install --upgrade "pydantic>=2.0.2,<3.0.0"
          # TODO: Remove this once Python 3.8 is no longer supported
          - name: Install older AnyIO in Python 3.8
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/cmd/api/testdata/src/pkg/p4/p4.go

    // license that can be found in the LICENSE file.
    
    package p4
    
    type Pair[T1 interface{ M() }, T2 ~int] struct {
    	f1 T1
    	f2 T2
    }
    
    func NewPair[T1 interface{ M() }, T2 ~int](v1 T1, v2 T2) Pair[T1, T2] {
    	return Pair[T1, T2]{f1: v1, f2: v2}
    }
    
    func (p Pair[X1, _]) First() X1 {
    	return p.f1
    }
    
    func (p Pair[_, X2]) Second() X2 {
    	return p.f2
    }
    
    // Deprecated: Use something else.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 552 bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/body-updates.md

    /// info | Información
    
    En Pydantic v1 el método se llamaba `.dict()`, fue deprecado (pero aún soportado) en Pydantic v2, y renombrado a `.model_dump()`.
    
    Los ejemplos aquí usan `.dict()` para compatibilidad con Pydantic v1, pero deberías usar `.model_dump()` si puedes usar Pydantic v2.
    
    ///
    
    Eso generaría un `dict` solo con los datos que se establecieron al crear el modelo `item`, excluyendo los valores por defecto.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/body-updates.md

    /// info
    
    In Pydantic v1 hieß diese Methode `.dict()`, in Pydantic v2 wurde sie deprecated (aber immer noch unterstützt) und in `.model_dump()` umbenannt.
    
    Die Beispiele hier verwenden `.dict()` für die Kompatibilität mit Pydantic v1, Sie sollten jedoch stattdessen `.model_dump()` verwenden, wenn Sie Pydantic v2 verwenden können.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. docs/debugging/inspect/go.mod

    	github.com/minio/colorjson v1.0.8
    	github.com/minio/madmin-go/v3 v3.0.88
    	github.com/secure-io/sio-go v0.3.1
    	github.com/tinylib/msgp v1.2.5
    )
    
    require (
    	github.com/cespare/xxhash/v2 v2.3.0 // indirect
    	github.com/fatih/color v1.18.0 // indirect
    	github.com/mattn/go-colorable v0.1.14 // indirect
    	github.com/mattn/go-isatty v0.0.20 // indirect
    	github.com/minio/pkg/v3 v3.0.28 // indirect
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Apr 24 23:34:11 UTC 2025
    - 722 bytes
    - Viewed (0)
  6. docs/em/docs/advanced/wsgi.md

    ```txt
    Hello, World from Flask!
    ```
    
    &amp; 🚥 👆 🚶 <a href="http://localhost:8000/v2" class="external-link" target="_blank">http://localhost:8000/v2</a> 👆 🔜 👀 📨 ⚪️➡️ FastAPI:
    
    ```JSON
    {
        "message": "Hello World"
    }
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. docs/es/docs/advanced/wsgi.md

    ```txt
    Hello, World from Flask!
    ```
    
    Y si vas a <a href="http://localhost:8000/v2" class="external-link" target="_blank">http://localhost:8000/v2</a> verás el response de FastAPI:
    
    ```JSON
    {
        "message": "Hello World"
    }
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

        }
    
        @Test
        void testHashCode() {
            ArtifactVersion v1 = newArtifactVersion("1");
            ArtifactVersion v2 = newArtifactVersion("1.0");
            assertTrue(v1.equals(v2));
            assertEquals(v1.hashCode(), v2.hashCode());
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(newArtifactVersion("1").equals(null));
        }
    
        @Test
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. tests/go.mod

    	github.com/jackc/pgpassfile v1.0.0 // indirect
    	github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
    	github.com/jackc/pgx/v5 v5.7.5 // indirect
    	github.com/jackc/puddle/v2 v2.2.2 // indirect
    	github.com/jinzhu/inflection v1.0.0 // indirect
    	github.com/mattn/go-sqlite3 v1.14.32 // indirect
    	github.com/microsoft/go-mssqldb v1.9.3 // indirect
    	github.com/pmezard/go-difflib v1.0.0 // indirect
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/witness/WitnessEnumTest.java

            WitnessVersion v1 = WitnessVersion.VERSION_1;
            WitnessVersion v2 = WitnessVersion.VERSION_2;
    
            assertEquals(0x00010001, v1.getValue());
            assertEquals(0x00020000, v2.getValue());
    
            // Verify version ordering
            assertTrue(v2.getValue() > v1.getValue());
        }
    
        @Test
        void testWitnessEventTypes() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top