Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 1,118 for startUp (0.05 seconds)

  1. docs/ru/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 Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:37:11 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  2. docs/ja/docs/deployment/server-workers.md

    [19515] [INFO] Booting worker with pid: 19515
    [19511] [INFO] Started server process [19511]
    [19511] [INFO] Waiting for application startup.
    [19511] [INFO] Application startup complete.
    [19513] [INFO] Started server process [19513]
    [19513] [INFO] Waiting for application startup.
    [19513] [INFO] Application startup complete.
    [19514] [INFO] Started server process [19514]
    [19514] [INFO] Waiting for application startup.
    [19514] [INFO] Application startup complete.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Aug 06 04:48:30 GMT 2024
    - 11.2K bytes
    - Click Count (0)
  3. docs/ru/docs/advanced/events.md

    ///
    
    Есть альтернативный способ определить логику, которую нужно выполнить во время startup и во время shutdown.
    
    Вы можете определить обработчики событий (функции), которые нужно выполнить до старта приложения или при его завершении.
    
    Эти функции можно объявить с `async def` или обычным `def`.
    
    ### Событие `startup` { #startup-event }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  4. docs/es/docs/advanced/events.md

    Hay una forma alternativa de definir esta lógica para ser ejecutada durante el *startup* y durante el *shutdown*.
    
    Puedes definir manejadores de eventos (funciones) que necesitan ser ejecutadas antes de que la aplicación se inicie, o cuando la aplicación se está cerrando.
    
    Estas funciones pueden ser declaradas con `async def` o `def` normal.
    
    ### Evento `startup` { #startup-event }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  5. docs/pt/docs/advanced/events.md

    Essas funções podem ser declaradas com `async def` ou `def` normal.
    
    ### Evento `startup` { #startup-event }
    
    Para adicionar uma função que deve rodar antes de a aplicação iniciar, declare-a com o evento `"startup"`:
    
    {* ../../docs_src/events/tutorial001_py39.py hl[8] *}
    
    Nesse caso, a função de manipulador do evento `startup` inicializará os itens do "banco de dados" (apenas um `dict`) com alguns valores.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  6. 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_py39.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 Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 626 bytes
    - Click Count (0)
  7. docs/ru/docs/advanced/testing-events.md

    # Тестирование событий: lifespan и startup - shutdown { #testing-events-lifespan-and-startup-shutdown }
    
    Если вам нужно, чтобы `lifespan` выполнялся в ваших тестах, вы можете использовать `TestClient` вместе с оператором `with`:
    
    {* ../../docs_src/app_testing/tutorial004_py39.py hl[9:15,18,27:28,30:32,41:43] *}
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 902 bytes
    - Click Count (0)
  8. docs/es/docs/advanced/testing-events.md

    # Eventos de testing: lifespan y startup - shutdown { #testing-events-lifespan-and-startup-shutdown }
    
    Cuando necesitas que `lifespan` se ejecute en tus tests, puedes usar el `TestClient` con un statement `with`:
    
    {* ../../docs_src/app_testing/tutorial004_py39.py hl[9:15,18,27:28,30:32,41:43] *}
    
    
    Puedes leer más detalles sobre ["Ejecutar lifespan en tests en el sitio oficial de documentación de Starlette."](https://www.starlette.dev/lifespan/#running-lifespan-in-tests)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 632 bytes
    - Click Count (0)
  9. docs/en/docs/deployment/concepts.md

    ### Run Automatically on Startup { #run-automatically-on-startup }
    
    In general, you will probably want the server program (e.g. Uvicorn) to be started automatically on server startup, and without needing any **human intervention**, to have a process always running with your API (e.g. Uvicorn running your FastAPI app).
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 18.6K bytes
    - Click Count (1)
  10. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 7.5K bytes
    - Click Count (0)
Back to Top