- Sort Score
- Result 10 results
- Languages All
Results 731 - 740 of 805 for fdef (0.02 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
assertThat(response1a.body.string()).isEqualTo("ABC") // Fifth QUERY request with body "bar" again, should be cached and return "DEF" val response2a = client.newCall(request2).execute() assertThat(response2a.body.string()).isEqualTo("DEF") } @Test fun oneshotBodyIsNotCachedForQueryRequest() { server.enqueue( MockResponse .Builder()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 17:41:45 UTC 2025 - 116.8K bytes - Viewed (0) -
docs/ru/docs/tutorial/first-steps.md
**FastAPI** будет вызывать её каждый раз, когда получает запрос к URL «`/`» с операцией `GET`. В данном случае это асинхронная (`async`) функция. --- Вы также можете определить её как обычную функцию вместо `async def`: {* ../../docs_src/first_steps/tutorial003_py39.py hl[7] *} /// note | ПримечаниеRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 17.7K bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
```Python Settings() ``` a new `Settings` object would be created, and at creation it would read the `.env` file again. If the dependency function was just like: ```Python def get_settings(): return Settings() ``` we would create that object for each request, and we would be reading the `.env` file for each request. ⚠️
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 11.2K bytes - Viewed (0) -
docs/zh/docs/tutorial/first-steps.md
{* ../../docs_src/first_steps/tutorial001.py hl[7] *} 这是一个 Python 函数。 每当 **FastAPI** 接收一个使用 `GET` 方法访问 URL「`/`」的请求时这个函数会被调用。 在这个例子中,它是一个 `async` 函数。 --- 你也可以将其定义为常规函数而不使用 `async def`: {* ../../docs_src/first_steps/tutorial003.py hl[7] *} /// note 如果你不知道两者的区别,请查阅 [并发: *赶时间吗?*](../async.md#_1){.internal-link target=_blank}。 /// ### 步骤 5:返回内容Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 10.5K bytes - Viewed (0) -
docs/pt/docs/advanced/settings.md
```Python Settings() ``` um novo objeto `Settings` seria criado e, na criação, ele leria o arquivo `.env` novamente. Se a função de dependência fosse assim: ```Python def get_settings(): return Settings() ``` criaríamos esse objeto para cada requisição e leríamos o arquivo `.env` para cada requisição. ⚠️
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 13K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); // Compare that the graphs match. GraphDef expected_gdef; GraphDef gdef; EXPECT_TRUE(GetGraphDef(expected_graph_, &expected_gdef)); EXPECT_TRUE(GetGraphDef(graph_, &gdef)); TF_EXPECT_GRAPH_EQ(expected_gdef, gdef); // Compare that the output of the gradients of both graphs match. RunGraphsAndCompareOutputs(grad_outputs, expected_grad_outputs);
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Mon Nov 17 00:00:38 UTC 2025 - 97K bytes - Viewed (0) -
docs/pt/docs/tutorial/first-steps.md
Ela será chamada pelo **FastAPI** sempre que receber uma requisição para a URL "`/`" usando uma operação `GET`. Neste caso, é uma função `async`. --- Você também pode defini-la como uma função normal em vez de `async def`: {* ../../docs_src/first_steps/tutorial003_py39.py hl[7] *} /// note | Nota Se você não sabe a diferença, verifique o [Async: *"Com pressa?"*](../async.md#in-a-hurry){.internal-link target=_blank}. ///
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 13.6K bytes - Viewed (0) -
docs/es/docs/tutorial/first-steps.md
Será llamada por **FastAPI** cuando reciba un request en la URL "`/`" usando una operación `GET`. En este caso, es una función `async`. --- También podrías definirla como una función normal en lugar de `async def`: {* ../../docs_src/first_steps/tutorial003_py39.py hl[7] *} /// note | Nota Si no sabes la diferencia, Revisa la sección [Async: *"¿Tienes prisa?"*](../async.md#in-a-hurry){.internal-link target=_blank}.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 13.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
server.useHttps(handshakeCertificates.sslSocketFactory()) server.enqueue(MockResponse(body = "ABC")) server.enqueue(MockResponse(body = "DEF")) server.enqueue(MockResponse(body = "GHI")) assertContent("ABC", getResponse(newRequest("/"))) assertContent("DEF", getResponse(newRequest("/"))) assertContent("GHI", getResponse(newRequest("/"))) assertThat(hostnameVerifier.calls)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy
* * @param data the report data containing a description to parse * @return accepted api changes reported upon, as a file */ private static File getAcceptedApiChangesFile(RichReportData data) { def matcher = data.description =~ acceptedChangesRegex return new File(matcher[0][1]) } private static RichReportData enrichReport(RichReportData data) {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Feb 07 20:38:43 UTC 2023 - 7.2K bytes - Viewed (0)