- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 733 for startup (0.31 seconds)
-
docs/en/docs/advanced/events.md
These functions can be declared with `async def` or normal `def`. ### `startup` event { #startup-event } To add a function that should be run before the application starts, declare it with the event `"startup"`: {* ../../docs_src/events/tutorial001_py310.py hl[8] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7.8K bytes - Click Count (0) -
docs/zh/docs/deployment/server-workers.md
<font color="#A6E22E">INFO</font>: Application startup complete. <font color="#A6E22E">INFO</font>: Started server process [<font color="#A1EFE4">27370</font>] <font color="#A6E22E">INFO</font>: Waiting for application startup. <font color="#A6E22E">INFO</font>: Application startup complete. <font color="#A6E22E">INFO</font>: Started server process [<font color="#A1EFE4">27367</font>]
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8K bytes - Click Count (0) -
docs/zh-hant/docs/deployment/server-workers.md
<font color="#A6E22E">INFO</font>: Application startup complete. <font color="#A6E22E">INFO</font>: Started server process [<font color="#A1EFE4">27370</font>] <font color="#A6E22E">INFO</font>: Waiting for application startup. <font color="#A6E22E">INFO</font>: Application startup complete. <font color="#A6E22E">INFO</font>: Started server process [<font color="#A1EFE4">27367</font>]
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 7.8K bytes - Click Count (0) -
docs/ja/docs/deployment/server-workers.md
<font color="#A6E22E">INFO</font>: Application startup complete. <font color="#A6E22E">INFO</font>: Started server process [<font color="#A1EFE4">27370</font>] <font color="#A6E22E">INFO</font>: Waiting for application startup. <font color="#A6E22E">INFO</font>: Application startup complete. <font color="#A6E22E">INFO</font>: Started server process [<font color="#A1EFE4">27367</font>]
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 9.1K bytes - Click Count (0) -
docs/en/docs/deployment/server-workers.md
<font color="#A6E22E">INFO</font>: Application startup complete. <font color="#A6E22E">INFO</font>: Started server process [<font color="#A1EFE4">27370</font>] <font color="#A6E22E">INFO</font>: Waiting for application startup. <font color="#A6E22E">INFO</font>: Application startup complete. <font color="#A6E22E">INFO</font>: Started server process [<font color="#A1EFE4">27367</font>]
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.2K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/testing-events.md
# 測試事件:lifespan 與 startup - shutdown { #testing-events-lifespan-and-startup-shutdown } 當你需要在測試中執行 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) -
docs/en/docs/advanced/testing-events.md
# Testing Events: lifespan and startup - shutdown { #testing-events-lifespan-and-startup-shutdown } When you need `lifespan` to run in your tests, you can use the `TestClient` with a `with` statement: {* ../../docs_src/app_testing/tutorial004_py310.py hl[9:15,18,27:28,30:32,41:43] *} You can read more details about the ["Running lifespan in tests in the official Starlette documentation site."](https://www.starlette.dev/lifespan/#running-lifespan-in-tests)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 628 bytes - Click Count (0) -
docs/zh/docs/advanced/testing-events.md
# 测试事件:lifespan 和 startup - shutdown { #testing-events-lifespan-and-startup-shutdown } 当你需要在测试中运行 `lifespan` 时,可以将 `TestClient` 与 `with` 语句一起使用: {* ../../docs_src/app_testing/tutorial004_py310.py hl[9:15,18,27:28,30:32,41:43] *} 你可以在[官方 Starlette 文档站点的“在测试中运行 lifespan”](https://www.starlette.dev/lifespan/#running-lifespan-in-tests)阅读更多细节。 对于已弃用的 `startup` 和 `shutdown` 事件,可以按如下方式使用 `TestClient`:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:37:57 GMT 2026 - 622 bytes - Click Count (0) -
docs/de/llm-prompt.md
* the return type: der Rückgabetyp * the return value: der Rückgabewert * the startup (the event of the app): der Startup * the shutdown (the event of the app): der Shutdown * the startup event: das Startup-Event * the shutdown event: das Shutdown-Event * the startup (of the server): das Hochfahren * the startup (the company): das Startup * the SDK: das SDK * the tag: der Tag * the type annotation: die Typannotation
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Dec 29 18:54:20 GMT 2025 - 9.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java
public void testStart_failed() { Exception exception = new Exception("deliberate"); TestService service = new TestService() { @Override protected void startUp() throws Exception { super.startUp(); throw exception; } }; assertEquals(0, service.startUpCalled); RuntimeException e =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 7.7K bytes - Click Count (0)