You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @tirkarthi
Is this on python 3.8?
This is a section of code straight from Flask-CORS, untouched from when I ported it to sanic. I might be able to make some changes to get rid of the warning.
I tested it on 3.8 but 3.7 also emits warnings. I didn't know it was vendored from flask-cors. I have a PR open for this upstream corydolphin/flask-cors#260 . Feel free to close this if you are planning to vendor it once upstream is fixed. Thanks.
Deprecation warning due to invalid escape sequences. Using raw strings or escaping them again helps in resolving this. Check https://github.com/asottile/pyupgrade/ for automatic fix of this.
The text was updated successfully, but these errors were encountered: