- Sort Score
- Num 10 results
- Language All
Results 7271 - 7280 of 7,804 for RETURN (0.21 seconds)
-
pom.xml
</executions> <configuration> <failOnError>false</failOnError> <ignored> <difference> <!-- seems to be a clirr bug that it cannot handle the different inherited return types --> <className>**</className> <differenceType>7006</differenceType> <method>*</method> <from>*</from> <to>*</to> </difference> <difference>
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 12.1K bytes - Click Count (0) -
docs/en/docs/environment-variables.md
import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tip The second argument to [`os.getenv()`](https://docs.python.org/3.8/library/os.html#os.getenv) is the default value to return. If not provided, it's `None` by default, here we provide `"World"` as the default value to use. /// Then you could call that Python program: //// tab | Linux, macOS, Windows Bash <div class="termy">
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7.9K bytes - Click Count (0) -
docs/zh/docs/tutorial/server-sent-events.md
你也可以使用常规的 `def` 函数(没有 `async`),并以同样的方式使用 `yield`。 FastAPI 会确保其正确运行,从而不阻塞事件循环。 由于此时函数不是 async,正确的返回类型应为 `Iterable[Item]`: {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[28:31] hl[29] *} ### 无返回类型 { #no-return-type } 你也可以省略返回类型。FastAPI 将使用 [`jsonable_encoder`](./encoder.md) 转换数据并发送。 {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[34:37] hl[35] *} ## `ServerSentEvent` { #serversentevent }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:29:48 GMT 2026 - 4.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy
where: implicitMethod << ["values", "valueOf"] } private def paramStub(String type) { def stub = Stub(JApiParameter) stub.type >> type return stub } AbstractContextAwareViolationRule withContext(AbstractContextAwareViolationRule rule) { rule.context = new ViolationCheckContext() { @OverrideCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jun 06 17:52:09 GMT 2025 - 16K bytes - Click Count (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
when(this.config.isDisableSpnegoIntegrity()).thenReturn(false); this.mechs = new ASN1ObjectIdentifier[] { new ASN1ObjectIdentifier("1.2.3.4") }; } private SpnegoContext newContext() { return new SpnegoContext(this.config, this.mechContext, this.mechs); } @Test @DisplayName("getSupportedMechs returns SPNEGO OID") void testGetSupportedMechs() { SpnegoContext ctx = newContext();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
docs/ja/docs/tutorial/server-sent-events.md
イベントループをブロックしないよう、FastAPI が正しく実行されるように調整します。 この場合は関数が async ではないため、適切な戻り値の型は `Iterable[Item]` です: {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[28:31] hl[29] *} ### 戻り値の型なし { #no-return-type } 戻り値の型を省略することもできます。FastAPI は [`jsonable_encoder`](./encoder.md) を使ってデータを変換し、送信します。 {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[34:37] hl[35] *} ## `ServerSentEvent` { #serversentevent }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:55:22 GMT 2026 - 5.8K bytes - Click Count (0) -
tests/test_include_router_defaults_overrides.py
callbacks=callback_router1.routes, dependencies=[Depends(dep1)], response_class=ResponseLevel1, ) async def path1_override(level1: str): return level1 @app.get("/default1") async def path1_default(level1: str): return level1 @router2_override.get( "/override3", tags=["path3a", "path3b"], responses={ 403: {"description": "Client error level 3"},Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 385.6K bytes - Click Count (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)Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 26 01:48:39 GMT 2020 - 9.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt
var first = true override fun createSocket(): Socket { if (first) { first = false firstConnectLatch.await() } return super.createSocket() } } client = client .newBuilder() .protocols(listOf(Protocol.H2_PRIOR_KNOWLEDGE)) .socketFactory(socketFactory)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.6K bytes - Click Count (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()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 13.3K bytes - Click Count (0)