Skip to content

Starting FastAPI 0.94.0 startup / shutdown events are decpricated  #7

Description

@quizmoon

Starting of FastAPI 0.94.0 the "startup / shutdown" events are deprecated and the "lifespan" has been introduced:
https://fastapi.tiangolo.com/advanced/events/#lifespan

Would be great to have support of "lifespan" in taskiq-fastapi or example how to avoid duplication of startup / shutdown calls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions