Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 38 of 38 for Lifespan (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_tutorial/test_sql_databases/test_tutorial002.py

            pytest.param("tutorial002_an_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        clear_sqlmodel()
        # TODO: remove when updating SQL tutorial to use new lifespan API
        with warnings.catch_warnings(record=True):
            warnings.simplefilter("always")
            mod = importlib.import_module(f"docs_src.sql_databases.{request.param}")
            clear_sqlmodel()
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  2. docs/en/docs/deployment/https.md

    The domains are securely verified and the certificates are generated automatically. This also allows automating the renewal of these certificates.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 19:34:08 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  3. docs/pt/docs/deployment/https.md

    Os domínios são verificados com segurança e os certificados são gerados automaticamente. Isso também permite automatizar a renovação desses certificados.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  4. docs/ru/docs/deployment/docker.md

    ⛔️ **Shell**-форма:
    
    ```Dockerfile
    # ⛔️ Не делайте так
    CMD fastapi run app/main.py --port 80
    ```
    
    Обязательно используйте **exec**-форму, чтобы FastAPI мог корректно завершаться и чтобы срабатывали [события lifespan](../advanced/events.md){.internal-link target=_blank}.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 44.7K bytes
    - Click Count (0)
  5. docs/en/docs/deployment/docker.md

    ```
    
    ⛔️ **Shell** form:
    
    ```Dockerfile
    # ⛔️ Don't do this
    CMD fastapi run app/main.py --port 80
    ```
    
    Make sure to always use the **exec** form to ensure that FastAPI can shutdown gracefully and [lifespan events](../advanced/events.md){.internal-link target=_blank} are triggered.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 12:58:04 GMT 2025
    - 29.5K bytes
    - Click Count (1)
  6. docs/de/docs/deployment/docker.md

    ```Dockerfile
    # ⛔️ Tun Sie das nicht
    CMD fastapi run app/main.py --port 80
    ```
    
    Achten Sie darauf, stets die **exec** form zu verwenden, um sicherzustellen, dass FastAPI ordnungsgemäß heruntergefahren wird und [Lifespan-Events](../advanced/events.md){.internal-link target=_blank} ausgelöst werden.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 02 17:32:56 GMT 2025
    - 33.6K bytes
    - Click Count (0)
  7. docs/pt/docs/deployment/docker.md

    ```Dockerfile
    # ⛔️ Não faça assim
    CMD fastapi run app/main.py --port 80
    ```
    
    Garanta que você sempre use a forma **exec** para assegurar que o FastAPI consiga encerrar graciosamente e que os [eventos de lifespan](../advanced/events.md){.internal-link target=_blank} sejam disparados.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 32.1K bytes
    - Click Count (0)
  8. docs/es/docs/deployment/docker.md

    ```Dockerfile
    # ⛔️ No hagas esto
    CMD fastapi run app/main.py --port 80
    ```
    
    Asegúrate de siempre usar la **forma exec** para garantizar que FastAPI pueda cerrarse de manera adecuada y que [los eventos de lifespan](../advanced/events.md){.internal-link target=_blank} sean disparados.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 32K bytes
    - Click Count (0)
Back to Top