- Sort Score
- Result 10 results
- Languages All
Results 5251 - 5260 of 5,397 for returns (0.06 sec)
-
docs/en/docs/tutorial/body.md
With just that Python type declaration, **FastAPI** will: * Read the body of the request as JSON. * Convert the corresponding types (if needed). * Validate the data. * If the data is invalid, it will return a nice and clear error, indicating exactly where and what was the incorrect data. * Give you the received data in the parameter `item`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:58:56 UTC 2025 - 7.1K bytes - Viewed (0) -
.teamcity/mvnw
# first directory with .mvn subdirectory is considered project base directory find_maven_basedir() { if [ -z "$1" ] then echo "Path not specified to find_maven_basedir" return 1 fi basedir="$1" wdir="$1" while [ "$wdir" != '/' ] ; do if [ -d "$wdir"/.mvn ] ; then basedir=$wdir break fi # workaround for JBEAP-8937 (on Solaris 10/Sparc)
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Wed Feb 26 01:48:39 UTC 2020 - 9.8K bytes - Viewed (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
@Resource private FileTransformer fileTransformer; @Resource private CrawlerContainer crawlerContainer; @Override protected String prepareConfigFile() { return "crawler.xml"; } public void test_execute_web() throws Exception { final CrawlerWebServer server = new CrawlerWebServer(7070); server.start();
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 12.8K bytes - Viewed (0) -
docs/changelogs/changelog_1x.md
* Fix: Respect read timeouts on recycled connections. * Fix: Transmit multiple cookie values as a single header with delimiter. * Fix: Ensure `null` is never returned from a connection's `getHeaderFields()`. * Fix: Persist proper `Content-Encoding` header to cache for GZip responses. * Fix: Eliminate rare race condition in SPDY streams that would prevent connection reuse.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 6.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
assertThat(Longs.toArray(list.subList(2, 2))).isEqualTo(new long[] {}); } // `primitives` can't depend on `collect`, so this is what the prod code has to return. @SuppressWarnings("EmptyList") public void testAsListEmpty() { assertThat(Longs.asList(EMPTY)).isSameInstanceAs(Collections.emptyList()); } @J2ktIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 28.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
assertThat(Shorts.toArray(list.subList(2, 2))).isEqualTo(new short[] {}); } // `primitives` can't depend on `collect`, so this is what the prod code has to return. @SuppressWarnings("EmptyList") public void testAsListEmpty() { assertThat(Shorts.asList(EMPTY)).isSameInstanceAs(Collections.emptyList()); } @J2ktIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0) -
docs/es/docs/advanced/response-directly.md
Por defecto, **FastAPI** convertiría automáticamente ese valor de retorno a JSON usando el `jsonable_encoder` explicado en [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 17:46:44 UTC 2024 - 3.2K bytes - Viewed (0) -
docs/ja/docs/tutorial/handling-errors.md
### コード内での`HTTPException`の発生 `HTTPException`は通常のPythonの例外であり、APIに関連するデータを追加したものです。 Pythonの例外なので、`return`ではなく、`raise`です。 これはまた、*path operation関数*の内部で呼び出しているユーティリティ関数の内部から`HTTPException`を発生させた場合、*path operation関数*の残りのコードは実行されず、そのリクエストを直ちに終了させ、`HTTPException`からのHTTPエラーをクライアントに送信することを意味します。 値を返す`return`よりも例外を発生させることの利点は、「依存関係とセキュリティ」のセクションでより明確になります。 この例では、クライアントが存在しないIDでアイテムを要求した場合、`404`のステータスコードを持つ例外を発生させます:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Jun 22 14:35:27 UTC 2025 - 11.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
* code shouldn't use these, they're necessary for clients migrating from OkHttp 3.x and this test * ensures the symbols remain available and with the expected parameter and return types. */ @Suppress( "DEPRECATION_ERROR", "UNUSED_VALUE", "UNUSED_VARIABLE", "VARIABLE_WITH_REDUNDANT_INITIALIZER", ) class KotlinDeprecationErrorTest { private val factory = TestValueFactory()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
} @Test public void testCanCacheDirectoryListing() { String directoryPath = "/test/dir"; Smb2LeaseKey leaseKey = new Smb2LeaseKey(); // No cache entry - should return false assertFalse(directoryLeaseManager.canCacheDirectoryListing(directoryPath)); // Create cache entry with read lease when(baseLeaseManager.requestLease(anyString(), anyInt())).thenReturn(leaseKey);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0)