-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
SyntaxWarning: invalid escape sequence '\W' #38562
Comments
Thank you for your feedback. Tagging and routing to the team member best able to assist. |
Thanks for the feedback. This model is private. The public one has 'r' added. |
Hi @Goldziher. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation. |
Good to know this isnt a dangerous bug. Its still pretty annoying though - I am also getting warning when just running CLI commands, example: ➜ temp git:(main) az login
/opt/homebrew/Cellar/azure-cli/2.66.0/libexec/lib/python3.12/site-packages/azure/batch/models/_models_py3.py:4839: SyntaxWarning: invalid escape sequence '\s'
"""A Job Preparation Task to run before any Tasks of the Job on any given
A web browser has been opened at https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize. Please continue the login in the web browser. If no web browser is available or if the web browser fails to open, use device code flow with `az login --use-device-code`. |
Hi @Goldziher, since you haven’t asked that we |
This model being private doesn't mean the file isn't imported. Running this on Python 3.12+ leads to loads of warnings like this. (Synapse is the worse offender with 311 warnings!) |
I'm getting this as well, but I'm assuming I'm behind a version, as the offending line does have a r in the main branch: Line 6857 in 27e54c9
|
Describe the bug
The following is thrown when loading the library with Python 3.12:
To Reproduce
Load ai search in python 3.12. This issue is also reported by mypy.
The text was updated successfully, but these errors were encountered: