Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 231 for Startup (0.04 sec)

  1. docs_src/app_testing/tutorial003_py39.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    items = {}
    
    
    @app.on_event("startup")
    async def startup_event():
        items["foo"] = {"name": "Fighters"}
        items["bar"] = {"name": "Tenders"}
    
    
    @app.get("/items/{item_id}")
    async def read_items(item_id: str):
        return items[item_id]
    
    
    def test_read_items():
        with TestClient(app) as client:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 528 bytes
    - Viewed (0)
  2. docs/ru/docs/fastapi-cli.md

         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Waiting for application startup.
         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Application startup complete.
    ```
    
    </div>
    
    Приложение командной строки `fastapi` это и есть **FastAPI CLI**.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/testing-events.md

    # 测试事件:启动 - 关闭
    
    使用 `TestClient` 和 `with` 语句,在测试中运行事件处理器(`startup` 与 `shutdown`)。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 205 bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/index.md

         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Waiting for application startup.
         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Application startup complete.
    ```
    
    </div>
    
    It is **HIGHLY encouraged** that you write or copy the code, edit it and run it locally.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. docs/fr/docs/tutorial/index.md

    <span style="color: green;">INFO</span>:     Started server process [28722]
    <span style="color: green;">INFO</span>:     Waiting for application startup.
    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    Il est **FORTEMENT encouragé** que vous écriviez ou copiez le code, l'éditiez et l'exécutiez localement.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. docs/pt/llm-prompt.md

    * response (as in HTTP response): response (do not change if it's already translated to resposta)
    * shutdown (of the app): encerramento
    * shutdown event (of the app): evento de encerramento
    * startup (as in the event of the app): inicialização
    * startup event (as in the event of the app): evento de inicialização
    * Stream: Stream
    * string: string
    * type hints: anotações de tipo
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. cmd/grid.go

    // globalLockGrid is the global lock grid manager.
    var globalLockGrid atomic.Pointer[grid.Manager]
    
    // globalGridStart is a channel that will block startup of grid connections until closed.
    var globalGridStart = make(chan struct{})
    
    // globalLockGridStart is a channel that will block startup of lock grid connections until closed.
    var globalLockGridStart = make(chan struct{})
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/manually.md

         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Waiting for application startup.
         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Application startup complete.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AbstractService.java

      protected AbstractService() {}
    
      /**
       * This method is called by {@link #startAsync} to initiate service startup. The invocation of
       * this method should cause a call to {@link #notifyStarted()}, either during this method's run,
       * or after it has returned. If startup fails, the invocation should cause a call to {@link
       * #notifyFailed(Throwable)} instead.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  10. docs_src/events/tutorial001_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    items = {}
    
    
    @app.on_event("startup")
    async def startup_event():
        items["foo"] = {"name": "Fighters"}
        items["bar"] = {"name": "Tenders"}
    
    
    @app.get("/items/{item_id}")
    async def read_items(item_id: str):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 283 bytes
    - Viewed (0)
Back to top