- Sort Score
- Result 10 results
- Languages All
Results 2101 - 2110 of 3,892 for TRUE (0.02 sec)
-
tests/test_validate_response.py
assert response.status_code == 200 assert data == {"name": "invalid", "price": 3.2, "owner_ids": None} def test_valid_none_none(): response = client.get("/items/validnone", params={"send_none": "true"}) data = response.json() assert response.status_code == 200 assert data is None def test_double_invalid(): with pytest.raises(ResponseValidationError): client.get("/items/innerinvalid")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 2K bytes - Viewed (0) -
internal/crypto/auto-encryption.go
// request into an SSE-S3 request. // If present EnvAutoEncryption must be either "on" or "off". EnvKMSAutoEncryption = "MINIO_KMS_AUTO_ENCRYPTION" ) // LookupAutoEncryption returns true if and only if // the MINIO_KMS_AUTO_ENCRYPTION env. variable is // set to "on". func LookupAutoEncryption() bool { auto, _ := config.ParseBool(env.Get(EnvKMSAutoEncryption, config.EnableOff)) return auto
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 1.4K bytes - Viewed (0) -
ci/official/requirements_updater/BUILD.bazel
compile_pip_requirements( name = "requirements", extra_args = [ "--allow-unsafe", "--build-isolation", "--rebuild", ], generate_hashes = True, requirements_in = "requirements.in", requirements_txt = REQUIREMENTS,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Jun 29 00:19:18 UTC 2024 - 1K bytes - Viewed (0) -
guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/TestPlatform.java
* limitations under the License. */ package com.google.common.primitives; import com.google.common.annotations.GwtCompatible; @GwtCompatible(emulated = true) class TestPlatform { static int reduceIterationsIfGwt(int iterations) { return iterations / 10; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 07 20:59:23 UTC 2017 - 834 bytes - Viewed (0) -
association.go
} func (association *Association) Unscoped() *Association { return &Association{ DB: association.DB, Relationship: association.Relationship, Error: association.Error, Unscope: true, } } func (association *Association) Find(out interface{}, conds ...interface{}) error { if association.Error == nil { association.Error = association.buildCondition().Find(out, conds...).Error }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 21.5K bytes - Viewed (0) -
tests/hooks_test.go
DB.Model(&product).Session(&gorm.Session{SkipHooks: true}).Updates(Product3{Code: "L1216"}) if product.Price != 320 || product.Code != "L1216" { t.Errorf("invalid data after update, got %+v", product) } var result2 Product3 DB.First(&result2, product.ID) AssertEqual(t, result2, product) product2 := Product3{Name: "Product", Price: 0} DB.Session(&gorm.Session{SkipHooks: true}).Create(&product2)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 17 03:59:06 UTC 2024 - 16.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MultipartBodyTest.kt
""".trimMargin().replace("\n", "\r\n") val body = MultipartBody.Builder("123") .addPart("Hello, World!".toOneShotRequestBody()) .build() assertThat(body.isOneShot()).isEqualTo(true) val buffer = Buffer() body.writeTo(buffer) assertThat(body.contentLength()).isEqualTo(buffer.size) assertThat(buffer.readUtf8()).isEqualTo(expected) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.4K bytes - Viewed (0) -
tests/callbacks_test.go
}, { callbacks: []callback{{h: c1}, {h: c2, before: "c4", after: "c5"}, {h: c3}, {h: c4}, {h: c5}, {h: c2, remove: true}}, results: []string{"c1", "c3", "c4", "c5"}, }, { callbacks: []callback{{h: c1}, {name: "c", h: c2}, {h: c3}, {name: "c", h: c4, replace: true}}, results: []string{"c1", "c4", "c3"}, }, {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 26 03:33:36 UTC 2024 - 7.2K bytes - Viewed (0) -
cmd/postpolicyform_test.go
success: true, }, } for _, testCase := range testCases { testCase := testCase t.Run("", func(t *testing.T) { _, err := parsePostPolicyForm(strings.NewReader(testCase.policy)) if testCase.success && err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 8.9K bytes - Viewed (0) -
test-site/activator.bat
if "%_JAVACCMD%"=="" set _JAVACCMD=javac for /F %%j in ('"%_JAVACCMD%" -version 2^>^&1') do ( if %%~j==javac set JAVACINSTALLED=1 ) rem BAT has no logical or, so we do it OLD SCHOOL! Oppan Redmond Style set JAVAOK=true if not defined JAVAINSTALLED set JAVAOK=false if not defined JAVACINSTALLED set JAVAOK=false if "%JAVAOK%"=="false" ( echo. echo A Java JDK is not installed or can't be found. if not "%JAVA_HOME%"=="" (
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Mon Apr 20 08:41:37 UTC 2015 - 7.2K bytes - Viewed (0)