Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next: Remove deprecated app.on_event usage in api runner #5824

Merged
merged 3 commits into from
Feb 29, 2024

Conversation

brandonrising
Copy link
Collaborator

@brandonrising brandonrising commented Feb 28, 2024

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Community Node Submission

Have you discussed this change with the InvokeAI team?

  • Yes
  • No, because:

Have you updated all relevant documentation?

  • Yes
  • No

Description

FastAPI is deprecating app.on_event which we currently use as our startup and shutdown hooks. FastAPI recommends replacing it with this lifespan feature.

@github-actions github-actions bot added the python PRs that change python files label Feb 28, 2024
@psychedelicious psychedelicious enabled auto-merge (rebase) February 29, 2024 08:56
@github-actions github-actions bot added the backend PRs that change backend files label Feb 29, 2024
@psychedelicious psychedelicious merged commit e5d9f33 into next Feb 29, 2024
6 checks passed
@psychedelicious psychedelicious deleted the next-remove-deprecated-events branch February 29, 2024 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend PRs that change backend files python PRs that change python files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants