-
Notifications
You must be signed in to change notification settings - Fork 84
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
Correctly await sendSMS #413
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems reasonable. I wonder if mypy or similar could have spotted this; doesn't look like it's setup for sydent.
Likely broke when converting to async/await in v2.4.0. We believe running the function in a fire-and-forget worked with inline callbacks and would run the function in the background, but would just not run it when using the async/await syntax. |
Related: #310 ? |
Looks like mypy wouldn't have caught this at present, at least not without a plugin. See python/mypy#2499. |
Fixing this warning, which might be the cause of #411