- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 1,499 for starete (0.12 seconds)
-
docs/pt/docs/advanced/testing-events.md
{* ../../docs_src/app_testing/tutorial004_py310.py hl[9:15,18,27:28,30:32,41:43] *} Você pode ler mais detalhes sobre o ["Executando lifespan em testes no site oficial da documentação do Starlette."](https://www.starlette.dev/lifespan/#running-lifespan-in-tests) Para os eventos `startup` e `shutdown` descontinuados, você pode usar o `TestClient` da seguinte forma:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:48:53 GMT 2026 - 687 bytes - Click Count (0) -
docs/ko/docs/advanced/response-cookies.md
또한 `response_model`로 필터링되어야 했던 데이터를 전송하지 않도록 하세요. /// ### 추가 정보 { #more-info } /// note | 기술 세부사항 `from starlette.responses import Response` 또는 `from starlette.responses import JSONResponse`를 사용할 수도 있습니다. **FastAPI**는 개발자의 편의를 위해 `fastapi.responses`로 동일한 `starlette.responses`를 제공합니다. 하지만 사용 가능한 대부분의 응답은 Starlette에서 직접 제공됩니다. 또한 `Response`는 헤더와 쿠키를 설정하는 데 자주 사용되므로, **FastAPI**는 이를 `fastapi.Response`로도 제공합니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 2.5K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/testing-events.md
當你需要在測試中執行 lifespan(生命週期)時,你可以使用 TestClient 並搭配 with 陳述式: {* ../../docs_src/app_testing/tutorial004_py310.py hl[9:15,18,27:28,30:32,41:43] *} 你可以閱讀更多細節:[在測試中執行 lifespan](https://www.starlette.dev/lifespan/#running-lifespan-in-tests)(Starlette 官方文件)。 對於已棄用的 `startup` 和 `shutdown` 事件,你可以這樣使用 TestClient:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:15:26 GMT 2026 - 618 bytes - Click Count (0) -
src/main/webapp/js/chat.js
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 01:36:02 GMT 2026 - 30.6K bytes - Click Count (0) -
docs/tr/docs/tutorial/static-files.md
{* ../../docs_src/static_files/tutorial001_py310.py hl[2,6] *} /// note | Teknik Detaylar `from starlette.staticfiles import StaticFiles` da kullanabilirsiniz. **FastAPI**, geliştirici olarak size kolaylık olsun diye `starlette.staticfiles`'ı `fastapi.staticfiles` olarak da sağlar. Ancak aslında doğrudan Starlette'den gelir. /// ### "Mounting" Nedir { #what-is-mounting }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 1.8K bytes - Click Count (0) -
docs/zh/docs/advanced/additional-status-codes.md
当你直接返回一个像上面例子中的 `Response` 对象时,它会直接返回。 它不会用模型等进行序列化。 确保其中有你想要的数据,且返回的值为合法的 JSON(如果你使用 `JSONResponse` 的话)。 /// /// note | 技术细节 你也可以使用 `from starlette.responses import JSONResponse`。 出于方便,**FastAPI** 为开发者提供同 `starlette.responses` 一样的 `fastapi.responses`。但是大多数可用的响应都是直接来自 Starlette。`status` 也是一样。 /// ## OpenAPI 和 API 文档 { #openapi-and-api-docs } 如果你直接返回额外的状态码和响应,它们不会包含在 OpenAPI 方案(API 文档)中,因为 FastAPI 没办法预先知道你要返回什么。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 1.9K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rerun/executer/RerunTestResultProcessor.java
this.delegate = delegate; } @Override public void started(TestDescriptorInternal descriptor, TestStartEvent testStartEvent) { activeDescriptorsById.put(descriptor.getId(), descriptor); if (rootTestDescriptor == null) { rootTestDescriptor = descriptor; try { delegate.started(descriptor, testStartEvent);Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 4.6K bytes - Click Count (0) -
docs/pt/docs/advanced/websockets.md
/// ## Mais informações { #more-info } Para aprender mais sobre as opções, verifique a documentação do Starlette para: * [A classe `WebSocket`](https://www.starlette.dev/websockets/).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 5.6K bytes - Click Count (0) -
docs/tr/docs/tutorial/testing.md
# Test Etme { #testing } [Starlette](https://www.starlette.dev/testclient/) sayesinde **FastAPI** uygulamalarını test etmek kolay ve keyiflidir. Temelde [HTTPX](https://www.python-httpx.org) üzerine kuruludur; HTTPX de Requests’i temel alarak tasarlandığı için oldukça tanıdık ve sezgiseldir. Bununla birlikte **FastAPI** ile [pytest](https://docs.pytest.org/)'i doğrudan kullanabilirsiniz. ## `TestClient` Kullanımı { #using-testclient } /// info | BilgiCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 6.3K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/additional-status-codes.md
不會再經過模型序列化等處理。 請確認其中包含你要的資料,且各值是合法的 JSON(如果你使用的是 `JSONResponse`)。 /// /// note | 技術細節 你也可以使用 `from starlette.responses import JSONResponse`。 **FastAPI** 也將同樣的 `starlette.responses` 以 `fastapi.responses` 的形式提供,純粹是為了讓你(開發者)更方便。但大多數可用的回應類別其實都直接來自 Starlette。`status` 也一樣。 /// ## OpenAPI 與 API 文件 { #openapi-and-api-docs } 如果你直接回傳額外的狀態碼與回應,它們不會被包含進 OpenAPI 綱要(API 文件)中,因為 FastAPI 無法事先知道你會回傳什麼。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 1.8K bytes - Click Count (0)