- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 41 for Tb (0.02 seconds)
-
internal/logger/target/testlogger/testlogger.go
return t.setTB(tb, errorMessage) } // SetFatalTB will set the logger to output to tb.Panic. // Call the returned function to disable logging. func (t *testLogger) SetFatalTB(tb testing.TB) func() { return t.setTB(tb, fatalMessage) } func (t *testLogger) setTB(tb testing.TB, action int32) func() { old := t.action.Swap(action) t.current.Store(&tb) return func() { t.current.Store(nil)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4K bytes - Click Count (0) -
docs/ko/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
/// ### 같은 앱에서 Pydantic v1과 v2 함께 사용하기 { #pydantic-v1-and-v2-on-the-same-app } 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"] endCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 6.3K bytes - Click Count (0) -
docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
It's **not supported** by Pydantic to have a model of Pydantic v2 with its own fields defined as Pydantic v1 models or vice versa. ```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"] endCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.4K bytes - Click Count (0) -
docs/zh-hant/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
/// ### 同一應用同時使用 Pydantic v1 與 v2 { #pydantic-v1-and-v2-on-the-same-app } 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"] endCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 4.9K bytes - Click Count (0) -
docs/zh/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
/// ### 同一应用中同时使用 Pydantic v1 与 v2 { #pydantic-v1-and-v2-on-the-same-app } 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"] endCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 5.1K bytes - Click Count (0) -
cmd/erasure_test.go
// Returns an initialized setup for erasure tests. func newErasureTestSetup(tb testing.TB, dataBlocks int, parityBlocks int, blockSize int64) (*erasureTestSetup, error) { diskPaths := make([]string, dataBlocks+parityBlocks) disks := make([]StorageAPI, len(diskPaths)) var err error for i := range diskPaths { disks[i], diskPaths[i], err = newXLStorageTestSetup(tb) if err != nil { return nil, err }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 4.8K bytes - Click Count (0) -
docs/ja/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
/// ### 同一アプリでの Pydantic v1 と v2 { #pydantic-v1-and-v2-on-the-same-app } Pydantic v2 のモデルのフィールドに Pydantic v1 のモデルを(またはその逆を)埋め込むことは、Pydantic では「サポートされていません」。 ```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"] endCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 6.2K bytes - Click Count (0) -
src/cmd/api/testdata/src/pkg/p3/p3.go
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p3 type ThirdBase struct{} func (tb *ThirdBase) GoodPlayer() (i, j, k int)Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Nov 09 14:05:53 GMT 2022 - 310 bytes - Click Count (0) -
ci/official/requirements_updater/numpy1_requirements/requirements.in
# Note that we must use nightly here as these are used in nightly jobs # For release jobs, we will pin these on the release branch keras-nightly ~= 3.12.0.dev tb-nightly ~= 2.20.0.a # For new protobuf, if V.x.y is gencode version, then runtime version U must be # V <= U <= V+1 # More info at https://protobuf.dev/support/cross-version-runtime-guarantee/ protobuf >= 5.28.0, < 7.0
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Jan 26 22:44:40 GMT 2026 - 1.2K bytes - Click Count (0) -
ci/official/requirements_updater/requirements.in
# Note that we must use nightly here as these are used in nightly jobs # For release jobs, we will pin these on the release branch keras-nightly ~= 3.12.0.dev tb-nightly ~= 2.20.0.a # For new protobuf, if V.x.y is gencode version, then runtime version U must be # V <= U <= V+1 # More info at https://protobuf.dev/support/cross-version-runtime-guarantee/ protobuf >= 5.28.0, < 7.0
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Mar 10 13:31:27 GMT 2026 - 1.5K bytes - Click Count (0)