Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 45 for Lifespan (0.04 sec)

  1. tests/test_tutorial/test_sql_databases/test_tutorial001.py

            pytest.param("tutorial001_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()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 14K bytes
    - Viewed (0)
  2. docs/en/docs/_llm-test.md

    * the cookie parameter
    * the header parameter
    * the form parameter
    * the function parameter
    
    * the event
    * the startup event
    * the startup of the server
    * the shutdown event
    * the lifespan event
    
    * the handler
    * the event handler
    * the exception handler
    * to handle
    
    * the model
    * the Pydantic model
    * the data model
    * the database model
    * the form model
    * the model object
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 14:48:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. docs/pt/docs/_llm-test.md

    * o parâmetro de header
    * o parâmetro de formulário
    * o parâmetro da função
    
    * o evento
    * o evento de inicialização
    * a inicialização do servidor
    * o evento de encerramento
    * o evento de lifespan
    
    * o manipulador
    * o manipulador de eventos
    * o manipulador de exceções
    * tratar
    
    * o modelo
    * o modelo Pydantic
    * o modelo de dados
    * o modelo de banco de dados
    * o modelo de formulário
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:17:03 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. docs/es/docs/_llm-test.md

    * el parámetro de header
    * el parámetro del formulario
    * el parámetro de la función
    
    * el evento
    * el evento de inicio
    * el inicio del servidor
    * el evento de apagado
    * el evento de lifespan
    
    * el manejador
    * el manejador de eventos
    * el manejador de excepciones
    * manejar
    
    * el modelo
    * el modelo de Pydantic
    * el modelo de datos
    * el modelo de base de datos
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:16:35 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. fastapi/applications.py

                    You should instead use the `lifespan` handlers.
    
                    Read more in the
                    [FastAPI docs for `lifespan`](https://fastapi.tiangolo.com/advanced/events/).
                    """
                ),
            ] = None,
            lifespan: Annotated[
                Optional[Lifespan[AppType]],
                Doc(
                    """
                    A `Lifespan` context manager handler. This replaces `startup` and
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 176.3K bytes
    - Viewed (0)
  6. 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()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  7. 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.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 19:34:08 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  8. 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.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  9. docs/es/docs/deployment/https.md

    Los dominios son verificados de manera segura y los certificados se generan automáticamente. Esto también permite automatizar la renovación de estos certificados.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. 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}.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 44.7K bytes
    - Viewed (0)
Back to top