- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 381 for V2 (0.05 sec)
-
tests/test_compat.py
class_validators={}, model_config=BaseConfig, ) assert not is_pv1_scalar_field(field) @needs_pydanticv2 def test_get_model_config(): # For coverage in Pydantic v2 class Foo(BaseModel): model_config = ConfigDict(from_attributes=True) foo = Foo() config = _get_model_config(foo) assert config == {"from_attributes": True} def test_complex():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Sep 11 07:45:30 UTC 2024 - 3.5K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.27.md
- github.com/census-instrumentation/opencensus-proto: [v0.2.1 → v0.4.1](https://github.com/census-instrumentation/opencensus-proto/compare/v0.2.1...v0.4.1) - github.com/cespare/xxhash/v2: [v2.1.2 → v2.2.0](https://github.com/cespare/xxhash/v2/compare/v2.1.2...v2.2.0) - github.com/cncf/udpa/go: [04548b0 → c52dc94](https://github.com/cncf/udpa/go/compare/04548b0...c52dc94)
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Wed Jul 17 07:48:22 UTC 2024 - 466.3K bytes - Viewed (1) -
internal/event/target/nats_tls_contrib_test.go
* limitations under the License. */ package target import ( "path" "path/filepath" "testing" xnet "github.com/minio/pkg/v3/net" natsserver "github.com/nats-io/nats-server/v2/test" ) func TestNatsConnTLSCustomCA(t *testing.T) { s, opts := natsserver.RunServerWithConfig(filepath.Join("testdata", "contrib", "nats_tls.conf")) defer s.Shutdown() clientConfig := &NATSArgs{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 2.1K bytes - Viewed (0) -
docs/de/docs/how-to/separate-openapi-schemas.md
# Separate OpenAPI-Schemas für Eingabe und Ausgabe oder nicht Bei Verwendung von **Pydantic v2** ist die generierte OpenAPI etwas genauer und **korrekter** als zuvor. 😎 Tatsächlich gibt es in einigen Fällen sogar **zwei JSON-Schemas** in OpenAPI für dasselbe Pydantic-Modell für Eingabe und Ausgabe, je nachdem, ob sie **Defaultwerte** haben. Sehen wir uns an, wie das funktioniert und wie Sie es bei Bedarf ändern können. ## Pydantic-Modelle für Eingabe und Ausgabe
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/cluster.go
if err != nil { return nil, err } clusters := make([]*cluster.Cluster, 0) for _, c := range clusterDump.DynamicActiveClusters { if c.Cluster != nil { clusterTyped := &cluster.Cluster{} // Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info. c.Cluster.TypeUrl = v3.ClusterType err = c.Cluster.UnmarshalTo(clusterTyped) if err != nil { return nil, err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu May 11 05:38:17 UTC 2023 - 5.9K bytes - Viewed (0) -
docs/pt/docs/how-to/separate-openapi-schemas.md
# Esquemas OpenAPI Separados para Entrada e Saída ou Não Ao usar **Pydantic v2**, o OpenAPI gerado é um pouco mais exato e **correto** do que antes. 😎 Inclusive, em alguns casos, ele terá até **dois JSON Schemas** no OpenAPI para o mesmo modelo Pydantic, para entrada e saída, dependendo se eles possuem **valores padrão**. Vamos ver como isso funciona e como alterar se for necessário. ## Modelos Pydantic para Entrada e Saída
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Oct 24 18:52:36 UTC 2024 - 6.8K bytes - Viewed (0) -
docs/en/docs/tutorial/schema-extra-example.md
//// tab | Python 3.10+ Pydantic v2 ```Python hl_lines="13-24" {!> ../../docs_src/schema_extra_example/tutorial001_py310.py!} ``` //// //// tab | Python 3.10+ Pydantic v1 ```Python hl_lines="13-23" {!> ../../docs_src/schema_extra_example/tutorial001_py310_pv1.py!} ``` //// //// tab | Python 3.8+ Pydantic v2 ```Python hl_lines="15-26"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.6K bytes - Viewed (0) -
docs/de/docs/tutorial/schema-extra-example.md
//// tab | Python 3.10+ Pydantic v2 ```Python hl_lines="13-24" {!> ../../docs_src/schema_extra_example/tutorial001_py310.py!} ``` //// //// tab | Python 3.10+ Pydantic v1 ```Python hl_lines="13-23" {!> ../../docs_src/schema_extra_example/tutorial001_py310_pv1.py!} ``` //// //// tab | Python 3.8+ Pydantic v2 ```Python hl_lines="15-26"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 13.2K bytes - Viewed (0) -
.github/workflows/arm-ci-extended-cpp.yml
# limitations under the License. # ============================================================================== name: ARM CI Extended C++ on: push: tags: - v2.** schedule: - cron: '0 2 * * *' permissions: contents: read jobs: build: if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks runs-on: [self-hosted, linux, ARM64]
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Nov 01 08:40:10 UTC 2024 - 2.5K bytes - Viewed (0) -
.github/workflows/run-mint.sh
-e ACCESS_KEY="${ACCESS_KEY}" \ -e SECRET_KEY="${SECRET_KEY}" \ -e ENABLE_HTTPS=0 \ -e MINT_MODE="${MINT_MODE}" \ docker.io/minio/mint:edge # FIXME: enable this after fixing aws-sdk-java-v2 tests # # unpause the node, to check that all S3 calls work while one node goes wrong # [ "${MODE}" == "resiliency" ] && docker-compose -f minio-${MODE}.yaml unpause minio4
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 1.9K bytes - Viewed (0)