- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 219 for 42 (0.01 sec)
-
docs/zh/docs/tutorial/path-params.md
} ] } ``` 这是因为路径参数 `item_id` 的值 (`"foo"`)的类型不是 `int`。 值的类型不是 `int ` 而是浮点数(`float`)时也会显示同样的错误,比如: <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2。</a> /// check | 检查 **FastAPI** 使用 Python 类型声明实现了数据校验。 注意,上面的错误清晰地指出了未通过校验的具体原因。 这在开发调试与 API 交互的代码时非常有用。 /// ## 查看文档Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Dec 15 16:43:19 UTC 2024 - 7.4K bytes - Viewed (0) -
docs/pt/docs/tutorial/path-params.md
porque o parâmetro de path `item_id` tinha o valor `"foo"`, que não é um `int`. O mesmo erro apareceria se você fornecesse um `float` em vez de um `int`, como em: <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a> /// check | Verifique Então, com a mesma declaração de tipo do Python, o **FastAPI** fornece validação de dados.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 9.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
return 42; } @Override public boolean equals(@Nullable Object o) { return o instanceof SerializableTicker; } } private static class SerializableWeigher<K, V> implements Weigher<K, V>, Serializable { @Override public int weigh(K key, V value) { return 42; } @Override public int hashCode() { return 42; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 117.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
return 42; } @Override public boolean equals(@Nullable Object o) { return o instanceof SerializableTicker; } } private static class SerializableWeigher<K, V> implements Weigher<K, V>, Serializable { @Override public int weigh(K key, V value) { return 42; } @Override public int hashCode() { return 42; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 115.9K bytes - Viewed (0) -
tests/test_tutorial/test_path_params_numeric_validations/test_tutorial005.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 6.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
} @SuppressWarnings("ReturnValueIgnored") public void testMaximumWeight_withWeigher() { CacheBuilder<Object, Object> builder = CacheBuilder.from(parse("maximumWeight=9000")); builder.weigher(constantWeigher(42)).build(CacheLoader.from(Suppliers.ofInstance(null))); } @SuppressWarnings("ReturnValueIgnored") public void testMaximumWeight_withoutWeigher() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 20.8K bytes - Viewed (0) -
docs/ko/docs/tutorial/path-params.md
} ] } ``` 경로 매개변수 `item_id`는 `int`가 아닌 `"foo"` 값이기 때문입니다. `int`가 아닌 `float`을 전달하는 경우에도 동일한 오류가 나타납니다: <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a> /// check | 확인 즉, 파이썬 타입 선언을 하면 **FastAPI**는 데이터 검증을 합니다. 오류에는 정확히 어느 지점에서 검증을 통과하지 못했는지 명시됩니다. 이는 API와 상호 작용하는 코드를 개발하고 디버깅하는 데 매우 유용합니다. /// ## 문서화Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 9.6K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/mips64.s
// LMOVH addr ',' rreg // { // outcode(int($1), &$2, 0, &$4); // } MOVH foo<>+3(SB), R2 MOVH (R20), R7 // 86870000 MOVH 54(R11), R26 // 857a0036 MOVH -42(R3), R20 // 8474ffd6 MOVHU (R20), R7 // 96870000 MOVHU 54(R11), R26 // 957a0036 MOVHU -42(R3), R20 // 9474ffd6 // LMOVB addr ',' rreg // { // outcode(int($1), &$2, 0, &$4); // } MOVB foo<>+3(SB), R2 MOVB (R4), R21 // 80950000
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Aug 08 12:17:12 UTC 2023 - 12.4K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/avx512enc/avx512f.s
VCMPPS $42, Z0, Z24, K2, K5 // 62f13c42c2e82a VCMPPS $42, Z26, Z24, K2, K5 // 62913c42c2ea2a VCMPPS $42, Z0, Z12, K2, K5 // 62f11c4ac2e82a VCMPPS $42, Z26, Z12, K2, K5 // 62911c4ac2ea2a VCMPPS $42, Z0, Z24, K2, K4 // 62f13c42c2e02a VCMPPS $42, Z26, Z24, K2, K4 // 62913c42c2e22a
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue May 22 14:57:15 UTC 2018 - 410.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblem.java
* Validation for Maven 4.0 POM format. */ V40, /** * Validation for Maven 4.1 POM format. */ V41, /** * Validation for Maven 4.2 POM format. */ V42 } /** * Gets the identifier of the model from which the problem originated. The identifier is derived from theRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Aug 07 14:31:13 UTC 2025 - 2.9K bytes - Viewed (0)