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

Fix the warning message under fastapi dev runs #213

Merged
merged 1 commit into from
Feb 21, 2025
Merged

Conversation

qianl15
Copy link
Member

@qianl15 qianl15 commented Feb 21, 2025

Previously, fastapi dev would print a warning message DBOS exiting; DBOS exists but launch() was not called. This is caused by the reloader loading the file but not running it. With this PR, the warning message won't show up if the DBOS is initialized with a FastAPI app.

@qianl15 qianl15 merged commit da7b5a3 into main Feb 21, 2025
5 checks passed
@qianl15 qianl15 deleted the qian/fix-fastapi-dev branch February 21, 2025 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants