- Sort Score
- Result 10 results
- Languages All
Results 3881 - 3890 of 6,918 for RETURN (0.05 sec)
-
docs_src/request_files/tutorial001_03_an.py
app = FastAPI() @app.post("/files/") async def create_file(file: Annotated[bytes, File(description="A file read as bytes")]): return {"file_size": len(file)} @app.post("/uploadfile/") async def create_upload_file( file: Annotated[UploadFile, File(description="A file read as UploadFile")], ):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 431 bytes - Viewed (0) -
docs_src/separate_openapi_schemas/tutorial001_py310.py
class Item(BaseModel): name: str description: str | None = None app = FastAPI() @app.post("/items/") def create_item(item: Item): return item @app.get("/items/") def read_items() -> list[Item]: return [ Item( name="Portal Gun", description="Device to travel through the multi-rick-verse", ), Item(name="Plumbus"),
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 25 19:10:22 UTC 2023 - 451 bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
if (cacheResponse.code != HttpURLConnection.HTTP_GATEWAY_TIMEOUT) { return cacheResponse } } catch (ioe: IOException) { // Failures are ignored as we can fallback to the network // and hopefully repopulate the cache. } } return null } @Throws(Exception::class) private fun readResponse( hostname: String,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Oct 31 09:27:31 UTC 2024 - 9.8K bytes - Viewed (0) -
docs_src/separate_openapi_schemas/tutorial002_py310.py
name: str description: str | None = None app = FastAPI(separate_input_output_schemas=False) @app.post("/items/") def create_item(item: Item): return item @app.get("/items/") def read_items() -> list[Item]: return [ Item( name="Portal Gun", description="Device to travel through the multi-rick-verse", ), Item(name="Plumbus"),
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 25 19:10:22 UTC 2023 - 486 bytes - Viewed (0) -
docs_src/wsgi/tutorial001.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue May 09 14:32:00 UTC 2023 - 443 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingListMultimapTest.java
.addEqualityGroup(map2, wrap(map2)) .testEquals(); } private static <K, V> ListMultimap<K, V> wrap(final ListMultimap<K, V> delegate) { return new ForwardingListMultimap<K, V>() { @Override protected ListMultimap<K, V> delegate() { return delegate; } }; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingListMultimapTest.java
.addEqualityGroup(map2, wrap(map2)) .testEquals(); } private static <K, V> ListMultimap<K, V> wrap(final ListMultimap<K, V> delegate) { return new ForwardingListMultimap<K, V>() { @Override protected ListMultimap<K, V> delegate() { return delegate; } }; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingSetMultimapTest.java
.addEqualityGroup(map2, wrap(map2)) .testEquals(); } private static <K, V> SetMultimap<K, V> wrap(final SetMultimap<K, V> delegate) { return new ForwardingSetMultimap<K, V>() { @Override protected SetMultimap<K, V> delegate() { return delegate; } }; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 1.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt
assertThat(e).matchesPredicate { it is CallStart || it is Canceled } } else { eventSequence.forEach loop@{ when (e.closes(it)) { null -> return // no open event true -> return // found open event false -> return@loop // this is not the open event so continue } } fail<Any>("event $e without matching start event") } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9K bytes - Viewed (0) -
.teamcity/src/test/kotlin/CIConfigIntegrationTests.kt
val runnerStep = this.steps.items.find { it.name == "GRADLE_RUNNER" } as GradleBuildStep return runnerStep.tasks!! } private fun BaseGradleBuildType.getGradleParams(): String { val runnerStep = this.steps.items.find { it.name == "GRADLE_RUNNER" } as GradleBuildStep return runnerStep.gradleParams!! } @Test fun canSplitLargeProjects() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jul 18 07:02:47 UTC 2024 - 13.4K bytes - Viewed (0)